Validate JSON data against JSON Schema online. Supports Draft 4/6/7/2019-09/2020-12 and displays validation errors with JSON path, message, and expected value.
Type or paste your JSON Schema into the left editor, or choose from the preset examples. Supports Draft 4/6/7/2019-09/2020-12.
Type or paste the JSON data you want to validate into the right editor. Preset sample data is also available.
Validation runs in real time. If errors are found, they are listed with the JSON path, error message, and expected type or value.
Enter JSON Schema and JSON data to validate
JSON Schema Validator is an online tool that validates JSON data against JSON Schema specifications. Use it to validate API request/response bodies, define configuration file schemas, and perform data quality checks in development, testing, and QA workflows. Supports all drafts from Draft 4 to the latest 2020-12, with real-time error detection showing exact paths and causes.
For new projects, Draft 2020-12 or 2019-09 is recommended. Choose a version that matches the libraries and tools you are using. In auto-detect mode, the validator reads the $schema attribute from your schema to determine the version automatically.
No, all processing happens entirely in your browser. Your JSON Schema and JSON data are never sent to any server, so you can safely use sensitive or confidential data.
Error paths are displayed in JSON Pointer format (RFC 6901). For example, "/user/age" refers to the age property of the user object. Errors at the root object are shown as an empty string (/).