JSON Validator
Check whether JSON is valid and see the first error.
Runs in your browser — your data never leaves it
Paste, type, or drop a file. Runs as you type.
Output appears here as you type.
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.