GraphQL to TypeScript

Generate TypeScript types for operation results and variables from your schema and selections. Use aliases, fragments and nullability in client code.

Include any fragments referenced by your operations.

Your input stays in this tab and clears when you reload.