JSON Formatter
PopularBeautify, minify & validate JSON
Examples
Beautify minified JSON
Input
{"name":"Ada","langs":["ts","go"],"active":true}Output
{
"name": "Ada",
"langs": ["ts", "go"],
"active": true
}Minify for transport
Input
{
"id": 42,
"ok": true
}Output
{"id":42,"ok":true}Frequently asked questions
Is my JSON uploaded to a server?
No. Formatting, minifying and validation all run locally in your browser — your data never leaves your machine.
What does the validator check?
It parses your input with the same engine the browser uses for JSON.parse, so any syntax error (trailing commas, unquoted keys, bad escapes) is reported with a message.
Can I control the indentation?
Beautify uses a standard 2-space indent. Use Minify to strip all whitespace for the smallest possible payload.