Skip to main content

GraphQL Schema to TypeScript Converter

New

Convert GraphQL SDL into TypeScript interfaces, enums, unions, input types and field-argument types.

graphql to typescriptgraphql sdl to tsgraphql types generatorgraphql schema typescript
Read the guide
Shortcuts:⌘ KSearch

Continue with:

Frequently Asked Questions

Are custom scalars supported?

Yes, map them to string, unknown or any.

Does it handle interfaces and unions?

Yes, plus enums, input types and descriptions as JSDoc.

Is my data uploaded?

No. Everything runs locally in your browser.

Related Tools