Puenbann Logo

JSON to TS / Go Struct Converter

Convert raw JSON into fully-typed TypeScript interfaces or Go structs in your browser.
How to Convert JSON to TypeScript or Go Structs for Free

1. Paste your JSON payload, or load the sample.

2. Set the root name and toggle optional TS fields or Go JSON tags.

3. Click Generate to build typed interfaces and structs.

4. Switch between the TypeScript and Go tabs, then copy the result.

Code Generation in Your Browser

Your JSON is parsed and converted entirely inside your browser. Nothing you paste is ever sent to a server.