Indent
Keys
Runs entirely in your browser, nothing is uploaded.
How it works
JSON Formatter and Validator: Errors With a Line and Column
Pretty-print, validate or minify JSON. A parse error names the line and column it stopped at, and keys can be sorted A–Z before the output is written.
What this does
- Format with two spaces, four spaces or a tab, or minify to the smallest valid JSON
- A parse error reports the exact line and column, not a raw character offset
- Optional A–Z key sort, with the root type, key count, max depth and encoded size reported
FAQ
Keep going