Local StudioDEVELOPER TOOLS GraphQL Query Formatter
100% Offline Download Tool Tools Catalog

GraphQL Query Formatter

Format GraphQL queries and documents with readable indentation. Compare the original and formatted text before copying or downloading.

Choose GraphQL and Style

Instructions

  1. Open a UTF-8 GraphQL file or choose Paste GraphQL. Open Sample demonstrates an operation with a variable and a fragment.
  2. Choose indentation and definition spacing, then format the source.
  3. Compare the original and formatted GraphQL. Choose Copy GraphQL or Download GraphQL.

UTF-8 GraphQL up to 512 KiB and 96 nested delimiters, with a parser ceiling of 150,000 tokens and up to 2 MiB of formatted output.

Security Check

GraphQL Query Formatter

Format GraphQL locally. Queries and URLs stay as text.

  • Preserve Comments and LiteralsKeep comments, quoted strings, escapes and block strings intact.
  • Adjust the LayoutChoose indentation and spacing between definitions.
  • Copy or Download GraphQLReview the checked result before saving or reusing it.

Local Security Check

Checking This Tool

Checking the launch, browser policy, and resources.

    These checks cover this tool page. Website links open only when selected.

    File Access

    The browser reads the GraphQL you choose or paste. Operations, schema names, strings, and URLs stay as local text.