Generate, validate and explore JSON Schema (draft 2020-12) — processed privately in your browser.
- JSON to JSON Schema Converter
Generate a JSON Schema (draft 2020-12) from an example JSON document.
- JSON Schema Example Generator
Generate a sample JSON document from a JSON Schema — honoring const, default, enum, formats, required properties and local $refs.
- JSON Schema Validator
Validate a JSON document against a JSON Schema (draft 2020-12 subset): types, required properties, enums, formats, constraints, allOf/anyOf/oneOf and local $refs — every violation listed with its location.
- JSON Schema Compare
Compare two versions of a JSON Schema and see what changed for API consumers — removed properties and type changes flagged as breaking, new requirements as warnings, additions as informational.
Contracts for your JSON
JSON Schema is the standard way to say what a JSON document must look like — which fields exist, their types, what is required. The current version of the specification is draft 2020-12, and both tools here speak it. They form a loop: infer a schema from a real payload, then generate example documents from that schema. If the generated example looks wrong, the schema — or the assumption behind it — needs work, and you found out before production did.
Where schemas pay off
Validating inbound API requests, catching breaking changes in CI, powering form generation, and giving partner teams a contract more precise than prose documentation. Start from data you already have — the JSON to JSON Schema converter gets you 80% of the way, and the constraints only you know (formats, ranges, patterns) are the remaining 20%.