Format and validate JSON
Indent or sort JSON and find the exact line of a syntax error; minify it in one click.
Indent or sort JSON and find the exact line of a syntax error; minify it in one click.
Runs entirely in your browser: nothing you type is sent or stored.
{"a": 1,}.{'a': 1}.{a: 1} is valid JavaScript, not JSON.// nor /* */.undefined, NaN, or a number with a leading zero such as 007.