Skip to content
Toolwright

GraphQL Query Validator

GraphQL Query Validator checks a GraphQL query against an optional schema in your browser. Paste the query and schema, and see syntax errors and schema violations with line and column numbers. Nothing is sent to a server and the query is never executed.

Tool 035 · Developer
Outside requests …How to checkRuns on this deviceWorks offline once opened

How to use GraphQL Query Validator

  1. Paste the GraphQL query or mutation you want to check.
  2. Optionally paste the GraphQL schema in SDL format.
  3. Read the validation result and fix any errors.

Frequently asked questions

Is my query sent to a server?

No. The query and schema are validated locally by graphql-js in your browser. They never leave the tab.

Do I need to provide a schema?

No. Without a schema, the tool checks that the query is valid GraphQL syntax. With a schema, it also checks that fields, arguments and types match.

Does it execute the query?

No. It only parses and validates the query; no resolver is run and no network request is made.

Next step

Format or minify the query next. Open GraphQL Formatter.

  1. 034

    GraphQL Formatter

  2. 059

    JSON Schema Validator

  3. 138

    YAML Validator and Linter

  4. 007

    Chmod Calculator