JSON WalletPrivacy-first JSON & API workspace

JSON to TypeScript

Paste JSON and get ready-to-use TypeScript interfaces. Nested objects become their own interfaces and fields that are sometimes missing are marked optional. Everything runs locally in your browser.

Input
TypeScript

Frequently asked questions

Does my JSON get uploaded?

No. Interfaces are generated entirely in your browser — nothing is sent to a server.

How are optional fields decided?

When you paste an array of objects, a field that is missing (or null) in any element is marked optional with ?.

Press K for commands