How to use it
- Paste your JSON.
- Choose Format, Minify or Only check.
- Copy the result.
Make JSON readable
Format JSON with indentation so you can read it, or minify it to make it small. It also checks whether the JSON is valid, which is useful when you work with APIs and configuration files.
Finding errors
If there is an error, you see where it is. Common causes are a missing comma, a trailing comma, single quotes instead of double quotes and keys without quotes. Fix the place shown and check again.
Privacy
The JSON is processed in your browser, so private data and keys are not sent to a server. Very large files may be slow to display.
Example: find the broken comma
An API answer comes as one very long line. Paste it and press Format. Each level is indented and you can read it. If a comma is missing, the tool points to the line and position of the error, so you fix it in seconds. When the file is going to production, press Minify to remove all spaces.
Quick tips
- Keys and strings must use double quotes. Single quotes are not valid JSON.
- No trailing comma is allowed after the last item.
- Large files are fine, because the check runs on your computer.
Common problems and fixes
- It says Unexpected token. Look at the position shown. Usually there is an extra comma, a missing quote or a comment, which JSON does not allow.
- My numbers changed. Very long numbers can lose precision in JavaScript. Keep them as text in the JSON if the exact digits matter.
Questions
How do I find an error?
If the JSON is not valid, the message says what is wrong and shows the line and column.
Can I sort the keys?
Yes. Tick Sort keys and every object is sorted from A to Z.
Is my JSON uploaded?
No. It is processed in your browser.