JSON Schema Validator
Validate JSON against Draft 2020-12 or Draft-07 schemas and inspect errors with JSON Pointers directly in your browser.
JSON Schema validation
Enter the JSON to validate and its JSON Schema in the two editors.
JSON to validate
Direct input
0 characters
JSON Schema
Direct input
0 characters
Validation results
Not validatedRun validation to display the results.
- Determine
- -
- error
- 0
- warning
- 0
- Schema specification
- -
- format
- -
- processing time
- -
Validation errors
No validation errors.
warning
About this tool
Validate API requests, configuration files, stored data, and other JSON against a JSON Schema entirely in your browser.
Features
- Draft 2020-12, Draft-07, and boolean schemas
- Major type, required-property, string, number, array, and object constraints
- allOf, anyOf, oneOf, not, and if/then/else
- Local $ref and $defs, strict format validation, and error locations
How to use
- Enter the JSON on the left and the JSON Schema on the right.
- Choose the Schema specification, format mode, Schema self-validation, and error limit.
- Select Validate or press Ctrl/Command + Enter.
- Select an error to jump to the corresponding source location.
Limitations
- External $ref, external vocabularies, and schema retrieval over the network are not supported.
- Formats are annotations by default. Supported formats are checked only in strict mode.
- Not every draft-specific vocabulary or official test-suite case is guaranteed.
- Very large JSON documents may take time to validate or highlight depending on device performance.
Privacy: JSON, schemas, files, settings, and results are processed only in your browser and are never sent to or stored on Develop Tools servers.