Home › Text Tools › JSON Formatter & Validator

JSON Formatter & Validator

Paste JSON to pretty-print it, minify it, or check it for errors.

Result appears here.
Everything runs in your browser. Nothing you paste is sent or stored. Very large inputs can make the page slow.

How it works

Format and Minify use the browser's built-in JSON parser, so the output is exactly what a standards-compliant parser reads. An error message gives the line and column where parsing stopped. The error can be a little after the real mistake, for example a missing comma is reported at the next value.