JSON Schema generator
Paste a sample JSON document and get a matching JSON Schema — types, required keys, array items and nested objects are inferred automatically. Nothing is uploaded.
Your JSON
JSON Schema draft
Schema title
Options
Generated JSON Schema
Your JSON is parsed and converted entirely in your browser. Nothing is uploaded.
How it works
STEP 1
Paste your JSON
Drop in an API response or any JSON object. It is parsed right in your browser — nothing leaves your device.
STEP 2
Pick a draft
Choose JSON Schema draft-07 or 2020-12. Types, required keys, array items and nested objects are inferred recursively from your sample.
STEP 3
Copy or download
Copy the generated schema with one click, or download it as a ready-to-use .json file.