GraphQL Formatter
Beautify GraphQL queries and schemas.Runs in this tab.⌘ ↵ runs it
Next step
AtriumKitFrom the team behind browserutils
Turn a click-through into an interactive demo
AtriumKit records your web app once in Chrome and turns every click into a step of a demo you can embed or share. There’s a free plan.
Try AtriumKit freeAbout GraphQL Formatter
Free online GraphQL formatter and beautifier. Format GraphQL queries, mutations, and schema definitions with proper indentation. It runs in your browser. Nothing is sent to a server.
Questions
How do I format a GraphQL query?
Paste your GraphQL query or schema definition into the input field. The formatter will add proper indentation for nested fields, align arguments, and produce a clean, readable structure.
Does it support mutations and subscriptions?
Yes, the formatter handles all GraphQL operation types including queries, mutations, subscriptions, and schema definitions with type definitions, interfaces, and input types.
Does the GraphQL formatter handle fragments and directives?
Yes, fragments, inline fragments, and directives like @deprecated or @skip are preserved and properly indented in the formatted output.
Is the GraphQL formatter private and secure?
All formatting runs locally in your browser. Your queries and schema definitions are never transmitted to any external service.
Comments
More in Formatters & Beautifiers
- HTML Formatter
- CSS Formatter
- JavaScript Formatter
- SQL Formatter
- XML Formatter
- Markdown Preview
- CSS Minifier
- HTML Minifier
Comments