Skip to main content

JSON to TypeScript

Paste JSON and instantly get TypeScript interfaces or type aliases with nested types auto-generated.

JSON input
TypeScript output (2 types)
interface Address { street: string; city: string; zip: string; country: null; } interface Root { id: number; name: string; email: string; active: boolean; score: number; tags: string[]; address: Address; createdAt: string; }