JSON Schema Validator
JSON Schema Validator checks a JSON document against a JSON Schema (drafts 4, 6, 7, 2019-09 and 2020-12) and lists every violation by path, with the keyword that failed. It runs in your browser, so neither the schema nor the data is uploaded.
How to use JSON Schema Validator
- Paste your JSON Schema on the left. The version is read from its $schema keyword.
- Paste the JSON document to check on the right.
- Read every problem by path, or copy the report.
Frequently asked questions
Which JSON Schema versions are supported?
Drafts 4, 6 and 7, plus 2019-09 and 2020-12. The version comes from the schema's $schema keyword, and you can also pick one yourself from the menu.
Can the schema use $ref to another file?
No, schemas cannot be fetched from the internet because nothing here downloads anything. Put both schemas in the same document instead: define one under "$defs" and reference it as "#/$defs/name".
Is my data uploaded anywhere?
No. Both the schema and the document stay in this browser tab: the check happens locally.
Next step
No schema yet? Generate one from a sample of your data. Open JSON Schema Generator.
Related tools
- 055