JSON Validator
Check whether JSON is valid and see the first error.
Your data never leaves your browser
This tool runs entirely on your computer. What you paste or drop is never uploaded, never stored and never seen by us — close the tab and it's gone. How we know
Sign up to run — no credit card required.
Press Run to see the output. Sign up takes ten seconds — no credit card required.
Worked example
{"a":1}✓ Valid JSONThis example is one of JSON Validator's test cases — if the tool stopped producing this output, the build would fail.
Questions
- Does it check against a schema?
- No — this checks that the JSON parses at all, and shows the first error. For structure, generate a schema with the JSON Schema Generator.
- Does it ever throw?
- Never. It's a validator: invalid input is the expected case, so it reports rather than crashes.