Home › Developer tools › JSON Formatter
JSON Formatter
Paste JSON to pretty-print it, check that it is valid, or minify it to one line.
Runs entirely in your browser. Nothing is uploaded.
How to use JSON Formatter
- Paste your JSON into the input box.
- Click Format to beautify, or Minify to compress it to one line.
- If the JSON is invalid, the error shows the line and column to fix.
Frequently asked questions
Is my JSON sent to a server?
No. Parsing and formatting happen in your browser, so API keys and private data stay with you.
What does minify do?
It removes all spaces and line breaks so the JSON is as small as possible.