Schema conversion
JSON Schema ⇄ Zod Converter
Generate a Zod schema from JSON Schema, or write JSON Schema back out from Zod code. Maps required to .optional(), plus enums, unions, nested objects, string formats and length constraints in both directions. Anything that cannot be converted is reported as a warning. Everything runs in your browser and the schema you paste is never sent anywhere.