Skip to main content
>_devtools

JSON Schema Validator

Validate JSON against a JSON Schema (draft-07, 2019-09, 2020-12) and see each error with its instance path and line number.

What this does

Paste a JSON Schema and a JSON document to check whether the document matches the schema. Validation errors include the instance path and, when available, the source line and column.

Example

Schema: {"type":"object","required":["id"]}
JSON: {"id":7}
Result:
Valid

Limits and behavior

  • Draft-07, 2019-09, and 2020-12 are supported.
  • Local references resolve within the schema; remote references are never fetched. Schema input is limited to 1 MiB and data to 5 MiB.