Skip to content

JSON schema

Validate JSON against a schema, or generate a schema from a sample document.

Draft

Features

How it works

  1. Choose Validate to check data against a schema, or Generate to infer a schema from a sample document.
  2. Pick the draft — draft-07 or 2020-12 — then paste your JSON data and schema (or just a representative sample to infer from).
  3. Read the verdict live: a match confirmation, or each validation error listed by its instance path.

Your files never leave this page

Every conversion runs entirely in your browser using WebAssembly. There is no upload, no server-side processing, no analytics, and no cookies. Open DevTools → Network during the operation and you will see zero outbound traffic.

Related tools

Topics covered