GraphQL Playground

Test GraphQL queries against any endpoint right in your browser — query editor, variables, headers, operation detection, and formatted responses with GraphQL errors surfaced clearly. No CORS errors, no install.

graphql playgroundgraphiql onlinegraphql client onlinetest graphql query onlinegraphql api testergraphql query tester
Query
About this tool

A browser-based GraphQL client: point it at any GraphQL endpoint, write or paste a query, add variables and headers, and inspect the response — no GraphiQL install and no CORS errors, because the request is proxied server-side.

Requests run from the edge with a 20-second timeout. Local and private-network addresses are blocked for safety, and any GraphQL errors the server returns are listed above the raw body.

If an endpoint answers with a 301/302/303 redirect, the request is re-sent as a GET (standard fetch behavior), so an endpoint that redirects to its canonical URL will respond with a 400 — paste the canonical URL instead.

Why GraphQL Playground?

Every GraphQL project reaches the same point: the schema is up, the query looks right, and the response is still an opaque wall of JSON — or worse, an errors array you have to decode by hand. This playground sends your query from the edge to any GraphQL endpoint, so there are no CORS errors and no GraphiQL instance to stand up, and it separates the GraphQL errors the server returned from the raw body, so a failed validation is never hidden behind a 200 status.

  • GraphQL servers usually answer 200 even for invalid queries — the failure lives in the errors array, and this tool pulls those messages out and shows them above the body.
  • The operation type is detected automatically (query, mutation, subscription), and the variables editor accepts a JSON object only, so a malformed variables map is caught before it reaches the endpoint.
  • Headers are forwarded with the request, so authenticated endpoints work — tokens are sent to the endpoint you choose and never stored.
  • Pair it with the HTTP API Tester when you need a raw non-GraphQL call, and the JSON Formatter when a response needs deeper inspection.

What is GraphQL Playground?

GraphQL Playground is a browser-based GraphQL client: point it at any GraphQL endpoint, write or paste a query, add variables, headers, and an optional operation name, then send it. The response comes back formatted, with any GraphQL errors the server returned listed above the raw body — so a mutation that fails validation is as easy to read as a successful query. Requests run through a server-side proxy, so there are no CORS errors and no GraphiQL instance to install.

Common Use Cases

API Development

Exercise your own GraphQL endpoint during development — test queries, mutations, variables, and auth headers without leaving the browser.

Debugging

Reproduce a failing query from a bug report or docs page exactly as written and read the real response, including the GraphQL errors array.

Integration Verification

Confirm the shape of the data an endpoint actually returns before wiring it into a client, page, or test fixture.

Learning

Explore public GraphQL APIs interactively — the Countries, SWAPI, PokeAPI, and Rick & Morty samples are one click away.

How to Use This Tool

  1. Enter the endpoint URL (https:// is added automatically if you omit it), or click a sample chip to load a known public API
  2. Write or paste your query — the operation type (query, mutation, or subscription) is detected automatically
  3. Add variables as a JSON object and any headers you need (for example an Authorization token)
  4. Click Send Query and inspect the status, timing, data fields, any GraphQL errors, and the raw body — use Pretty/Raw to toggle formatting

Related Tools

Learn More