Free to use, no account
GraphQL Formatter
Paste a GraphQL query or schema definition to format it in your browser. The local parser can point out syntax errors. It never runs a query or sends your source to a server.
How do I format GraphQL online?
Paste a query, mutation, subscription or schema definition, then choose Format GraphQL. The first format action loads the local formatter. Copy or download the result when it is ready.
Frequently asked questions
How do I format GraphQL online?
Paste a query, mutation, subscription or schema definition, then choose Format GraphQL. The first format action loads the local formatter. Copy or download the result when it is ready.
Is my GraphQL source uploaded or executed?
No. Formatting runs in this browser after you start it. The tool does not contact a GraphQL API, execute operations, or upload your source. Input is limited to 100,000 characters.
Can I format GraphQL schemas and SDL?
Yes. The parser formats GraphQL queries and schema definition language, including type definitions.
Does this validate my query against a live schema?
No. It checks GraphQL syntax and formatting only. It does not fetch a schema or call an API.
Is my query sent to a GraphQL server?
No. Nothing is executed or uploaded. The formatter runs locally after you press the format button.