How do I format JSON or decode Base64 or a JWT safely?
Pick a tab: JSON, Base64, JWT, URL, Regex or Diff. Paste your input, press the main button and copy the result. The tools run only in your browser, with no server, no save or share feature and no logging, so tokens and customer data stay on your machine.
Decoding only shows what is inside. It does not check the signature, so never trust a token just because it decodes.
How it works
- Pick a tab: JSON, Base64, JWT, URL, Regex or Diff.
- Paste your input.
- Press the main button of the tab.
- Copy the result.
Each tool uses only built-in browser features: JSON.parse for checking JSON, TextEncoder for UTF-8-safe Base64, the browser's RegExp engine for regular expressions and a longest-common-subsequence comparison for the diff. The page loads no third-party scripts and is served with a strict Content Security Policy that blocks connections to other sites.
Nothing leaves your browser. These tools have no server part and no share links, so there is nowhere your data could be stored. Still, treat real production secrets with care and rotate a token if you pasted it somewhere you shouldn't have.
Last checked:
Questions
Why not use any online JSON formatter?
Some online formatters offer save or share links, which store what you paste on a server. This page has no such feature and no server code at all, so pasted data can't be stored by us.
Does the JWT decoder verify the signature?
No. It only shows the header and payload. Verifying needs the secret or public key and should happen on your server.
Which regex syntax is used?
JavaScript regular expressions, as in your browser. Flags: g, i, m, s, u, y and d.
Is there a size limit?
Inputs up to a few megabytes work. The diff compares up to about 5,000 lines on each side.