LGA Tools Logo
Banner image for GraphQL Formatter

GraphQL Formatter

GraphQL Formatter

Format and beautify GraphQL queries, mutations, and fragments, or minify them into a single line

GraphQLinput
Formattedoutput
Formatted GraphQL will appear here...
Runs entirely in your browser — no external library or CDN. Handles nested selections, arguments, aliases, variables, directives, fragments, and inline fragments; comments are stripped when minifying since a single-line query can't safely contain a # comment.
Embed Code
Search Tools
Please Write Your Comments
Comments (0)
Leave your comment.
Write a comment
INSTRUCTIONS:
  • Be Respectful
  • Stay Relevant
  • Stay Positive
  • True Feedback
  • Encourage Discussion
  • Avoid Spamming
  • No Fake News
  • Don't Copy-Paste
  • No Personal Attacks