JSON Schema validator

Check JSON data against a JSON Schema (draft-07 to 2020-12).

Runs on your device

This tool runs in your browser. Your files and text are not uploaded.

Accepts: Paste text or open a file. Limits: Up to 25.0 MB.

Loading tool…

How to use JSON Schema validator

  1. Paste your schema and your data.
  2. Select Validate against schema.
  3. Fix the listed errors.

Questions

How is this different from the JSON validator?

The JSON validator only checks syntax. Schema validation checks that well-formed JSON has the right structure, types and values.

Are remote $ref schemas fetched?

No. Network fetching is disabled. Put referenced definitions in the same schema.

Related tools

More in Developer tools · All tools · Tool ID developers/json-schema-validator