JSON Formatter
Beautify and indent messy or minified JSON.
What it does
The JSON Formatter takes minified, single-line, or inconsistently indented JSON and reformats it with consistent indentation so it's easy to read and debug. It also validates the JSON as it formats, so syntax errors are caught immediately.
Common errors
Trailing commas
JSON (unlike JavaScript) does not allow a trailing comma after the last item in an object or array.
Single quotes
JSON requires double quotes around strings and keys — single quotes will fail to parse.
Unquoted keys
Object keys must be wrapped in double quotes, e.g. "key": "value", not key: "value".
Examples
Minified input
{"name":"Ada","active":true,"roles":["admin","user"]}Result
{
"name": "Ada",
"active": true,
"roles": [
"admin",
"user"
]
}FAQ
No. All formatting happens locally in your browser using JavaScript's built-in JSON parser — your data never leaves your device.