JSON to TypeScript
Tool guideGenerate TypeScript interfaces/types from JSON
Input: This tool processes input in your browser. Check in Network (opens in a new tab)
Root:
Style:
Input (JSON)
Output (TypeScript)
Paste JSON on the left, then press ⌘Enter
Tool guide
Back to workspacePaste your JSON data and instantly generate TypeScript interfaces or type aliases. Supports nested object separation, array type inference, union types, optional and readonly properties, and export keywords. All processing runs in your browser.