JSON Schema Validator
Validate JSON data against a JSON Schema and see exactly which fields violate it. Everything runs locally in your browser.
Your schema and data are validated in this browser and are never sent to Docspira. Learn more.
About JSON Schema validation
JSON Schema validation checks that JSON data has the shape a schema describes โ required fields, types, string/number/array/object rules, composition (allOf/anyOf/oneOf/not), conditionals (if/then/else), and more โ not just that the data is syntactically valid JSON (that's what the JSON Formatter checks). This tool supports Draft 7, Draft 2019-09, and Draft 2020-12; it reads your schema's "$schema" field to pick the right one, and defaults to Draft 7 when that field is missing. Format keywords (email, date, date-time, uri, hostname, ipv4, ipv6, uuid, and more) are checked using ajv-formats. Local, self-contained references (like #/$defs/User) work normally; a schema that references a remote http(s):// URL is rejected with a clear message instead of being fetched โ this tool never makes a network request. Nothing you paste is uploaded, logged, or stored.