JSON validator
Validate JSON in your browser without rewriting it. Same rules as JSON.parse. Nothing is uploaded.
Paste JSON, then Validate.
How to use the JSON validator
- Paste the payload or open a file.
- Click Validate. A pass leaves the text as you pasted it.
- If it fails, the error is the first parse problem. Repair JS-style syntax on the JSON fixer, then validate again.
Validate without rewrite
A formatter that pretty-prints on success can hide whether the original paste was already legal. This page only runs JSON.parse. Valid paste stays untouched so you can confirm a webhook body or config file as-is.
Nothing is uploaded
Parsing stays in the tab. 1.5 MB cap, same as the formatter.
JSON validator FAQ
Is this the same as JSON.parse?
Yes. If this page accepts it, a browser or Node JSON.parse will too.
Will it fix errors?
No. It only reports them. Use the JSON fixer for trailing commas and comments.
Does success pretty-print?
No. Success means the original text parsed.