GraphQL Formatter
Format GraphQL queries, mutations and schema definitions and identify syntax errors locally.
Runs in your browser.
Tool settings
Result
How to use this tool
Paste a GraphQL query, mutation or schema and run the formatter. A syntax error is shown for invalid documents.
Example input
query { user(id: "1") { id name } }