JSON formatter and validator
Format, minify, and check JSON in your browser. Pasted data stays on the page and is not sent to Calculation Hub.
Paste a JSON object, array, string, number, boolean, or null.
Your JSON stays in this tab. It is not saved to the URL, browser storage, or a Calculation Hub server.
Output
Formatted or minified JSON appears here when the input is valid.
The JSON formatter uses your browser's built-in parser. Your input stays in this tab while the page is open. Reload or close the tab, and it is gone.
Analytics events, when you have allowed analytics cookies, use coarse size buckets and action names. They do not include the JSON text, output text, property names, URLs from your JSON, or error excerpts.
Do not paste production secrets into any web page unless you are allowed to handle them there. This tool avoids uploads, but your browser, extensions, and device policies still matter.
Good for
Check an API response before sharing a bug report.
Minify JSON for a config file or a small test fixture.
Find the line and column behind a parse error.
Not for
It will not repair broken JSON by guessing your intent.
It will not accept comments or trailing commas.
It will not create a share link with your JSON.
Additional Resources
Frequently Asked Questions
Does the JSON formatter upload my data?
No. Formatting, minifying, and validation run in your browser. The tool does not send pasted JSON to Calculation Hub.
Can it fix invalid JSON automatically?
No. The tool reports the parse error so you can fix the source. It does not guess missing quotes, commas, or braces.
What indentation does the formatter use?
Formatted output uses two spaces. Minified output removes unnecessary whitespace while keeping the same parsed JSON value.
Will the page save my JSON in the URL?
No. The input is not written to query parameters, local storage, or a share link.
What happens with large JSON files?
Large JSON is still parsed in your browser. The tab may pause while it formats very large input, so copy important work before testing huge files.