Decode from Base64 format

For encoded binaries (like images, documents, etc.) use the file upload form a little further down on this page.

Decode files from Base64 format

Working...
Please wait until the decoding process is complete.
Success!

Decoded image preview

About Base64 decoding

Base64 is a binary-to-text encoding scheme that represents arbitrary binary data using 64 printable ASCII characters (A-Z, a-z, 0-9, +, and /), with = used as padding at the end. It exists so that binary content, such as images, documents, and encryption keys, can travel safely through systems designed for text, including email (MIME), JSON payloads, XML documents, and data URLs embedded in HTML or CSS.

Decoding reverses that process: it takes Base64 text and reconstructs the original bytes. If those bytes represent readable text such as UTF-8, the original string appears in the output box above. If they represent an image, PDF, or other binary format, use the file form below to rebuild a downloadable file instead of unreadable text.

Where you'll run into Base64

  • Email attachments - MIME-encoded files inside email messages.
  • Data URLs - images or fonts embedded directly in HTML or CSS as data:image/png;base64,....
  • APIs and tokens - authentication tokens and API payloads that must stay plain-text safe.
  • Config and log files - binary blobs such as keys or certificates stored in text-only formats.

Base64 decoder FAQ

What is Base64?

Base64 is a text representation for binary data, commonly used in data URLs, email attachments, and application interfaces. It is encoding, not encryption.

Why does decoding fail or look unreadable?

Check that the input is complete, uses the standard or URL-safe alphabet consistently, and has the correct character set selected. Binary output is not intended to be read as plain text.

Is Base64 the same as encryption?

No. Base64 only changes how data is represented, not its content. Anyone can decode it back to the original bytes with a tool like this one, so it should never be used to protect sensitive information.

What does the "=" at the end of a Base64 string mean?

Base64 groups input into 3-byte chunks encoded as 4 characters each. When the input length isn't a multiple of 3, one or two trailing "=" characters pad the final group so decoders know exactly where the real data ends.

Can I decode Base64 into a downloadable file or image?

Yes. Paste the Base64 data into the file decoding form below and press Decode; the result can be downloaded directly, and images are previewed automatically.

Does this tool upload my data to a server?

Decoding runs locally in your browser using JavaScript. Your input is not intentionally sent to or stored by our servers as part of the conversion. See our Privacy Policy for details.