GraphQL Formatter

Format, minify and validate GraphQL operations.

Loading tool...

Clean GraphQL queries, mutations, subscriptions and fragments before sending them to an API, docs page or teammate.

  • GraphQL syntax validation
  • Query formatting
  • Compact minified output
  • Operation and field counts

Format GraphQL without uploads

The formatter tokenizes GraphQL locally and applies readable indentation for operations, fragments, nested fields and arguments.

Validate before sharing

Syntax checks help catch unclosed braces, brackets, parentheses and strings before a query reaches an API client.

Prepare compact queries

Minified output is useful for pasted snippets, test fixtures and places where compact GraphQL is easier to store.

Private browser-based formatting

GraphQL input is parsed in your browser, so API queries and internal schema notes do not need to be uploaded to a server.

Frequently asked questions

It checks pasted GraphQL for common syntax issues and can produce formatted or minified GraphQL output.

Yes. It supports normal GraphQL documents including queries, mutations, subscriptions and fragments.

No. It only formats and validates pasted GraphQL text in the browser. It does not connect to any API endpoint.

No. The tool runs in your browser, so pasted GraphQL is processed locally on your device.

Buy me a coffee