Skip to content
Takikit

JSON Schema Generator

Infer a standard 2020-12 JSON Schema from a JSON sample: types, required fields, and email, date and URL formats.

Loading tool...

Runs in your browser. Nothing is sent anywhere.

When to use it

Use this when documenting an API or validating form or config data without writing a schema from scratch: paste a real sample to get a skeleton, then refine it.

For arrays with several items, a field is marked required only if it appears in every item. A schema inferred from a sample knows nothing of your business rules, so add minimum, pattern or enum yourself.

How to use

  1. Paste the sample JSON.
  2. Choose whether to guess formats and required fields.
  3. Copy the schema and add your business constraints.

Frequently asked questions

Are my data files uploaded to the internet?

No. CSV, Excel and JSON files are read and processed in JavaScript right in your browser. Takikit has no server that receives data, and you can turn off your internet after opening the page and the tool will still work.

Related tools

More Data tools

See all data tools