YourTools.
简体中文
Back to the catalog
Tools

JSON to code types

Generate TypeScript interfaces, C# classes, Java records, Go structs, Rust serde structs or Python dataclasses from sample JSON. Fields missing from some samples become optional.

Process locally

Files stay in this browser session. Closing or clearing releases them.

Add text

Type or paste the text to process

Adjust settings

Optional: Language, Root type name

JSON to code types

Run

Processes in this browser; cancel at any time

Add text first