JSON to TypeScript

Generate TypeScript interfaces or types from a sample JSON, with nesting and optional fields.

Processed in your browser · Check it yourself Nothing sentData sent: 0 · To other domains: 0Analytics: not present · Ads: not present
TypeScript

Types are inferred from this sample: one JSON example does not cover every possible case of your API.

More in Converters

Learn step by step in the pathData formats and APIs