JSON → TS interfaces
JSON to TypeScript
Paste JSON and get matching TypeScript interfaces instantly, including nested objects and arrays.
JSON
TypeScript
Generated interfaces will appear here.
Frequently asked questions
Does it handle nested objects and arrays?
Yes. It generates interfaces for nested objects and infers array element types.
Can I rename the root interface?
Yes. Set the root name and every generated interface updates.
Is my JSON sent anywhere?
No. The TypeScript is generated in your browser.