How to use it
- Paste your JSON into the box.
- Use "Format" to indent it for reading, "Minify" to strip the white space onto one line, or "Validate only" to check it.
- If there is an error, the tool shows its line and column and moves the cursor there.
Frequently asked questions
What are the most common JSON errors?
A comma after the last item, single quotes, keys without quotes, comments and brackets that are not closed. The tool recognises each of these and explains it.
Will long numbers be changed?
No. Many tools turn JSON into JavaScript numbers and round anything longer than about 16 digits. This tool keeps numbers exactly as written; formatting only changes white space and, if you ask, the order of keys.
Is my data sent to a server?
No. Validation and formatting happen entirely in your browser, so JSON with API keys or personal data stays on your device. Still, remember to remove secrets from any sample you share.