GraphQL Client

Enter the endpoint URL and a query and press Run: your browser sends it straight to the GraphQL server, and you see data and errors. This site’s server relays nothing and never receives what you enter or your credentials.

To check the types and findings of an SDL (schema.graphql) you already have, or breaking changes between two versions, use GraphQL Schema Check and Breaking Changes.

On-deviceNetwork lookupMobile friendly
Connection

An http:// or https:// URL that accepts GraphQL POSTs. Nothing is sent when the page opens. Only when you press Run or Fetch schema does your browser send the request straight to the other server.

Headers

Headers the browser sets itself (Cookie, Host, Origin, Sec-* and others) cannot be set. Content-Type: application/json is added automatically.

Sent as Authorization: Bearer …. Not saved and not sent to this site’s server.

Query

After you fetch the schema, field and argument names that fit where you are typing are suggested. Press one to insert it.

Response

Press Send and the response appears here.

Schema and docs

Press Fetch schema to get the list of types, fields and arguments and to enable input suggestions.

How to use

  1. Enter the endpoint URL. If it needs authentication, add a Bearer token or headers.

  2. Write the query, add variables as JSON if there are any, and press Run (Ctrl/⌘+Enter also works). If there are several operations, choose the one to run.

  3. The status, time and formatted JSON show on the right. If there are errors, they are listed with message, location and code.

  4. Press Fetch schema to browse types, fields and arguments, and to get suggestions for the field or argument names where you are typing. A root field can give you a query and variables to start from.

  5. The schema can be copied or saved as SDL, and GraphQL Schema Studio can check it for findings and breaking changes.

What it does

Sends straight from your browser

The query goes from your browser directly to the GraphQL server. This site’s server neither relays it nor receives the endpoint, query, variables, headers or token. Opening the page sends nothing.

data and errors shown apart

Errors are listed with message, path, line and column, and the extensions code; data is shown as formatted JSON. JSON that is not a GraphQL response, or an HTML response, is pointed out. The response is only displayed as text.

Schema fetch and docs

The standard introspection query is sent to load the schema. Types are grouped by kind and searchable, with fields, arguments, enum values, implemented interfaces and deprecation marks. Press a return type to go to that type.

Suggestions that fit the position

It follows the nesting of braces and fragments (... on Type) in the query and suggests the field names of the type you are in. Inside parentheses it suggests the argument names of that field. Press a suggestion to insert it.

Failure reasons and safety

When it cannot connect, the likely causes are listed in order: CORS, mixed content, certificates and more. Sending to http:// is warned about as unencrypted. The Authorization value is not saved and is never sent to this site’s server.

Use cases

  • Check that a GraphQL API in development returns the data and errors you expect
  • Find out quickly what types, fields and arguments a schema has
  • Compare how the response changes with other variables or authentication headers
  • Narrow down why a call from the browser is blocked (CORS) using what the browser reports
  • Turn a server’s schema into SDL for design review or comparing versions

Capability matrix

FeatureSupportNotes
Run queries and mutations (POST, JSON), with variables and an operation nameSupported—
Extra headers and a Bearer tokenSupportedNot saved
Fetching the schema (introspection) and type docsSupportedNot available when the server turns introspection off
Suggestions for field and argument namesPartialNo suggestions for types, variable names or directives, and no syntax checking
Building a starting query and variables from a root fieldSupported—
Exporting the schema as SDLSupportedIncludes descriptions and deprecations
Sending to a server that does not allow CORSNot supportedThe browser does not allow it. This site’s server does not relay
Subscriptions (WebSocket, SSE)Not supportedUse the dedicated tools
Running over GET, persisted queries, file upload (multipart)Not supported—
Sending with cookiesNot supportedRequests go without cookies

Limits & notes

  • The query and the variables can each be up to 200,000 characters.
  • The endpoint URL can be up to 2,000 characters, and a URL with a user name or password is refused. Up to 30 headers; those the browser sets (Cookie, Host, Origin …) cannot be set.
  • The first 10 MB of a response is read and the screen shows the first 500,000 characters. A request with no response after 60 seconds is stopped.
  • A schema is read up to 5,000 types. Suggestions show up to 30 at a time.
  • Nothing is saved. When you close the page, your input and the fetched schema are gone.
  • Formatted JSON reads large numbers as JavaScript numbers, so integers with many digits may be rounded.

Privacy & safety

The only server contacted is the endpoint you enter. The request goes straight from your browser to it; this site’s server neither relays nor stores it. The query, variables, headers and token are not saved and never go into the analytics.

FAQ

Why does GraphQL give a CORS error?
The browser hands a response to the page only when the server allows this page’s Origin with Access-Control-Allow-Origin. GraphQL POSTs JSON, so the browser first sends an OPTIONS preflight. The server has to answer it with a 2xx and allow Content-Type and Authorization in Access-Control-Allow-Headers.
Why can’t I fetch the schema?
Production servers often turn introspection off, and then the schema cannot be read. Other causes are missing authentication, a URL that is not a GraphQL endpoint, or CORS. Look at the status and errors that are shown.
Can I use subscriptions?
No. Subscriptions use long-lived connections such as WebSocket or SSE, and this tool runs queries and mutations only. Use the WebSocket client or the SSE client.
How is this different from GraphiQL or Playground?
It runs only in the browser and does not go through this site’s server. In return it cannot send to a server that does not allow CORS. Suggestions are limited to field and argument names where you are typing.
Is the token saved?
No. It disappears when you close the page. The query, variables and headers are not saved either. When you run, the token goes only into the Authorization header.
What can I do with the fetched schema?
Copy or save it as SDL. Paste it into GraphQL Schema Studio to see the type list, findings and possible breaking changes between versions.

GraphQL Schema Check and Breaking Changes

Paste a GraphQL SDL schema (schema.graphql) to list its types, fields and arguments, with issues such as undefined types by line number. Paste an old and a new schema to see breaking change candidates, such as removed fields or newly required arguments, apart from safe changes. Nothing leaves your browser.

No upload

API Client

Enter a method and URL and press Send: your browser sends the request straight to the API, and you see the status, timing, headers and body. This site’s server relays nothing and never receives what you enter or your credentials.

CORS Studio

When the browser blocks a request with a CORS error, paste the request (Origin, method, headers, credentials) and the response headers. The tool says whether the browser allows it and why, header by header, and builds the server settings that allow it.

No upload

curl Converter

Paste “Copy as cURL” from Chrome or Firefox to see the method, URL, headers, cookies and body in tables, then convert to 15 kinds of code. The request is never sent and everything runs in your browser. Authorization and cookies can be hidden before you share.

No upload

WebSocket Client

Enter a ws:// or wss:// URL and press Connect: your browser connects straight to the server, and you can send and log messages. This site’s server relays nothing.

MQTT Client

Enter the URL of an MQTT-over-WebSocket broker (ws:// or wss://) and press Connect: your browser connects straight to the broker and you can subscribe and publish. This site’s server relays nothing. A browser cannot reach plain TCP (port 1883).

Last updated: