JSON to TypeScript
Infer TypeScript types from a JSON sample, including nested objects and mixed arrays.
Runs in your browser.
Tool settings
Result
Example input
{"name":"Ada","tags":["example"],"active":true}
Infer TypeScript types from a JSON sample, including nested objects and mixed arrays.
{"name":"Ada","tags":["example"],"active":true}