Paste your JSON into the input area on the left.
Choose your target schema format from the options panel: TypeScript Interface, TypeScript Type (alias), Zod, or Valibot.
Configure generation options: customize the root name, choose whether to inline nested types, and toggle export statements.
Adjust strictness: optionally mark null values as optional fields, or properties as readonly.
Click Generate or press ⌘↵ to instantly compile your JSON into the selected schema format.
Copy the generated code with ⌘⇧C, or download it as a .ts file for your project.
Generates TypeScript Interfaces and Type Aliases from any valid JSON object or array.
Generates Zod validation schemas with automatic runtime validation rules.
Generates Valibot validation schemas for lightweight bundle sizes.
Smart type inference: correctly handles nested objects, deeply nested arrays, and mixed-type union arrays.
Root name configuration: easily set the name of the top-level interface or schema.
Inline vs separate types: choose to inline all nested objects, or extract them into named dependent types/schemas.
Optional and nullable detection: optionally mark null values as optional/nullable fields automatically.
Readonly modifiers: generate immutable interfaces or .readonly() schemas.
Auto-generation mode: schemas update in real-time as you type or change options.
Shareable URLs: gzip-compresses your JSON and settings into a URL parameter for sharing with teammates.
Works entirely in your browser — your JSON data never leaves your machine.
Keyboard shortcuts for power users: ⌘↵ to generate, ⌘⇧T for TS Interface, ⌘⇧Z for Zod, ⌘⇧C to copy.