All tools
Developer Tools

JSON → TypeScript

Generate TypeScript interfaces from any JSON.

TypeScript
export interface Address {
  city: string;
  zip: null;
}

export interface Root {
  id: number;
  name: string;
  active: boolean;
  tags: string[];
  address: Address;
}