GraphQL to TypeScript

TypeScript types for every GraphQL type, input, enum, interface and union, with Maybe<T> for nullable fields and optional resolver signatures.

Frequently asked questions

How are custom scalars typed?

Common ones are mapped (DateTime → string, JSON → unknown, BigInt → string); others become unknown. Edit the generated type alias to change it.

Is GraphQL to TypeScript free?

Yes. GraphQL to TypeScript is free to use. You get 3 free conversions a day without an account, and unlimited use when you sign in with Google.

Are my files uploaded?

No. The conversion runs inside your browser, so your files stay on your device and are never sent to our servers.

Does it work on mobile?

Yes. PixKaro works in Chrome, Safari, Edge and Firefox on Android, iPhone, Windows and Mac.