Format and validate JSON.
Format, minify and validate JSON instantly with precise error positions. Runs entirely in your browser.
Processed on your device · nothing is uploaded
How it works
- 1Paste your JSON.
- 2See instant validation with line and column on errors.
- 3Format, minify or sort keys, then copy.
Questions
Is my JSON sent anywhere?+
No. Parsing and formatting happen locally, so it is safe for tokens and private payloads.
Why does it say invalid?+
The message points to the line and column of the first problem, often a trailing comma or a single-quoted string.
Does sort keys change my data?+
It only reorders object keys alphabetically. Array order and values are untouched.