Build GraphQL queries and mutations visually — pick fields and arguments, get a copy-ready query string.
How to use this tool
Pick the operation type and optionally name the operation.
Enter the root field (e.g. users, or createUser for a mutation).
One field per line. Nested selections can be written inline, e.g. posts { title }.
Add arguments as key: value lines ($var for variables), then copy the finished query.
Formula & worked example
query GetUsers { users(limit: 10) { id name } } is built from operation GetUsers, root field users, argument limit: 10 and fields id and name.
Limitations — read this before you rely on it
This tool builds a query or mutation string and checks brace balance only. It does not run the query, validate it against a schema, or check that fields exist on your server — an unknown field will still be emitted. Paste the output into your GraphQL client to run it.
Frequently asked questions
No. It builds the query string only. Paste it into a GraphQL client (GraphiQL, Apollo Studio, your app) to execute it.
Write the variable in the arguments list as $userId and declare it in your client as ($userId: ID!). Variables are passed through unquoted.
No. It only checks brace balance. A field that does not exist on your server will still be emitted, so check field names against your schema.
Yes — choose mutation as the operation type and use a mutation root field such as createUser.
Yes, inline — write posts { title } as one field line, or list subfields on their own lines inside the braces.
