JSON Formatter / Validator
Pretty-print, minify, and validate JSON with error location.
Keys
–
Type
–
Size
–
Output
How it works
Input is parsed with the browser's native JSON.parse. On
success, Format pretty-prints with the chosen indent and
Minify strips all insignificant whitespace. On failure, the
parser's error position is mapped back to a line/column in your input so you
can jump straight to the problem. Everything runs locally in your browser.