Base64 Decode

Decode Base64 encoded strings back to original text or binary data.

Decode Base64 back to readable text. Paste the Base64 string and the decoded text appears as UTF-8, so accented letters and emoji come out correctly. Both standard and URL-safe Base64 are accepted. If the result is binary data rather than text, such as an image or a file, it's shown as hex instead, with a pointer to the Base64 to Image tool. Decoding runs in your browser.

Need the reverse? Base64 Encode

Common use cases

  • Read Base64 text from an API response, email or config file
  • Decode the parts of a JWT or a data URL
  • Check what a Basic authentication header contains
  • Find out whether Base64 data is text or a file

How to use

  1. Paste the Base64 string.
  2. Read the decoded text, or the hex view if it's binary.
  3. Copy the result.

FAQ

Why does the output look like hex?

The decoded data isn't text: it's probably an image, a compressed file or other binary data. To see an image, use Base64 to Image.

Can it decode URL-safe Base64?

Yes. Strings with - and _ and without = padding decode the same as standard Base64.

Is it safe to paste tokens here?

Decoding happens in your browser and nothing is sent anywhere. Remember that Base64 isn't encryption: anyone with the string can read it.