Skip to content
Developer
Tool · JSON to TypeScript

🧾 JSON to TypeScript

Generate TypeScript types from any JSON.

TypeScript

export interface User {
  name: string;
  age: number;
  isAdmin: boolean;
  tags: string[];
  address: {
  city: string;
  zip: number;
};
}

Turn any JSON sample into a TypeScript interface or type alias — nested objects and arrays included, all in your browser.