About JSON to Types.

This is a small, opinionated converter built for one job: to turn a JSON payload into a type declaration you would be willing to merge. It emits interfaces, Zod schemas, Go structs, Rust serde definitions, and GraphQL SDL — all from the same inference pass, so naming and nullability decisions carry through consistently.

Most converters in this category default to any for anything they are not certain about. That keeps the tool technically correct and practically useless — you still have to sit down and name everything by hand. We take the other view: when a payload gives enough signal to make a call, we make it, and we annotate the call in a comment so you can audit it.

What it does not do.

It does not call external APIs. It does not send your payload anywhere. All inference happens in your browser. If the input is sensitive, it stays on your machine.

Who made it.

Built and maintained by one person as part of a small portfolio of tools for developers. Feedback, bug reports, and suggestions are welcome and read.

Contact.

hello@jsontotypes.com