GraphQL Query Builder
Choose an operation, root field, JSON arguments, and nested fields to build readable GraphQL text.
Builds text locally; never sends a request.
A QUICK WALKTHROUGH
How to use this tool
- Choose query or mutation.
- Enter a root field, optional JSON arguments, and nested fields.
- Build and copy the generated text from the output.
Readable composition
Build a query or mutation with one root field, optional arguments, and whitespace-separated nested fields.
JSON arguments
Arguments are entered as a simple JSON object and converted to GraphQL argument syntax.
No network requests
The output is generated locally and this tool never calls a GraphQL endpoint.
GOOD TO KNOW
Common questions
Does it execute the operation?
No. It only creates GraphQL text.
How do I enter arguments?
Use a JSON object such as {"id":1,"active":true}.
Can I add nested fields?
Yes. Enter field names separated by spaces.