Developer Tools · Free · No sign-up required
Generate typed interfaces from real API responses instead of hand-writing them. The inferrer handles nested objects, arrays (unifying element types), optional-looking fields and null values, and explains its inference limitations honestly so you know where to review before committing the types.
Generation runs locally. Sensitive API payloads are never uploaded.
Any valid JSON object or array — a real API response works best.
Interfaces are inferred recursively, naming nested objects from their keys.
The tool lists where inference made assumptions (optional fields, mixed arrays, null unions) so you know what to double-check.
Copy the generated TypeScript into your project and adjust names as needed.
Input: valid JSON. Output: TypeScript interface declarations.