JSON Schema Validator
Check data against a schema and see exactly which rule each value broke.
Findings
About this tool
Validate a JSON document against a JSON Schema, in your browser. Every failure names the instance path (/users/1/name), the keyword that failed (type, required, minimum), and a plain-English sentence about what was expected.
The validator covers the keywords real-world schemas actually use: type, required, properties, items, enum, const, bounds (min/max for lengths, values, items), pattern, additionalProperties, and the combinators allOf / anyOf / oneOf / not. Format assertions (email, date-time) are not evaluated — they are optional in the specification, and the page says so rather than pretending.
Both panes are live: paste a document and a schema and the verdict appears as you edit either side.
How to use it
- Paste the schema in the top pane — generate one from a sample with the schema generator if you do not have one.
- Paste the document in the bottom pane.
- Read the verdict. A valid document says so; every failure lists where, which rule, and what was expected.
Worked example
Against the sample schema, a document with a one-character name and a negative age fails twice: the name is shorter than minLength 2, and the age is below the minimum 0 — each finding with its path, keyword and expected value.
A failure, fully named
Frequently asked questions
Which drafts does it support?
Does it check formats like email or uuid?
What is an instance path?
/users/1/name is the name of the second user. It is the fastest way to jump from a failure to the exact value that caused it.