Developer

JSON Schema Generator & Validator

Infer a JSON Schema from examples, edit it to match your rules and validate data against it, for draft 2020-12 or draft 7.

JSON

About this tool

Generate a JSON Schema from one or more examples, in draft 2020-12 or draft 7, with types, nested objects, arrays and optionally formats like date-time, email and uri. The schema says it was inferred, because examples can’t prove which fields are required.

Edit the schema to match your real rules and validate the JSON against it as you type. Errors list the exact location in the data and what was expected.

Validation runs in your browser with a validator that doesn’t compile schemas into code, and remote $ref schemas are never downloaded.

esc
  • Opens in its own window, like any app
  • Works without an internet connection
  • Starts instantly from your home screen or dock

Look for the install icon at the right end of your browser’s address bar, or open the browser menu and choose Install Interformat.