JSON & Data
JSON to TypeScript
Turn JSON into types and interfaces, including nested data.
JSON input
Output
Your result will appear here.
How to use
Paste a JSON sample, set a root type name, and generate a TypeScript declaration.
Example
Paste {"user":{"id":1,"active":true}} to create nested property types.