GraphQL Formatter
Indent GraphQL queries, mutations and schemas.
What it does
Indents GraphQL queries, mutations, fragments and schema definitions. Useful when a query is stored on one line in code or logs and you need to see which fields it asks for. You get the same GraphQL, readable.
Related tools
More in Code Formatters
XML Formatter
Indent XML, SVG and RSS and check that they are well formed.
HTML Beautifier
Indent HTML so the nesting of tags is easy to follow.
SQL Formatter
Break long SQL queries into lines and capitalise the keywords.
CSS Beautifier
Put each CSS rule and property on its own line with even indentation.
JavaScript Beautifier
Format minified or messy JavaScript with consistent indentation.
CSS Minifier
Remove comments and whitespace from CSS to make the file smaller.
JavaScript Minifier
Shrink JavaScript by removing comments, whitespace and line breaks.
HTML Minifier
Remove comments and extra whitespace from HTML.
GraphQL Formatter questions
How do I use the GraphQL Formatter?
Paste the text into the Input box or open a file, set the options, then copy or download the result.