Free tools › Developer
JSON to TypeScript
Paste a JSON sample and name the root type.
Questions
How are optional fields handled?
A key missing from some objects in an array becomes optional (?).
Is what I type sent anywhere?
No. It's worked out in your browser; nothing leaves your device.
Is it free?
Yes, with no account and no limits. It runs in your browser, so it keeps working even with a slow connection once the page has loaded.
More free tools
- UUID generatorGenerate random version 4 UUIDs, one or hundreds at a time, in lower or upper case. Free, in your browser, nothing stored.
- JSON formatter and validatorFormat, validate and minify JSON with clear error messages and line numbers. Free, private, runs in your browser.
- Hash generatorWork out SHA-256, SHA-384, SHA-512 and SHA-1 hashes of text or a file, using your browser's built-in cryptography. Free and private.
- Number base converterConvert numbers between binary, octal, decimal and hexadecimal, including very large integers. Free, no sign-up.