Generate TypeScript interfaces from a JSON sample with configurable property and export options.
Use sample data as a starting point for an interface declaration. The generator follows the structure it can observe, including nested objects and arrays. Review the result against other valid responses before treating it as an application contract.
Paste {"id":12,"name":"Alex"} and name the root interface User. Review the inferred number and string properties.
A sample cannot reveal all optional fields, unions, or constraints. Generated interfaces provide compile-time declarations, not runtime validation.
Paste a representative JSON object and choose a root interface name. Adjust optional, readonly, export, and naming settings. Copy the generated interfaces and review them in your TypeScript project.
A sample cannot reveal all optional fields, unions, or constraints. Generated interfaces provide compile-time declarations, not runtime validation.
No registration, no tracking of your content, no server uploads. Don't just take our word for it:
Your files and text are processed entirely on your device. Nothing is ever sent to us.
Once loaded, this tool keeps working with your Wi-Fi turned off. Try it.
Open your browser's DevTools → Network tab. You'll see zero requests carrying your data.
Discover other powerful utilities designed to supercharge your workflow and boost productivity.
Decode TOON into JSON and review the reconstructed data in your browser.
Convert JSON into TOON with a local preview and configurable output options.
Find changes between JSON inputs in a browser-local diff workspace.