Private JSON tool
JSON Formatter
Format, minify, and validate JSON locally in your browser. Invalid input shows a readable parse error on the page.
About browser JSON formatting
This tool parses JSON text in the browser and writes it back with your selected indentation. It does not upload the input or output.
Use it to check whether JSON is valid, pretty-print compact JSON, or minify formatted JSON before storing it somewhere else.
Does this upload my files?
No. Everything on this page runs locally in your browser, so your files are never uploaded to a server. Close the tab and nothing is left behind. It even keeps working if you go offline after the page loads.
This is true for every tool on this site. Curious how that works? Read how browser-side processing works.
FAQ
Is my JSON uploaded?
No. Formatting and validation happen in your browser. The text is not uploaded.
Does this page validate JSON?
Yes. The formatter parses the text first and shows an error if the input is invalid JSON.
Can it minify JSON?
Yes. Choose Minified before running the formatter.
Does it change key order?
No. JSON.stringify keeps the parsed object key order from the input.