jsonecho

Base64 Decode

Decode Base64 back into text. Standard and URL-safe variants both work.

Loading the tool...

How to use Base64 Decode

  1. Paste the Base64 string.
  2. Read the decoded text.

About Base64 Decode

Paste a Base64 string and read what is inside. The decoder is forgiving: it accepts the URL-safe alphabet, strings with the padding left off, line breaks in the middle and the data:...;base64, prefix from data URIs.

The bytes are read as UTF-8 text. If what is inside is not text, for example an image or a zip file, the result will look like garbage, because Base64 alone does not say what the data is.

Frequently asked questions

Why does the output look like garbage?

The data is probably binary, an image or a compressed file, and not text. Base64 only carries bytes, it does not tell you what they mean.

What does "not valid Base64" mean?

The string contains characters outside the Base64 alphabet. Check for stray quotes or spaces that were copied along with it.

Can I decode a JWT here?

A JWT has three Base64URL parts separated by dots. Paste the middle part to read the payload. We do not verify signatures here.

Why is the padding missing in my string?

Many systems drop the trailing = signs. The decoder adds them back for you.

More in URL and Base64

All tools →