JSON to Base64
Encode JSON as Base64 or base64url for headers, tokens, environment variables, and data URIs.
Decode Base64 into validated, readable JSON instantly. Free, private, and 100% in your browser.
JSON is often transported as Base64: in JWT tokens, Kubernetes Secrets, webhook payloads, message queues, and API fields. This decoder turns that Base64 back into JSON, validates it, and formats it so you can read it right away.
Base64 is decoded and the JSON is validated and pretty-printed in one step.
Accepts standard Base64 and base64url, line breaks, missing = padding, and data:...;base64, prefixes.
Invalid Base64 characters are reported with their line and column, and invalid JSON with its exact location.
Decoded bytes are read as UTF-8, so accented letters and emoji come back correctly.
Choose As decoded to see the exact decoded text, even if it is not valid JSON.
Decoding runs entirely in your browser. Your data is never uploaded.
eyJ1c2VyIjoiYWRhIiwicm9sZXMiOlsiYWRtaW4iLCJlZGl0b3IiXSwiYWN0aXZlIjp0cnVlfQ=={
"user": "ada",
"roles": [
"admin",
"editor"
],
"active": true
}A JWT has three parts separated by dots. Paste the middle part (the payload) into the input. It is base64url-encoded JSON, which this tool decodes automatically. Note that decoding a JWT does not verify its signature.
You will see an error with the line and column of the problem in the decoded text. Switch the output to As decoded to see the raw text instead.
The Base64 data most likely contains a binary file, such as an image, PDF, or ZIP archive, rather than text. Those cannot be shown as JSON.
No. Whitespace and line breaks are ignored, and missing = padding is accepted, so you can paste Base64 exactly as you found it.
No. Decoding runs entirely in your browser. Your data never leaves your device.
Encode JSON as Base64 or base64url for headers, tokens, environment variables, and data URIs.
Convert JSON to well-formed XML with custom root and item names, attributes, and indentation.
Turn JSON arrays into CSV for Excel or Google Sheets, with nested object flattening and custom delimiters.
Convert JSON to clean, readable YAML for Kubernetes, Docker Compose, CI pipelines, and config files.