Paste JSON and get clean, named TypeScript interfaces — nested objects, arrays, and merged shapes inferred automatically, all in your browser.
The JSON to TypeScript Interface generator is a free tool that infers strongly-typed TypeScript interfaces from any JSON sample. It builds a named interface for every nested object, types arrays by their element type, merges object shapes across array elements so optional keys are caught, and maps primitives to string, number, boolean, or null. Everything runs locally — your JSON never leaves the page.
Paste a JSON object or array (an API response works great) into the input box.
Set the name for the top-level interface — it defaults to Root. Nested interfaces are named from their keys.
The TypeScript updates as you type. Copy the interfaces or download them as a .ts file.
saavos is the AI agent that lives on your website — themed to match your design, answering visitors from your own content, and telling you what they actually want to know. Paste your URL and see it answer, before you install anything.
Make my site feel alive