Developer
JSON to TypeScript
Infer TypeScript types from a JSON example. Empty arrays use unknown.
How to use this tool
Example use case
Create initial types from a representative API response.
- Paste an input or choose Load example.
- Choose the operation that matches your task.
- Select Run tool. Review the result, then copy or download it.
Sample input
{"id":42,"name":"Ada","tags":["api","web"]}