ToolSuite
Tools
Categories
Sign In
Get Started
JSON <> Schema Converter
Instantly generate JSON Schema from a JSON object, or create an example object from a schema.
JSON to Schema
Schema to JSON
JSON Input
{ "id": 1, "product": "Sample Item", "tags": ["example", "test"], "dimensions": { "width": 10, "height": 20 }, "isActive": true, "contactEmail": null }
JSON Schema Output
{ "type": "object", "properties": { "id": { "type": "integer" }, "product": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "dimensions": { "type": "object", "properties": { "width": { "type": "integer" }, "height": { "type": "integer" } }, "required": [ "width", "height" ] }, "isActive": { "type": "boolean" }, "contactEmail": { "type": "null" } }, "required": [ "id", "product", "tags", "dimensions", "isActive", "contactEmail" ] }