Validate your JSON data against schemas in 3 simple steps with support for 700+ predefined schemas and all major draft versions
Access the web's largest JSON schema library - Choose from 700+ predefined schemas from SchemaStore.org (like package.json, tsconfig.json) or paste your custom JSON Schema. The validator supports Draft-04, Draft-06, Draft-07, Draft 2019-09, and Draft 2020-12.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "User Registration",
"type": "object",
"required": [
"username",
"email",
"age"
],
"properties": {
"username": {
"type": "string",
"minLength": 3,
"maxLength": 20,
"pattern": "^[a-zA-Z0-9_]+$"
},
"email": {
"type": "string",
"format": "email"
},
"age": {
"type": "integer",
"minimum": 18,
"maximum": 120
},
"country": {
"type": "string",
"enum": [
"USA",
"UK",
"Canada",
"Australia"
]
}
}
}Test API payloads, configuration files, or any JSON data in seconds - Paste your JSON data or upload a JSON file to validate against the schema. The validator provides real-time feedback with detailed error messages showing exactly what doesn't match the schema.
{
"username": "john_doe",
"email": "[email protected]",
"age": 25,
"country": "USA"
}Save hours of debugging with pinpoint error messages - Get detailed validation results with comprehensive error messages. Each error includes the property path, failed constraint, and helpful messages to guide you in fixing issues.
{
"username": "john_doe",
"email": "[email protected]",
"age": 25,
"country": "USA"
}Common questions about validating JSON with schemas
Format, validate and process JSON
Export to other popular formats
Convert to JSON from other types
Generate code from JSON data
Format and beautify other code formats