JSON Formatter and Validator
Validate JSON in your browser, see parse errors with a location, and download pretty or compact output.
Processed in your browser; no file upload.
JSON Formatter and Validator
Paste JSON or load a UTF-8 file, then choose two-space formatting or compact output. A syntax error includes the line and column when the browser reports a position.
Limits and privacy
Input is capped at 2 MiB. This checks JSON syntax; it does not check a JSON Schema. Your data stays in the browser.
Does formatting change my data?
No. Both modes parse the document and serialize the same JSON values. Whitespace and original number spelling may change.