Base64 Decoder

Convert Base64 encoded string back to text

Cad é Base64?

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It converts binary data into a set of 64 printable characters (A-Z, a-z, 0-9, +, and /), with = used for padding.

How Does Base64 Work?

Base64 encoding works by taking groups of three bytes (24 bits) of binary data and splitting them into four groups of six bits each. Each 6-bit group is then mapped to one of 64 printable ASCII characters.

Common Uses of Base64

  • Embedding images in HTML/CSS using data URIs
  • Sending email attachments via MIME encoding
  • Encoding binary data in JSON and XML payloads
  • HTTP Basic Authentication credentials
  • Storing binary data in text-based databases
  • Data transfer between different systems and platforms