JSON to TypeScript / Go Converter

Paste any JSON API response and instantly generate perfectly typed TypeScript Interfaces or Golang Structs.

Input JSON Data
Generated Code
Root Name:
export interface Response {
  id: number;
  name: string;
  isActive: boolean;
  tags: string[];
  metadata: ResponseMetadata;
}

export interface ResponseMetadata {
  createdAt: string;
  views: number;
}