JSON formatter
Format, validate and minify JSON data.
Paste JSON to pretty-print it with proper indentation, or minify it for production. Errors are pinpointed with a clear message.
Frequently asked questions
Is it safe to paste API responses with sensitive data?
Yes — formatting happens locally in your browser. Nothing you paste is transmitted anywhere.
What does “invalid JSON” mean?
The text breaks JSON syntax rules — commonly a trailing comma, single quotes instead of double, or an unquoted key. The error message shows where.