JSON Schema Generator
Automatically generate a JSON Schema from any JSON object. Detects string formats (date, email, URI, UUID), types, and nested structures.
Draft:
Title:
Frequently Asked Questions
What is a JSON Schema?▾
JSON Schema is a vocabulary for annotating and validating JSON documents. It describes the structure of JSON data including types, required fields, and format constraints.
Which JSON Schema draft should I use?▾
Draft-07 is the most widely supported. Draft 2019-09 and 2020-12 are newer and add features. If you're using AJV, Zod, or similar libraries, check their supported draft.
What formats are automatically detected?▾
The generator detects date (YYYY-MM-DD), date-time (ISO 8601), UUID (8-4-4-4-12 hex), email, and URI formats from string values.