Skip to content

JSON Schema Generator

Infer a JSON Schema from sample data: draft, required fields, formats and examples

Runs on your device

How to use JSON Schema Generator

  1. Type or paste your text into the box, or press Sample to see an example.

  2. Set the options: “Draft”, “Required fields”, “Detect formats”, “Add an example value to each field” and more. Reset puts them back.

  3. The result updates as you go. Copy it or download it.

About JSON Schema Generator

Infer a JSON Schema from sample data: draft, required fields, formats and examples.

JSON Schema Generator: common questions

Is JSON Schema Generator free?

Yes. There's no sign-up, no limit on how often you use it and no watermark.

Is your text uploaded anywhere?

No. JSON Schema Generator works on this device only, so your text stays private. You can even turn off the internet once the page is open.

What can I change?

6 settings, including “Draft”, “Required fields”, “Detect formats”, “Add an example value to each field”, “No extra fields allowed” and “Title”. Every setting has a sensible default, and Reset puts them all back.

Does it work on a phone?

Yes, in any current browser on Android, iPhone, iPad and desktop.

More data tools

All 29 data tools