JSON Schema to TypeScript
Generate TypeScript interfaces or types from a JSON Schema, with required fields, enums, $ref definitions, unions and descriptions as comments. Free.
Runs in your browser · files never uploaded 100% free
Related tools
JSON to Zod SchemaGenerate a Zod 3 or Zod 4 validation schema from sample JSON, with optional and nullable fields, nested objects and detected emails and URLs. Free.JSON Schema to ZodConvert a JSON Schema into Zod code with limits, formats, enums, defaults, $defs references and z.lazy for recursive types. Zod 3 or 4. Free, in your browser.JSON to PHP ArrayConvert JSON into PHP array syntax with short [] or long array() style, ready for Laravel config files, seeders and tests. Free and runs in your browser.PHP Array to JSONConvert a PHP array literal into valid JSON the way json_encode does, with comments, trailing commas and both [] and array() syntax handled. Free, in browser.JSON to GraphQL SchemaGenerate GraphQL type definitions from sample JSON, with Int, Float, ID and non-null fields and nested types named after their fields. Free and in your browser.GraphQL to TypeScript TypesGenerate TypeScript interfaces, enums and unions from a GraphQL schema (SDL), with correct nullability for lists and non-null fields. Free, in your browser.