JSON formatter and validator
Format, minify and validate JSON right in your browser.
This tool is temporarily unavailable.
Paste JSON to format it.
How it works
- 1
Paste JSON
Paste an API response, a config file or any JSON document.
- 2
Check and format
Errors are shown with line and column. Valid JSON is formatted instantly.
- 3
Copy or download
Choose the indentation, sort keys if you need to, or minify to save space.
Questions and answers
Is my JSON uploaded?
No. Parsing and formatting run in your browser, so tokens and private data stay on your device.
Are large numbers safe?
Numbers beyond 15–16 significant digits lose precision because the browser parses them as floating point. Keep such values as strings.
Does it accept comments or trailing commas?
No. It validates strict JSON as defined by the standard, so comments, single quotes and trailing commas are reported as errors.
How large can the input be?
Up to 5 MB. Larger files may make the page slow.