GraphQL Query Formatter
Format and indent GraphQL queries and mutations.
A lightweight brace-based formatter for GraphQL queries and mutations. It re-indents nested selection sets but does not validate against a schema.
GraphQL Query
Formatted
About the GraphQL Query Formatter
Paste a minified or messy GraphQL query or mutation and get it reformatted with properly indented nested selection sets, making it easy to read and review.
Examples
Format query
query{user{id name}}Output
query {
user {
id
name
}
}Related tools
SQL Formatter
Dev Utilities
Format and indent SQL queries for readability.
.htaccess Redirect Generator
Dev Utilities
Generate Apache .htaccess redirect and rewrite rules.
Chmod Calculator
Dev Utilities
Unix permission calculator: checkboxes, octal, and symbolic.
Code Comment Stripper
Dev Utilities
Remove comments from JS, HTML, Python, or SQL source.
Code Diff Merger
Dev Utilities
Side-by-side line diff of two code snippets with stats.
Cron Expression Builder
Dev Utilities
Build cron expressions visually with a human-readable description.
Frequently asked questions
Version 1.0.0 · Updated 2026-08-07 · Runs entirely in your browser