JSON Formatter & Validator
Pretty-print, minify and validate JSON.
About this tool
Format JSON with 2 or 4 spaces or tabs, minify it, sort keys and see the exact line and column of a syntax error.
How to use
- Type or paste your text into the input box – or drop a text file on it.
- Adjust the options. The result updates instantly.
- Copy or download the result, or send it to another tool with "Use in…".
Your text never leaves this device: the tool runs entirely in your browser and nothing is uploaded or stored.