Skip to main content

Data

JSON to TypeScript

Generates named interfaces from a JSON sample. Objects inside arrays are merged into one shape, so keys that only appear sometimes become optional instead of producing a union of near-identical types.

Runs in your browser. Nothing is uploaded.

esc