developer
JSON Formatter

Validate, pretty-print or minify JSON — numbers and strings stay byte-for-byte intact, with located errors and duplicate-key warnings.
JSON input
0 B of 2.0 MB used. e.g. {"key": "value"} — strict JSON only; no comments, trailing commas, YAML or repair.
Result
Paste or type JSON on the left, choose an output style and press Format JSON. Valid input produces indented or minified output here, with copy and download. Invalid input is located with a line and column.
Paste JSON, choose an output style, then press Format JSON.

