Q2H Tools

GraphQL Formatter

Pretty-print or minify GraphQL queries.

Free · no sign-upPrivate — runs in your browser

Do this next

About the GraphQL Formatter

Formats GraphQL queries, mutations, fragments and schema definitions with consistent indentation, or minifies them for sending.

This tool runs entirely in your browser. Nothing you type is uploaded.

Format, validate and convert JSON, YAML, XML, SQL, HTML, CSS, JavaScript and Markdown instantly in your browser. See all 21 formatters tools →