JSON to TypeScript

Generate TypeScript interfaces from a JSON sample.

Developer Tools Runs in your browser. Files never leave your device.
TypeScript Output
export interface RootObject {
  id: number;
  title: string;
  published: boolean;
  author: Author;
  tags: string[];
}

export interface Author {
  name: string;
  email: string;
}