GraphQL Formatter

Free online GraphQL formatter. Instantly beautify, indent, and format GraphQL queries, mutations, subscriptions, and schema SDL definitions. No install needed.

GraphQLNew
100% Client-Side — Processed in your browser. Zero data leaves your device.
Input GraphQL
Ready
Formatted Output
—

Frequently Asked Questions

Does it format GraphQL schema SDL?

Yes. The formatter handles both GraphQL query documents and Schema Definition Language (SDL) files.

Does it work with Apollo?

Yes. The formatter is compatible with GraphQL queries used in Apollo Client, Relay, and any other GraphQL client.