GraphQL Formatter

Format, validate, and minify GraphQL queries with syntax highlighting, query depth analysis, and field counting

How to Use GraphQL Formatter

  1. Paste or type your GraphQL query into the input textarea, or click an example query button to load a sample
  2. Click Format to pretty-print with proper indentation, or Minify to compress into a single line
  3. Review query stats (operation type, depth, field count) in the stats bar, then use Copy Formatted or Copy Minified to copy the result

Enable JavaScript to use these tools.