JSON to TypeScript

Generate TypeScript interfaces from any JSON object automatically. Handles nested objects and arrays. Free, no signup.

Preparing private browser tool…

Your file will stay on this device.

Frequently asked questions

Arrays of objects?
Merges keys from all elements into a single interface, emitted as ItemName[]. Mixed primitives become union types.
Optional fields?
Not detected. Current version assumes all keys required. Mark optional manually after generation.
Nested interfaces?
Yes. Each nested object becomes its own exported interface.