GraphQL Playground

Write and format GraphQL queries with syntax highlighting and auto-indentation. Generate query variable templates and visualize query structure. Supports queries, mutations, and subscriptions.

POST
Examples:
Ctrl+Enter to run

No response yet

Click Run Query or press Ctrl+Enter

GraphQL Quick Reference

Operation Types

queryRead / fetch data
mutationWrite / modify data
subscriptionReal-time data stream

Syntax

$var: Type!Required variable
$var: Type = valVariable with default
...FragNameSpread fragment
alias: fieldField alias
@skip(if: $v)Skip directive
@include(if: $v)Include directive

Scalar Types

StringUTF-8 text
Int32-bit integer
FloatDouble precision
Booleantrue / false
IDUnique identifier

Related Tools