JSON Schema Validator
Validate JSON data against Draft-07 and 2020-12 schemas with local reference resolution and pointer errors.
JSON Schema (Draft-07 / 2020-12)
JSON Document (Data Instance)
Valid JSON Document
The document fully conforms to the provided JSON Schema with zero errors.
JSON Schema Validation Guide
Validate JSON data structures against Draft-07 and 2020-12 specifications offline.
Overview
The JSON Schema Validator inspects JSON documents against formal JSON Schema definitions (Draft-07 and Draft 2020-12). It checks data types, required object fields, array item boundaries, string pattern regexes, and built-in semantic formats (email, uuid, date-time, uri, ipv4, ipv6). Same-document local references (#/definitions/..., #/$defs/...) are resolved automatically with cycle protection, and remote references are explicitly blocked to ensure 100% offline security.
How to Validate JSON Against a Schema
Paste your JSON Schema into the Schema Editor, or choose one of the curated presets (User Profile, API Configuration, E-Commerce Order).
Paste the target JSON payload you wish to test into the Document Editor on the right.
Review the real-time diagnostic table. If invalid, each failure displays its exact RFC 6901 JSON Pointer path, schema keyword, and human-readable explanation.
Click any RFC 6901 pointer chip to copy it to your clipboard for debugging, API testing, or defect reporting.
Schema requiring {"required": ["email"], "uniqueItems": true} with payload {"tags": ["a", "a"]}Failure at /email (missing required property) and /tags/1 (duplicate item)
The validator flags both missing root properties and deep array collisions with exact JSON Pointer diagnostics.
- Supported Drafts: JSON Schema Draft-07 and Draft 2020-12 core specifications.
- Reference Scope: Same-document local references (#/...) are resolved; remote external references are blocked.
- File Size: Client-side processing handles payloads up to 2 MiB with immediate syntax and structural checking.
- Validation runs entirely within your browser via pure AST evaluation without eval() or new Function().
- No schemas, JSON documents, or validation reports are uploaded or sent over the network.