JSON to TypeScript
Paste a sample JSON response and get interfaces that match it — nested objects become their own named interfaces.
Plain rules: a key missing from some items in an array is marked optional. A value that is null becomes | null (TypeScript) or Optional (Python) — the key itself stays required. Numbers with no decimal point become number / int.
Runs 100% in your browser. Type inference runs on this device against your sample only.
Your input never leaves this page — there is no Hermet server to send it to, and nothing you paste is saved anywhere. Reload with your browser’s Network tab open and watch: no request carries your data, because no request is made at all.