JSON formatter and validator
Beautify, minify, validate and optionally sort JSON keys. Errors show a line and column.
- 5 MB of text
- Runs in the browser
This runs in your browser. What you type is not uploaded by this tool.
66 bytes
Parsed with the browser JSON parser. Inputs over 1 MB still run locally. Nothing is uploaded.
How to use it
Three steps
- 01
Paste JSON.
- 02
Choose an indent or minify, and whether to sort keys.
- 03
Format it. A syntax error points at a line and column.
Related tools
Questions
Is the JSON uploaded?
No. It is parsed in this browser.
Does sorting keys change arrays?
Object keys are sorted. Array order is left as it is.