HomeGraphQL Formatter & Compressor

GraphQL Formatter & Compressor

Online GraphQL formatter and minifier for Query/Mutation/Subscription with one-click beautify and compression

Paste your GraphQL query, mutation, or subscription...
The result will appear here...


Documentation

About GraphQL Formatter & Compressor

This tool beautifies and minifies GraphQL queries, mutations, and subscriptions for cleaner debugging and reusable request templates.

Key Features

  • GraphQL Beautify: Normalize indentation and field hierarchy.
  • GraphQL Minify: Remove unnecessary whitespace.
  • Readable Errors: Show clear processing errors.
  • Quick Copy: Copy output for API tools instantly.

Steps

  1. Paste GraphQL text.
  2. Click format or minify.
  3. Review output and error messages.
  4. Copy result for testing or integration.

FAQ

Are variables and fragments supported?

Yes. Common GraphQL syntax including variables, fragments, and nested fields is supported.

Is my input transmitted remotely?

No. Processing is local in your browser.