GraphQL Formatter
Format, validate, and minify GraphQL queries with syntax highlighting, query depth analysis, and field counting
How to Use GraphQL Formatter
- Paste or type your GraphQL query into the input textarea, or click an example query button to load a sample
- Click Format to pretty-print with proper indentation, or Minify to compress into a single line
- 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.