JSON Pretty Printer
Paste minified JSON and get it formatted with 4-space indentation. Validates as it goes.
Why pretty-print JSON?
Read more on Wikipedia
Because humans read indentation, machines don't care.
Formatting (a.k.a. pretty-printing) takes minified JSON and adds whitespace so it's readable. The tool also validates — if your JSON is broken, the output tells you exactly where.
Output uses 4-space indentation, doesn't escape forward slashes, and preserves Unicode characters as-is.
Frequently asked
Is my JSON sent to a server?
No. Formatting and validation happen entirely in your browser, so you can safely paste sensitive payloads.
Why does my JSON fail to parse?
The usual culprits are a trailing comma, single quotes instead of double, unquoted keys, or a missing bracket. The error points at the first place that breaks the spec.
Does formatting change my data?
No — it only adds whitespace and indentation. Key order and values are left untouched.