Which JSON Schema specification draft is generated?
It outputs Draft 2020-12 JSON Schema ($schema: https://json-schema.org/draft/2020-12/schema) with optional title, deduplicated anyOf unions, and open additionalProperties by default.
Free tools for PDF, images, and code
Generate a Draft 2020-12 JSON Schema from sample JSON with optional required-field and string-format inference.
GUIDE & SPECS // JSON SCHEMA GENERATOR
JSON Schema Generator infers Draft 2020-12 JSON Schemas from real JSON examples. It merges object properties across array samples, deduplicates heterogeneous anyOf branches, leaves additionalProperties open by default, and keeps speculative string format inference opt-in.
FAQ // DEVELOPER
It outputs Draft 2020-12 JSON Schema ($schema: https://json-schema.org/draft/2020-12/schema) with optional title, deduplicated anyOf unions, and open additionalProperties by default.
By default, only keys present across every merged object sample are marked required, and string format guessing (email, uri, date-time, uuid) stays disabled unless you toggle it on.
No. Schema inference runs synchronously in browser memory with depth (32) and node (10,000) safety guards.
Your output will appear here once you run the tool.