GraphQL Formatter
Format and minify GraphQL queries, mutations, and SDL
Pretty-print or minify GraphQL queries, mutations, and schema SDL — syntax-aware formatting in your browser.
Also known as: gql formatter · graphql query formatter · format graphql schema
100% In-Browser & Private — your data never leaves this device
Loading tool...
How to use the GraphQL Formatter
- Paste a GraphQL query, mutation, or schema SDL.
- Choose Pretty print or Minify.
- Copy or download the formatted output.
FAQ
- Does this validate GraphQL syntax?
- Invalid syntax is reported before formatting; fix errors shown in the panel.
- Is my query uploaded?
- No. Formatting runs entirely in your browser.
Suggest an improvementRequest a feature, report an issue, or propose a new tool
Related tools
More private, in-browser utilities you might need next.
Looking for more? Browse all developer tools · All tools