JSON to TypeScript
Generate TypeScript interfaces from a sample JSON object.
In your browser
TypeScript
Next in your workflow
About this tool
Paste a JSON response from an API and get TypeScript interfaces for it, including nested objects and arrays, instead of writing them by hand.
How to use it
- 1 Paste a JSON sample.
- 2 Copy the generated interfaces.
Questions
Is my data uploaded?
No. This tool runs in your browser, so your text and files never reach our server.
Is this tool free?
Yes. It’s free to use with no sign-up and no limits for normal use.
More in Code & markup
- BBCode to HTML Convert forum BBCode ([b], [url], [img]…) to HTML.
- HTML minifier Remove comments and collapse whitespace in HTML.
- CSS minifier Remove comments and unnecessary whitespace from CSS.
- JavaScript minifier Minify JavaScript onto one line with Terser: strips comments and spaces, shortens local names and simplifies code.
- SQL beautifier Format SQL so each clause starts on its own line.
- GitHub profile README generator New Build a GitHub profile README with stats, streak, tech stack icons, trophies and live preview.