JSON Schema Generator
Generate JSON Schema Draft 2020-12 or Draft 7 from objects and arrays with required-field intersection, nullable types, formats, and conflict reports.
Infer JSON Schema from objects and arrays without first-row bias
Required properties are determined by intersection: a property is required only when it appears in every sampled object at that level.
Observed type conflicts, nullability, arrays, nested objects, and common string formats are represented in Draft 2020-12 or Draft 7 output. The generated schema must still be reviewed against business requirements.
JSON Schema Generator FAQ
Which JSON Schema drafts are available?
Draft 2020-12 and Draft 7 schema identifiers are supported.
How are required fields inferred?
A field becomes required only when it exists in every sampled object at the same location.
Can sample data prove every allowed value?
No. Sample inference can describe observed data but cannot discover unobserved valid values, complete enums, or business rules.
Continue working with your data
Evaluate RFC 9535 JSONPath expressions safely against JSON and inspect matched values, normalized paths, and JSON Pointers without executing query code.
JSON and JSONL ConverterConvert JSON arrays to JSONL or NDJSON and line-delimited records back to JSON with exact line errors, record counts, and downloads.
JSON FlattenerFlatten nested JSON into path-value pairs or safely unflatten paths using dot, bracket, slash, or custom separators with collision detection.
JSON Merge ToolMerge multiple JSON objects using shallow, deep, or RFC 7396 Merge Patch behavior with configurable array and conflict strategies.