Free foreverNo sign-upRuns 100% in your browser

JSON to TypeScript Interface Generator

Paste any JSON payload and get clean TypeScript interfaces with nested objects, arrays and unions inferred.

Inference rules

Nested objects become named interfaces (T1, T2…), arrays take the first item's type, null fields are marked optional.

Frequently asked questions

Mixed-type arrays?

Only the first element is sampled.

Empty arrays?

Emit unknown[] — tighten manually.

Date strings?

Kept as string; wrap in a date type yourself.