Draft an API response type
Generate nested TypeScript structures quickly from sample JSON.
Analyze a JSON object or array and generate nested TypeScript interfaces or type aliases.
Generate nested TypeScript structures quickly from sample JSON.
Paste an object array and create a reusable interface or type alias.
JSON parsing and TypeScript type generation run in your browser.
The top-level JSON must be an object or array, and generated types are inferred from the sample values.