Skip to content
ToolInstant

JSON Schema Generator

Local

Generate a JSON Schema (draft 2020-12) from sample JSON: types, nested objects, arrays, required keys and formats like email, uri, date-time and uuid.

Loading tool…

Ready · Runs in this browser · nothing uploaded

Developer tools · Free · No upload · No sign-up

How to use the json schema generator for free

  1. 1Paste one or more sample JSON records.
  2. 2Choose options like format detection and enums.
  3. 3Copy or download schema.json.

Also useful for: json schema generator, generate json schema, json to json schema, infer json schema, json schema 2020-12.

  • Completely free, no account needed
  • Your data never leaves your device
  • Works on desktop and mobile

Frequently asked questions

Is this JSON Schema generator free?+

Yes. Every tool on ToolInstant is free to use with no sign-up and no limits on how often you use it.

Is my data uploaded anywhere?+

No. Everything is processed inside your browser using JavaScript. Your input never leaves your device.

Does it work on mobile?+

Yes. ToolInstant works in any modern browser on phones, tablets and desktops.

How does it decide what is required?+

A key is required only if every object in that position of your sample has it. Give a few varied samples in an array for better results, and review the schema before using it.