Graphql
Every page in this family starts with the same parser: a GraphQL tokenizer and a recursive-descent SDL reader. A field's type is read from the type graph, so a list inside a non-null is reported as what it is rather than guessed from the text.
Two constructs are refused by name instead of being skipped — `extend` and `directive` definitions — because dropping them silently would produce output that looks complete and is not. Query documents are read by the two pages that need them (variables validation and cost estimation), and a fragment spread is refused there for the same reason.
Nothing leaves the browser: the schema you paste is parsed on the page, and no request is made.
What you can do
- Read a schema into TypeScript, Java, Flow, an introspection document or a schema AST
- Check a variables document against an operation's own declarations
- Estimate an operation's cost field by field, with the arithmetic printed
Popular tasks
Every tool assigned to this category is listed here. The catalog's governance-domain filter is a different axis; to page through the same branch, use the filtered catalog.
Every Graphql tool
GraphQL Beautifier
Format a GraphQL schema with two-space indentation, one field per line and a blank line between definitions. Comments are dropped.
GraphQL Complexity Estimator
Estimate a GraphQL operation's cost from a schema: one point per field, multiplied for list fields and multiplied again through each nesting level.
GraphQL to Flow
Turn a GraphQL schema into Flow object types: non-null fields required, nullable fields optional and nullable, enums as string unions.
GraphQL to Introspection JSON
Turn a GraphQL schema into an introspection document: one entry per type with its fields and a NON_NULL/LIST/named type reference.
GraphQL to Java
Turn a GraphQL schema into Java classes with one private field per schema field, mapped to boxed types so nullable fields hold null.
GraphQL to Schema AST
Parse a GraphQL schema into a schema AST: a Document of type definitions, each with named fields and NamedType, ListType or NonNullType references.
GraphQL to TypeScript
Turn a GraphQL schema into TypeScript interfaces: non-null fields become required, nullable fields optional, enums string unions.
GraphQL Variables Validator
Check a GraphQL variables JSON document against an operation's variable declarations: missing required values, extra keys and wrong types.
JSON to GraphQL
Turn an introspection JSON document back into a GraphQL schema: types, fields, args, interfaces, enums, unions and roots.