How to use
- Paste your JSON into the input box.
- Click “Format” for readable JSON or “Minify” for a compact version.
- If there's an error, the tool points to its location. Copy or download the result.
What does a JSON formatter do?
JSON from APIs or log files often arrives as a single endless line. The formatter indents the structure so you can see objects and arrays at a glance.
It also checks whether the JSON is valid. Common mistakes are missing commas, trailing commas or single instead of double quotes.
Frequently asked questions
Is my data sent to a server?
No. Your JSON is processed only in your browser – ideal for sensitive API responses too.
How large can the JSON be?
Several megabytes are no problem. The only limit is your device's memory.
What does “Sort keys” do?
All object keys are sorted alphabetically, which makes it easier to compare two JSON documents.