Skip to content

GraphQL Playground

Embed

Paste this where you want GraphQL Playground on your site. Adjust the height to fit.

<iframe src="https://www.browserutils.dev/embed/graphql-playground/" width="100%" height="500" frameborder="0" loading="lazy" title="GraphQL Playground"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://www.browserutils.dev/tools/graphql-playground/">GraphQL Playground</a> by BrowserUtils</p>

Write, format, and validate GraphQL queries.Runs in this tab.

Variables (JSON)

Next step

About GraphQL Playground

Free online GraphQL playground. Write GraphQL queries with a variables editor, format and prettify queries, and validate basic syntax. It runs in your browser. Nothing is sent to a server.

Questions

Can I test queries against a real API?
This is a client-side editor for writing, formatting, and validating GraphQL queries. For testing against a live API, use the query output with your API client or GraphQL endpoint.
Does it support variables?
Yes, enter your query variables as JSON in the variables panel. The playground validates the JSON and shows the complete request payload.
Is the GraphQL playground safe for internal queries?
Yes, all editing and formatting run in your browser. No queries or variables are sent to any server unless you explicitly use them with an external API client.
Does the GraphQL playground work offline?
Once the page is loaded, the editor, formatter, and validator run entirely in your browser with no network requests.
Can I format and prettify a GraphQL query?
Yes, the playground includes a format button that indents and aligns your query for readability, fixing inconsistent spacing and line breaks.

More in Code Generators

All 26 code generators