Base64 to JSON
Decode Base64 back to a JSON document in your browser. URL-safe characters are accepted and invalid UTF-8 is reported.
What decoding Base64 as JSON does
Whitespace is ignored, padding is optional, and the URL-safe characters - and _ are accepted in place of + and /, so a value copied out of a JWT or a query string decodes without editing. The bytes are then read as strict UTF-8: a sequence that is not valid UTF-8 is reported rather than replaced with question marks, because a JSON document with silently corrupted text is worse than an error. The result is printed as text; validation of the JSON itself is a separate step.
How to use it
Base64 to JSON: paste the Base64 into the box above, and press Run to get the JSON below.
Worked example
Input:
eyJ1c2VyIjoiYWRhIiwibm90ZSI6ImNhZsOpIn0=
Output:
{"user":"ada","note":"café"}
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads Base64 and returns JSON; reloading the page discards both.
Whitespace is ignored, padding is optional, and the URL-safe characters - and _ are accepted in place of + and /, so a value copied out of a JWT or a query string decodes without editing. The bytes are then read as strict UTF-8: a sequence that is not valid UTF-8 is reported rather than replaced with question marks, because a JSON document with silently corrupted text is worse than an error. The result is printed as text; validation of the JSON itself is a separate step.
Decode Base64 back to a JSON document in your browser. URL-safe characters are accepted and invalid UTF-8 is reported.
How to use it
Base64 to JSON: paste the Base64 into the box above, and press Run to get the JSON below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads Base64 and returns JSON; reloading the page discards both.
What to Expect
Best for
- Converting Base64 to JSON when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
eyJ1c2VyIjoiYWRhIiwibm90ZSI6ImNhZsOpIn0=
Sample output
{"user":"ada","note":"café"}
Frequently asked questions
How do I use the base64 to json?
Base64 to JSON: paste the Base64 into the box above, and press Run to get the JSON below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.