Execute GraphQL queries and mutations directly in your browser. Supports variables, headers, auth, and generates cURL commands.
variables in the request body.countries.trevorblades.com allow browser access — use those to test.
This tool lets you execute GraphQL queries and mutations against any HTTP endpoint directly from your browser. Enter your GraphQL server URL, write your query or mutation in the editor, supply variables as a JSON object, add any required headers or authentication, and click Execute to see the formatted response with a collapsible JSON tree.
It also generates the equivalent cURL command for every request so you can reproduce it from your terminal or share it with teammates. No data is stored — all requests go directly from your browser to the target GraphQL server.
errors array$variablesGraphQL servers that do not include CORS headers will block browser-initiated requests. cURL bypasses CORS because it is a command-line tool, not a browser. To test from the browser, use a GraphQL API that permits cross-origin requests, such as the built-in countries.trevorblades.com example endpoint.
Declare your variables in the query signature, for example query GetUser($id: ID!), then switch to the Variables tab and provide a JSON object like {"id": "123"}. The tool merges them into the request body automatically.
GraphQL can return an HTTP 200 status but still include an errors array in the response body. This means part of the query succeeded and part failed. The red "GraphQL errors" badge appears when the response contains this array so you are not misled by the green HTTP 200 status code.