How to use
- Paste your JSON text in the top box.
- Choose the indentation and turn on key sorting if you like.
- Press “Format”, “Minify” or “Validate only”, then copy or download the output.
Common JSON mistakes
The most frequent mistakes are a trailing comma after the last item, single quotes instead of double quotes, keys without quotes, and comments inside the file. The tool shows the error message with the line and column so you can find the problem fast.
Formatting and minifying
Formatting makes reading and reviewing easier during development. Minifying removes extra spaces and line breaks and shrinks the size, which suits sending data over a network or storing it.
Frequently asked questions
Is my data sent to a server?
No. The browser processes the text locally, so you can paste sensitive data safely.
What does key sorting do?
It sorts the keys of every object alphabetically, which makes it easier to compare two files.
Does it support large files?
It works with fairly large files, but the practical limit depends on your device's memory.