1. Real-Time Ajv Worker Validation
With Live validate enabled, every edit is checked in a sandboxed Web Worker so large payloads and complex regex patterns never freeze your tab.
THE TOOLBOX / DATA UTILITIES
Validate JSON payloads against Draft 2020-12 or Draft-07 JSON Schema live in your browser, infer typed schemas with email/UUID/date-time format detection, or generate sample JSON from any schema.
315 / 200,000 UTF-16 code units · 315 UTF-8 bytes
Validating JSON against schema…
871 / 200,000 UTF-16 code units · 871 UTF-8 bytes
JSON SCHEMA DIALECTS
| Capability | Draft-07 | Draft 2020-12 | Note |
|---|---|---|---|
| $schema URI | http://json-schema.org/draft-07/schema# | https://json-schema.org/draft/2020-12/schema | HTTPS standard URI |
| Reusable Definitions | definitions | $defs | Standardized namespace |
| Tuple Arrays | items: [s1, s2] | prefixItems: [s1, s2] | items validates remaining elements |
| Property Dependencies | dependencies | dependentRequired / dependentSchemas | Cleaner separation of concerns |
| OpenAPI Alignment | OpenAPI 3.0 subset | Full OpenAPI 3.1 parity | 1:1 schema reuse |
With Live validate enabled, every edit is checked in a sandboxed Web Worker so large payloads and complex regex patterns never freeze your tab.
Generate a typed schema from raw API JSON with Infer Schema →, or synthesize realistic mock payloads from a schema with ← Generate Sample JSON.
Generate TypeScript types and Zod validators in JSON to TypeScript & Zod, validate OpenAPI specs in OpenAPI Validator, or compare payloads in JSON Diff.
Draft 2020-12 aligns with OpenAPI 3.1, replaces definitions with $defs, introduces prefixItems for tuple validation, and splits dependencies into dependentRequired and dependentSchemas. Draft-07 remains common in legacy APIs and OpenAPI 3.0 stacks.
The inference engine inspects your JSON instance recursively, distinguishes integer vs. number, detects standard string formats (email, uuid, date-time, date, uri, ipv4), and merges object arrays to determine which keys are required across all items.
Yes. Click Generate Sample JSON to synthesize a valid example object respecting enum, const, default, examples, minimum, and string format hints.
Yes. Powered by Ajv and ajv-formats inside an isolated Web Worker, semantic formats such as email, date-time, date, uri, uuid, ipv4, and ipv6 are validated locally.
Never. Schema compilation, validation, inference, and sample generation run 100% locally in your browser.