> codebench_TOOL: HomeLOCAL-ONLY⌘K Switch

JSON to TypeScript

Tool guide

Generate 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

Paste 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.

Browse JSON tools

> codebench $Ctrl+Enter Run