Generate TypeScript interfaces from JSON
Paste a representative JSON sample and get TypeScript interfaces. Nested objects each become their own named interface, arrays become typed arrays, and mixed arrays produce a union element type.
Because the types are inferred from one sample, they reflect exactly what’s in that sample — fields that are optional or absent won’t appear, so treat the output as a strong starting point. All inference happens in your browser — your data is never uploaded or stored.