JSON to TypeScript Converter
Paste JSON and get TypeScript interfaces ready to copy into your project.
JSON
TypeScript
Recent conversions on this device
How this tool works
Method. Each JSON object becomes an interface. Arrays of objects are merged into one interface, and a field missing from some items is marked optional with ?. Mixed-type arrays are combined with | and flagged in the result line.
Privacy. Everything happens in your browser. Nothing is uploaded or shared; the recent-conversions record stays on this device only.