JSON Formatter
Make JSON readable, minify it and validate it. See the line and column of an error; the data stays in your browser.
This tool runs in your browser: your files and text never leave your device and are not uploaded anywhere.
How to use
- Paste the JSON text.
- Choose format or minify, and the indent width.
- Copy the result; if there is an error, its position is shown.
Frequently asked
How do I find the error?
For invalid JSON, the line and column of the error are shown together with the browser’s error message.
What is sorting keys good for?
It makes two JSON documents easier to compare: keys are put in alphabetical order and values are unchanged.