{ }Morph
Converting…

Convert JSON to TypeScript.

Paste an API response or any JSON and get TypeScript types for it. Choose interface or type, name the root type, or switch to Zod or JSON Schema.

Questions

Interface or type — which do I get?

Your choice. Pick interface or type in the options above the result, and set the name of the top-level type.

Can it make a Zod schema instead?

Yes. Choose Zod as the output to get a schema you can use to check data at runtime, or JSON Schema for other tools.

Is it free? Is there a limit?

Yes, it is free: files up to 25 MB, no daily cap, no sign-up and no watermark. Morph is a free tool by Doetra.

Is my data uploaded?

No. Everything is converted in your browser, on your own device. Nothing is sent to a server. Share links carry the data inside the link itself.