Code · Made a little simpler

GraphQL Validator

Validate schema syntax, duplicate definitions, type references and root operation wiring. Read line-aware findings and download a JSON report.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Check a complete saved schema against GraphQL SDL rules and review hints from saved diagnostics.

Optional saved diagnostics

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

GraphQL Validator: how to use it

  1. Paste a complete SDL schema, open its local file or load the workshop schema example.
  2. Optionally paste saved diagnostics to surface suggestion and retry-limit lines.
  3. Select Validate GraphQL schema. Review the source positions and save the JSON report.

Limits and notes

160,000 characters per input and 18,000 GraphQL tokens. Checks the supplied schema SDL and selected cue patterns in saved diagnostics. Composed services need their complete combined schema.

How your privacy works →

GraphQL Validator: common questions

Does the validator check operations as well as SDL?

This validator checks schema type definitions, directives and extensions. The GraphQL Query Builder checks a generated operation against its selected schema.

Where does a suggested type name come from?

GraphQL.js may suggest a similar name already defined in the supplied schema. Suggestions also appear separately when present in saved diagnostics.

Does a retry warning indicate a new attempt?

A retry warning identifies an existing line in pasted diagnostics. It records the source and line for review.

Guides