JSON Tools
Convert JSON to TypeScript
Infer TypeScript interfaces from JSON. Nested objects become named interfaces. Arrays, primitives and null are detected automatically.
Your JSON is processed securely in your browser and is not stored unnecessarily.
How it works
- Paste JSON, type in the editor, or upload a file.
- Run the tool. Processing stays in your browser whenever possible.
- Copy or download the result. Nothing is written to server storage.
FAQ
Mixed arrays become union types, for example (string | number)[].