JSON Schema Validator
Validate JSON documents against JSON Schema rules with detailed error paths.
What JSON Schema validation checks
JSON syntax validation only proves that text can be parsed. JSON Schema validation applies a contract to the parsed value. It can require properties, constrain value types and ranges, reject unexpected fields, and validate nested arrays or objects. The result includes the instance path, schema path, keyword, and message for every detected rule failure.
How to use the validator
- Paste the JSON value you want to test into the document editor.
- Paste a Draft 7-compatible JSON Schema into the schema editor.
- Select Validate to compile the schema and report all matching errors.
- Use instance paths to locate bad document values and schema paths to locate the rule that rejected them.
Limits and privacy
A valid result means the current document satisfies every rule recognized from the supplied schema; it does not prove the schema expresses every business rule. Unknown extension keywords are ignored with a visible warning. External schemas are not fetched automatically, and schemas targeting unsupported drafts or remote references can require application-specific configuration. Both document and schema are parsed with JavaScript numbers, so integers outside the safe integer range can lose precision.
Related developer tools
Continue with JSON Pointer Evaluator, JSONPath Tester, JSON Formatter.
How to Use JSON Schema Validator
- Enter or paste your input in the text area above
- The tool will process your input automatically or click the action button
- Copy the result using the copy button
Frequently Asked Questions
How is this different from the JSON Validator?
- JSON Validator checks whether text is valid JSON syntax. JSON Schema Validator also checks the parsed value against rules such as required properties, types, ranges, and nested structures.
Which JSON Schema version does this tool support?
- The tool uses Ajv v8 with its default Draft 7-compatible validator. Unknown extension keywords are ignored with a visible warning, while schemas requiring another meta-schema may need draft-specific configuration.
Is my JSON uploaded?
- No. Parsing, schema compilation, and validation run in your browser. Avoid sensitive data on shared devices because clipboard history and browser extensions can still expose it.
Sources & references
Primary references: JSON Schema Draft 7: Validation; Ajv Formats: JSON Schema format validation for Ajv v8; RFC 8259: The JavaScript Object Notation (JSON) Data Interchange Format.
Last reviewed: