API Tools

JSON Schema Validator

Validate JSON data payloads against any JSON Schema specification (Draft 2020-12, 2019-09, Draft-07, 06, 04). Inspect validation errors, JSON paths, schema keywords, and download detailed reports.

Load Interactive Sample Presets:
Schema Draft & Validation Rules Validation Rules
Draft 2020-12
Auto-detected Auto
Drop JSON file here
Supports .json, .txt (UTF-8)
JSON Data Payload JSON
Drop JSON Schema here
Supports .json, .txt (UTF-8)
Target JSON Schema Schema
Ctrl + Enter to validate instantly
Validation Result

Validation completed.

Draft: Draft 2020-12
Total Errors: 0
Props EvaluatedProps: 0
Time: 0ms
Validation Discrepancies (0)
# JSON Path Keyword Error Message Expected Constraint Actual Value

Comprehensive Guide to JSON Schema Validation

JSON Schema is the web industry standard specification for describing the structure, required fields, data types, and constraint rules of JSON documents. Schema validation guarantees that client payloads, API responses, configuration files, and microservice events conform strictly to expected data contracts before business processing begins.

Multi-Draft Support

Supports Draft 2020-12, Draft 2019-09, Draft-07, Draft-06, and Draft-04. Automatically detects the standard via the root $schema declaration or lets you test against a target standard.

Local Pointer References

Resolves internal schema references (#/$defs/address or #/definitions/address) dynamically, validating complex modular schemas without external network calls.

Strict Format Assertion

Validates standard string formats including RFC 5322 email addresses, RFC 4122 UUIDs, ISO 8601 timestamps, IPv4/IPv6 addresses, URIs, and regex pattern matching.

Frequently Asked Questions

A JSON Schema Validator tests whether a given JSON data payload conforms strictly to a defined JSON Schema contract. It verifies that required fields are present, values adhere to expected data types (strings, integers, booleans, objects, arrays), string formats (emails, UUIDs, dates) match RFC specifications, numeric values respect boundary limits, and no disallowed additional properties exist.

This validator fully supports JSON Schema Draft 2020-12, Draft 2019-09, Draft-07, Draft-06, and Draft-04. The tool automatically detects your schema standard by inspecting the "$schema" URI at the root of your schema, or allows you to manually select the target draft from the dropdown menu.

Local schema references using standard JSON Pointer notation (such as "#/$defs/address" in modern drafts or "#/definitions/address" in Draft-07/04) are resolved dynamically. The validation engine navigates the schema tree to retrieve the referenced definition while protecting against infinite recursion.

Yes. When Format Assertion is enabled in the Validation Options panel, the engine validates standard string formats including RFC 5322 email addresses, RFC 4122 UUIDs, ISO 8601 date-times, dates, times, IPv4/IPv6 addresses, hostnames, and URIs. In Draft 2020-12, formats are treated as assertions when format assertion is active.

The tool evaluates inputs in strict stages: first, both the JSON Data and the JSON Schema are parsed for JSON syntax validity. If either document contains a malformed character, unclosed brace, or trailing comma, a clear JSON Syntax Error banner is displayed showing the exact parse location. Only syntactically valid JSON and schemas proceed to semantic schema validation.

Yes, 100%. All JSON parsing, schema compilation, constraint verification, and report generation take place entirely client-side inside your browser. No JSON payloads or schemas are transmitted to external servers, logged, or stored.

Yes. When validation fails or succeeds, you can export a complete validation report in either structured JSON (.json) or formatted plain text (.txt) with timestamps, evaluated property counts, JSON pointer paths, and detailed error explanations.