Use GraphQL Playground

Enter your data below to use the GraphQL Playground

📌 Try these examples:
RESULT

Last updated

Tips for Using the GraphQL Playground

Examples

Example 1: Connecting to a GraphQL Endpoint

Endpoint URL: https://api.example.com/graphql

HTTP Headers (for authenticated APIs):
{
  "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "Content-Type": "application/json",
  "X-API-Key": "your-api-key-here"
}

Example 2: Basic Query

query {
  users {
    id
    name
    email
  }
}

Response:

{
  "data": {
    "users": [
      { "id": "1", "name": "Alice", "email": "alice@example.com" },
      { "id": "2", "name": "Bob", "email": "bob@example.com" }
    ]
  }
}

Example 3: Query with Variables

Query (in the editor tab):

query GetUser($id: ID!) {
  user(id: $id) {
    id
    name
    email
    role
    createdAt
  }
}

Variables (in the variables panel):

{
  "id": "user_123"
}

Response:

{
  "data": {
    "user": {
      "id": "user_123",
      "name": "Alice",
      "email": "alice@example.com",
      "role": "ADMIN",
      "createdAt": "2025-01-15T10:30:00Z"
    }
  }
}

Frequently Asked Questions

Simply enter your data, click the process button, and get instant results. All processing happens in your browser for maximum privacy and security.

Yes! GraphQL Playground is completely free to use with no registration required. All processing is done client-side in your browser.

Absolutely! All processing happens locally in your browser. Your data never leaves your device, ensuring complete privacy and security.