Skip to content
Toolbento

JSON Schema generator

Infer a JSON Schema from sample JSON, with types, required keys and item schemas.

Everything stays on this device

JSON Schema generator runs in your browser. The text and files you add are worked on by this device and are never uploaded, to us or to anyone else.

  • No uploads. The page is blocked from sending data to any other server.
  • No account, cookies, ads or tracking.
  • Fonts and scripts come from toolbento.app itself, so the page makes no requests to other companies.
  • Closing the tab clears your text and files from memory.

Read the full details on the privacy page.

Missing a feature or found a bug in JSON Schema generator? Tell me on X (@_andrewtran) or by email.

How to use JSON Schema generator

  1. Paste a JSON sample in the input pane.
  2. Read the inferred schema in the output pane.
  3. Copy it or download it as schema.json, then tighten it by hand.

Questions and answers

Is my data sent anywhere?

No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.

Which draft does the schema use?

Draft 2020-12. The types, properties, required and items keywords it uses also work in older drafts.

Is the schema complete?

It describes the sample you gave. Formats, value ranges and patterns cannot be guessed from one sample, so add those yourself.

Esc

Loading tools