JSON Schema Validator

Validate JSON data against Draft-07 or Draft 2020-12 schemas locally.

About

Validate JSON with Ajv in the browser and inspect every failing data path and schema rule.

Key Features

  • Draft-07 and 2020-12
  • Standard format validation
  • All errors in one result
  • No server upload

How to use

  1. 1Select the schema draft.
  2. 2Paste the schema and JSON data.
  3. 3Validate and inspect each reported path.

Example

Input

Schema: {"type":"string","minLength":3}
Data: "AI"

Output

/ — minLength — must NOT have fewer than 3 characters

Limitations

  • Each input is limited to 2,000,000 characters.
  • Only local # references are supported; external $ref URLs and files are rejected.
  • Draft-specific keywords must match the selected draft.

Last reviewed:

Related Tools