← All tools

GraphQL Formatter

Parse and format GraphQL documents while preserving strings and numeric values.

Loading GraphQL Formatter…

Using GraphQL Formatter

Which inputs does GraphQL Formatter support?

Paste a GraphQL query, mutation, subscription, or schema document and choose Format GraphQL.

What is an example of the result?

The argument offset: -1 retains its minus sign, and a quoted string "a b" keeps its internal space.

Which limits or failure conditions matter?

A syntax error prevents output. Formatting does not call a GraphQL endpoint or check whether a query matches your server’s schema.

Where is this task processed?

Your input is processed in this browser. Application libraries may be downloaded on first use; the entered content is not sent to a conversion service.