JSON to TypeScript
Turn a JSON sample into TypeScript interfaces — nested objects, arrays, and optional keys handled
Notes
- • Types are inferred from one sample — check nullable and union fields by hand
- • Arrays of objects are merged into a single interface across all elements
- • Empty arrays become unknown[]; mixed primitives become a union
- • Everything runs in your browser — no data is uploaded
More Developer Tools
JWT Decoder
Decode and inspect JSON Web Tokens — view header, payload, expiry status, and algorithm instantly.
Regex Tester
Test regular expressions with live match highlighting and flag toggles. Includes 8 built-in presets.
CSS Minifier
Compress CSS by removing comments, whitespace, and redundant characters with before/after size savings.