AltraTools

GraphQL Query Formatter

Format, beautify, and minify GraphQL queries and mutations. Make your GraphQL operations readable and clean.

📋

Queries

Format read operations with proper indentation

✏️

Mutations

Beautify write operations and their inputs

📡

Subscriptions

Format real-time subscription queries

GraphQL Tips

  • • Use descriptive operation names: query GetUserById
  • • Define variables at the top: ($id: ID!, $limit: Int = 10)
  • • Use fragments for reusable fields: fragment UserFields on User { ... }
  • • Add @skip and @include directives for conditional fields