GraphiQL

Open Source

by GraphiQL

Provided by GraphiQL

Not yet rated
Platform
Web
Pricing
Open Source
Account required
No
Ads
None
Last verified
9 hours ago
Developer
GraphiQL
Official URL

Overview

GraphiQL is the reference in-browser IDE for GraphQL and an official project of the GraphQL Foundation. It gives you an editor for writing queries against a GraphQL API, runs them, and shows the response next to the query, with the schema's documentation one click away.

Because it reads the API's schema, it can suggest fields, arguments and types as you type, underline errors in queries and variables as they happen, and fill in required sub-fields automatically. There are separate editors for the query, its variables and request headers, a searchable documentation explorer that renders Markdown, and a small plugin system that ships with history, a query builder and saved collections.

GraphiQL is not a hosted service. It is a React component published on npm under the MIT licence, which developers add to their own app or API server, or load from a CDN in a single HTML file. The same repository also holds the GraphQL language service, editor modes for CodeMirror and Monaco, and the GraphQL extensions for VS Code. Many GraphQL servers bundle GraphiQL as their built-in playground.

Features

  • Query editor with syntax highlighting for the current GraphQL specification
  • Type-ahead suggestions for fields, arguments and types
  • Live error highlighting for queries and variables
  • Separate editors for variables and request headers
  • Documentation explorer with search and Markdown rendering
  • Plugin API with history, query builder and collections included
  • Editor state saved in the browser's localStorage
  • Theming through CSS variables
  • Available as an npm package or from a CDN in one HTML file

Privacy

See the official privacy policy. GraphiQL runs in your browser against the GraphQL endpoint you give it and keeps its state in localStorage; the README we read does not describe any data collection.

Pros & Cons

Pros

  • Free and open source under the MIT licence
  • Official GraphQL Foundation project with an active maintainer team
  • Runs in the browser and connects straight to your own API
  • Can be extended with plugins and restyled

Cons

  • A component to embed or host yourself rather than a ready-made website or desktop app
  • Setting it up needs React, React DOM and GraphQL.js
  • Versions before 1.4.7 are vulnerable to XSS when pointed at an untrusted server
  • Fewer team and workspace features than commercial API clients

Community Reviews (0)

No written reviews yet — be the first to rate this tool.

Similar Tools

  • GraphQL Tools · GraphQL

    Defines and documents the GraphQL query language specification.

    Not yet rated
    Open Source Web
  • GraphQL Tools · Apollo GraphQL

    Builds, connects, and manages GraphQL APIs.

    Not yet rated
    Freemium Web
  • GraphQL Tools · Hasura

    Generates a GraphQL API automatically from a database.

    Not yet rated
    Freemium Web