Schema & Compare · Runs in your browser

JSON Schema Validator

Check that JSON data matches a JSON Schema. Every problem is listed with its path and a clear explanation.

Supports draft-04, -06, -07, 2019-09 and 2020-12 · validated with Ajv
JSON data
Drop a file to load it
Empty
JSON Schema
Drop a file to load it
Empty
Waiting for inputPaste JSON data and a JSON Schema to validate.

How to use it

  1. Paste your JSON data on the left and your JSON Schema on the right.
  2. Validation runs as you type.
  3. Each error shows the path to the failing value and what was expected.

Drafts

The draft is chosen from the schema’s $schema keyword — draft-04, 06, 07, 2019-09 and 2020-12 are supported. Without $schema, draft-07 is used.

Typos in the schema

Keywords the validator doesn’t know, such as “requred” or “minLenght”, are silently ignored by every validator. JSONPilot lists them as warnings so a typo can’t quietly switch a rule off.

Formats

Common formats are checked, including email, uri, date, date-time, uuid, ipv4 and ipv6.

Powered by Ajv

Validation uses Ajv, the most widely used JSON Schema validator for JavaScript, running entirely in your browser.