$
devtools
Search tools…
⌘K
All tools
/
Converters
JSON / YAML → TypeScript
New
Generate TypeScript interfaces from JSON or YAML. Handles nested objects and arrays.
json
yaml
Root name
JSON Input
{ "id": 1, "name": "Alice", "email": "alice@example.com", "roles": ["admin", "user"], "address": { "city": "Wonderland", "zip": "12345" } }
TypeScript Output
Copy
export interface Root { id: number; name: string; email: string; roles: string[]; address: Address; } export interface Address { city: string; zip: string; }