Free JSON Formatter & Validator
Paste JSON to pretty-print, minify, or validate it · with the exact line and position of any syntax error.
Frequently asked
Is it safe to paste API responses with real data?
Yes · parsing and formatting run entirely in your browser. Nothing is transmitted or stored. Even so, avoid pasting secrets anywhere out of habit · and scan your app if you're not sure what your API exposes.
Why does my JSON fail with a trailing comma?
Strict JSON forbids trailing commas, single quotes, comments, and unquoted keys · all legal in JavaScript objects but not in JSON. The validator pinpoints the offending character so you can fix it fast.
Run a full security scan →