Skip to content

Developer Tools · free · no sign-up

JSON Schema Generator

Generate a JSON Schema from sample JSON, to describe and validate data.

How it works Report a problem

JSON Schema Generator

Generate a formal JSON Schema draft from your raw data structure

Sample JSON

About the JSON Schema Generator

Generate a JSON Schema from sample JSON, to describe and validate data.

How to use the JSON Schema Generator

  1. Paste a sample of your JSON or click Load Complex Sample.
  2. Press Build Schema.
  3. Click Copy Schema.

Tips

  • A schema built from one sample only knows what that sample contains. Review it and mark required fields.

Frequently asked questions

What is a JSON Schema?
A document that describes the structure and types your JSON data must follow.