ArchSetu
ArchSetu
ArchSetuToolsData & EncodingJSON to TypeScript Interface Generator
Free tool

JSON to TypeScript Interface Generator

Paste a JSON sample and get a TypeScript interface - nested objects and arrays of objects broken into their own named interfaces automatically.

Paste JSON

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

interface Address {
  city: string;
  zip: string;
}

Structural inference from one sample, not a schema - a field that's sometimes null elsewhere won't be caught here.

Was this tool helpful?

See this same kind of analysis applied to your whole repository

Call graphs, dead code, blast radius, and a health score. Results in 60 seconds, free.

Analyze a repository

Runs entirely in your browser. Nothing is stored. Free forever.

Powered by ArchSetu