About this GraphQL Formatter
Paste a one-line query from your network tab into this GraphQL formatter to see its structure. Schemas (SDL) are supported too.
Features
- Queries, mutations, subscriptions, fragments
- Schema (SDL) formatting
- GraphQL minifier
How to use
- Paste a GraphQL query or schema.
- Press Beautify or Minify.
- Copy the result.
Frequently asked questions
Can I format a GraphQL schema?
Yes. Type definitions, inputs, enums and directives are all supported.
More free formatters
- BeautifyAll-in-one beautifier
- JSON Beautifier & FormatterFormat & validate JSON
- XML Beautifier & FormatterPretty print XML
- HTML Beautifier & FormatterClean up HTML markup
- CSS Beautifier & FormatterFormat CSS, SCSS & LESS
- JavaScript Beautifier & FormatterBeautify JS code
- TypeScript Formatter & BeautifierFormat TS code
- SQL Formatter & BeautifierFormat SQL queries
- YAML Formatter & ValidatorFix YAML indentation
- Markdown FormatterTidy Markdown docs
- Text BeautifierClean up plain text