JSON Formatter
Format, validate and minify JSON.
How to use JSON Formatter
- Add your content Type or paste into the box. Nothing is uploaded — this runs in your browser.
- Set the options Adjust the settings to suit what you need.
- See the result The result updates instantly as you change things.
- Copy or download Copy the result to your clipboard, or download it as a file.
This tool runs entirely in your browser. Nothing you enter is uploaded, stored or seen by us.
Paste JSON to pretty-print it, minify it, or find out exactly where it is broken — errors name the line and character, not just "unexpected token".
Frequently asked questions
Is my JSON sent to a server?
No. Everything runs in your browser, which matters when the JSON holds API responses or configuration.