typewright

Paste JSON, get clean TypeScript types. Handles nesting, arrays, unions, and optional keys — deduplicating shared shapes into named interfaces. Inference runs entirely on your machine.

Runs offline · Nothing uploaded
Declare as
Nesting
JSON
Empty
1
0 lines · 0 chars
TypeScript

        
{ }

Types will appear here

Paste JSON on the left, or start from a sample structure.

! Invalid JSON
Waiting for input

Everything runs locally in your browser — your JSON never leaves this page.