JSON and Data

JSON to TypeScript Interface Converter

Paste a sample JSON response and get the types: interfaces with nested structures, optional fields, and arrays. The root type name is configurable.

Runs in your browser — data is not sent to a server

Types are inferred from the sample: nested objects become separate interfaces, and fields missing from some array items are marked optional (?). Mixed types in one field produce a union.

Need data for your project rather than utilities?

We'll collect and tidy up website data: prices, products, contacts, reviews — in the format and at the frequency you need.