Format GraphQL queries and schemas with proper indentation and structure. GraphQL Formatter is a free online tool from the ToolsRift Code Formatters collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.
The formatter handles queries, mutations, subscriptions, fragments, and schema definitions with proper indentation and structure.
Basic syntax formatting is provided. For full validation against a schema, use GraphQL server validation or schema-aware tools.
Yes, the formatter works with both GraphQL queries and schema definition language (SDL) for types, inputs, and directives.