Developer ToolsJSON to TypeScript
JSON → TypeScript
Paste any JSON and get strongly-typed TypeScript interfaces instantly.
JSON Input487 chars
TypeScript Output
Click Convert to generate interfaces
Nested objects
Each nested object becomes its own named interface automatically.
Arrays
Element types are inferred. Mixed-type arrays produce union types.
Null fields
null / undefined values generate optional (?) fields.