jsonecho

Base64 to JSON

Decode a Base64 string and get readable, formatted JSON back.

Loading the tool...

How to use Base64 to JSON

  1. Paste the Base64 string.
  2. Read the formatted JSON on the right.
  3. Open the Tree view to explore it.

About Base64 to JSON

Paste the Base64 string and the JSON inside is decoded and, where possible, formatted for reading. JSON travels in Base64 when it has to fit into a header, a cookie, a URL or a field that does not accept quotes and braces. JWT tokens are the best-known example: the header and the payload are JSON documents encoded as URL-safe Base64.

The decoder accepts the URL-safe alphabet and strings without padding, so strings from tokens and secrets work too. If the decoded text is not valid JSON, you still get the raw text, so you can see what is in there.

Frequently asked questions

What if the decoded text is not JSON?

You get the plain decoded text without formatting. That tells you what the string really contains.

Can I decode a Kubernetes secret value?

Yes, any Base64 value works, paste just the value.

Why is there an error saying the Base64 is not valid?

It has characters outside the Base64 alphabet, usually a stray quote, a comma or whitespace from copying.

More in URL and Base64

All tools →