JSON Schema Validator & Generator

Generate a JSON Schema from your data, or validate JSON against a schema of your own — all in the browser.

JSON DOCUMENT
GENERATED SCHEMA

JSON Schema tools: generate and validate, in one place

A JSON schema generator saves you from writing a schema by hand: paste a real example of your data and get a draft-07 JSON Schema inferred from its shape — types, required properties, and array item shapes — as a starting point you can refine.

Already have a schema? Switch to Validate mode to run this JSON schema validator against it. It checks types, required properties, enums, string length/pattern, and numeric ranges, and reports every mismatch with its exact path (like $.address.zip) so you know precisely what to fix. It's a practical, best-effort validator covering the keywords most hand-written schemas use — not a full draft-07/2020-12 implementation (no $ref, oneOf/anyOf/allOf yet).