About this tool
Paste a JSON sample, such as an API response, and get matching TypeScript interfaces, generated entirely in your browser. Every item in an array is inspected: fields missing from some items become optional, and values of different types become unions.