JSON Schema Validator

Validate a JSON document against a JSON Schema with draft 2020-12 support (plus 2019-09 and draft-07) and format assertions. Every failure is listed with its path and message, not just the first one. A schema that does not compile is reported as a schema error, never as a data failure.

JSON Schema
JSON document
Ready. Press Validate.

How to use the JSON Schema Validator

  1. Paste your schema on the left and the document on the right.
  2. Press Validate.
  3. Work through the listed failing paths.

Example

Pair this schema with a document missing name to see a path level error.

{"type":"object","required":["name"],"properties":{"name":{"type":"string"}}}

Frequently asked questions

Which drafts are supported?

Draft 2020-12, 2019-09 and draft-07 (schemas without a $schema declaration are treated as 2020-12). Formats like email and date-time are asserted, not just annotated.

Is my document uploaded?

No. Validation runs in your browser; both inputs stay in the tab.