Formatos de datos
JSON Schema Generator
Infer a JSON Schema from a sample JSON document, with draft selection and required policies.
Por qué usar esta herramienta
03Paste a JSON sample and get a draft-2020-12 or draft-07 schema with detected string formats, merged array items, and configurable required handling.
JSON Schema Generator infers a schema from a sample JSON document so you can validate future payloads, generate TypeScript, or document APIs.
It merges array element schemas, detects common string formats (date-time, email, uri, uuid), and supports draft 2020-12 and draft-07.
Cómo usarla
03Revisiones rápidas antes de copiar
03Confirm the input is the format you intended.
Scan the result before using it in a document, URL, config, or message.
Copy only the output you need.
Preguntas frecuentes
03
What does the smart required policy do?
For arrays, every element schema is merged and only the keys present in every element stay required. For single objects it behaves like 'all required'.
Does it detect string formats?
Yes. Date, date-time, email, uri, and uuid formats are inferred from sample values.
Is my JSON sent anywhere?
No. Inference runs entirely in this tab.
Herramientas relacionadas
03JSON Formatter→
Format, minify, and validate JSON in one place.
Table Format Converter→
Convert tabular data between CSV, JSON, and Markdown tables in the browser.
Base64 Encode / Decode→
Convert plain text to Base64 and back.