JSON Formatter & Validator

Format, minify and validate JSON in your browser. Clear error messages with line and column numbers.

Output

Formatted JSON appears here.

About this tool

Paste any JSON to pretty-print it with your preferred indentation, or minify it to a single line to save bytes. Validation happens as part of formatting: if the input is not valid JSON, you get the exact position of the problem, with line and column numbers.

Everything runs locally in your browser — your data never leaves your device.