JSON Schema Validator Online — Draft-07 & 2020-12
Validate JSON data against a JSON Schema in your browser. Schema vs instance — not a JSON syntax checker. External $ref are never fetched.
Developer notes
• Uses ajv (+ ajv-formats) via dynamic import — Draft-07 and 2020-12 only. • Missing $schema defaults to 2020-12; Draft-04/06/2019-09 are rejected (not coerced). • Optional Strict mode enables Ajv strict: true (unknown keywords fail at compile). • Dual editors: schema + instance; live debounce ~300 ms. • External $ref → hard error (never fetched). • This is schema validation — not JSON syntax-only (see JSON Validator). • Max 512 KiB per field.
Options
Use cases
• Check API payloads against a JSON Schema before shipping. • Debug instancePath / keyword errors locally. • Pair with OpenAPI converters when schemas live in components.schemas.
Examples
Valid instance
Schema
Instance
Invalid instance
Schema
Instance
JSON Schema Validator FAQ
Common questions
Is this the same as JSON Validator?
No. JSON Validator checks <strong>syntax</strong> only. This tool checks whether data conforms to a <strong>JSON Schema</strong> (Draft-07 or 2020-12).
Which drafts are supported?
Draft-07 and 2020-12. If $schema is missing, 2020-12 is used. Draft-04, Draft-06, and 2019-09 return a clear unsupported-draft error.
Are remote $ref resolved?
No. External and http(s) $ref are hard errors — nothing is fetched from the network.
Related tools?
Convert schemas with JSON Schema to OpenAPI / OpenAPI to JSON Schema, or check JSON syntax with JSON Validator.
More API & schema tools in this cluster
Looking for converters, encoders, formatters, and minifiers in one place? Developer tools hub Open the curated developer tools catalogue.