Format, validate, and minify JSON instantly.
Paste minified or malformed JSON and get it indented and validated, with the position of the first syntax error if it will not parse. Mostly used on an API response copied out of a network tab, where everything is on one line.
Parsing happens in your browser, so payloads containing tokens or customer records never leave your machine — which is the usual reason not to paste a real response into a search result.
In order of frequency: a trailing comma after the last item, single quotes instead of double, unquoted keys, or an unescaped newline inside a string. JSON is stricter than JavaScript object syntax, so valid JS is often invalid JSON.
Formatting adds indentation and line breaks so a human can read it. Minifying strips every optional space to make the payload smaller in transit. They are the same data — use formatted while debugging, minified over the wire.
No. The spec has no comment syntax, which is why config formats that need comments use JSON5, JSONC, or YAML instead. A // in a .json file will fail to parse.
createademo turns screenshots and recordings into demos your buyers click through themselves. Free plan, full editor, no credit card.