Privvert
Home
All Tools
Convert
About
🇺🇸
English
â–¾
🇺🇸
English
â–¾
Menu
JSON → TypeScript
Generate TypeScript interfaces from JSON.
Root name:
Style:
interface
type
Copy result
{ "id": 1, "name": "Ada", "tags": ["admin", "dev"], "address": { "city": "Copenhagen", "zip": "1050" } }
export interface Root { id: number; name: string; tags: string[]; address: Address; } export interface Address { city: string; zip: string; }