01 / Read it clearly
Expand a dense response into consistent indentation. Optionally sort object keys recursively; array order stays intact.
Format, validate, and minify JSON. Find the error, then get back to building.
Expand a dense response into consistent indentation. Optionally sort object keys recursively; array order stays intact.
Validate strict JSON and locate syntax errors when your browser provides a position. No silent repairs.
The tool processes input in this browser tab. It does not save your JSON or send it to a server.
This compact object:
{"name":"Ada","roles":["developer","reviewer"],"active":true}Becomes easier to scan with indentation:
{
"name": "Ada",
"roles": [
"developer",
"reviewer"
],
"active": true
}This tool uses JavaScript’s JSON parser. Integers outside ±9,007,199,254,740,991 may lose precision, duplicate object keys keep only the last value, and number notation may change. Warnings appear for unsafe integers and duplicate keys. Keep the original file when exact numeric text matters. Files and pasted input are limited to 2 MB.
JSON requires double-quoted property names and strings. Comments, trailing commas, single quotes, undefined, and functions are not valid JSON. Read the error guide for examples.
No. Minifying removes optional whitespace outside strings. It does not shorten property names or compress the file like gzip. See formatting versus minifying.
No. Object properties are sorted recursively, but array element order is preserved. JavaScript enumerates integer-like property names numerically, even when sorting is selected.
No. Input is kept only in the current page memory. Download important results before closing or refreshing the tab.