Convert JSON to a TypeScript Interface Online
Paste a JSON payload and get matching TypeScript interfaces with inferred field types, nested objects, and typed arrays. Use a representative API response so optional and nullable fields are reflected in the output.
JSON to TypeScript
Convert JSON data to TypeScript interfaces and types
TypeScript types will appear hereQuick Start
- 1Paste your JSON object into the input
- 2Optionally set a root interface name
- 3Generate the TypeScript interfaces
- 4Copy the types into your project
More Convert Tools
All converters →Convert Meters to Feet Online
Convert meters to feet with exact factors. Free meters to feet converter covering length units both ways, no signup.
Convert Celsius to Fahrenheit Online
Convert Celsius to Fahrenheit using the exact formula. Free temperature converter that also goes back to Celsius, no signup.
Convert HTML Table to Markdown Online
Paste an HTML table and convert it to a clean Markdown table. Free online HTML table to Markdown converter for GitHub and docs.
Convert HTML to a GitHub README Online
Paste webpage HTML and get GitHub Flavored Markdown for your README. Free online HTML to Markdown converter for README files.
Convert Excel CSV to JSON Online
Export a sheet as CSV and convert it to a JSON array of objects. Free online Excel CSV to JSON converter with delimiter options.
Convert XML to JSON Array Online
Paste XML and convert repeated elements into a clean JSON array. Free online XML to JSON converter that keeps attributes and runs in your browser.
Looking for FAQs and advanced options? Visit the full JSON to TypeScript page →