Translation in progress
This page will be translated soon. Please check back again shortly.
JSON to TypeScript
Paste JSON and get a TypeScript type definition in seconds.
Everything runs in your browser. Nothing is sent to the server.
TypeScript type
Your type definition will appear here.
What it does
Turn an example JSON response into a TypeScript type you can use in a project. Nested objects and arrays are inferred automatically.
How to use it
- Paste a JSON object or array.
- Generate the TypeScript type.
- Copy the result into your code.
Tips
- Null values become unknown.
- Everything stays in your browser.
- Use a representative JSON sample for the best result.
FAQ
Is my JSON uploaded?
No. Conversion happens locally in your browser.