JSON Schema Validator – Validate JSON Drafts & Payloads
Validate JSON payloads against schema drafts with Ajv options like allErrors, type coercion, and removeAdditional while staying offline.
JSON Schema Validator
Validate JSON data against schema with error path highlighting
Paste JSON Schema here
Or drag and drop a file
Paste JSON data to validate
Optional - schema alone is valid
lightbulbPopular Use Cases
Validate API request/response payloads against JSON Schema for contract testing
Verify application config files match expected schema before deployment
Validate complex form submissions against schema for data integrity
Ensure data transformations maintain expected structure in ETL pipelines
Validation result will appear here
scienceExample Schemas
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"required": ["i...{
"type": "array",
"items": { "type": "number" }
}...keyboardKeyboard Shortcuts
keyboardShow shortcutsexpand_more
Related tools
Show moreShow more
› About this tool · FAQ
Validate JSON payloads against JSON Schema drafts using Ajv with configurable strictness, coercion, and error reporting — all offline in your browser.
Which JSON Schema drafts are supported?
Ajv supports draft-04 through draft-2020-12. Provide a $schema property in your schema to target a specific draft when needed.
Can I validate without providing data?
Yes. Leave the data panel empty to validate only the schema structure and catch compile-time issues.
What does removing additional properties do?
It strips properties not defined in the schema. Use with caution if you need to surface unexpected fields instead of silently dropping them.
How do I validate multiple documents?
Run each JSON instance individually or paste an array of objects if your schema expects an array. The validator processes exactly what you provide.
Does the tool send my data anywhere?
No. Validation runs entirely in your browser using Ajv, so schemas and payloads never leave your device.