TS

JSON → TypeScript

interfaces

Paste JSON and instantly generate TypeScript interfaces. Handles nested objects, arrays, and null values.

Root name
JSON Input
TypeScript Output
TypeScript interfaces will appear here...
🔄
Nested Objects
Creates separate interfaces for each nested object automatically.
📋
Array Support
Infers item types from arrays and generates typed array syntax.
✨
Options
Toggle optional fields, readonly, and export keyword.