JSON → TypeScript Interface

Paste JSON, get typed. Supports nested objects, arrays, optional fields, and union types.

JSON Input

Simple user Nested API Array response

TypeScript Output

// Your TypeScript interfaces will appear here