About this tool
Paste a JSON sample and get matching TypeScript interfaces, generated entirely in your browser.
Frequently asked questions
How are nested objects handled?
Each nested object becomes its own interface, named in PascalCase after its key, with a Root interface on top.
How are arrays typed?
Arrays are typed from their first element as T[]; empty arrays become any[].