Format, minify, sort fields alphabetically via AST, validate syntax, and analyze GraphQL operations and schema (SDL).
Paste the operation or the SDL, format or minify, and read the operation analysis.
Paste the query, mutation, or schema into the input. Format indents braces and arguments. Minify strips line breaks so you can paste it into a client that sends the query on one line. The analysis lists the operation type, the name, and the fragments.
query User($id: ID!) { user(id: $id) { name email } } formatted puts each selection on its own line. A missing brace prints the error in the output instead of an indented document. Fragments show up in the panel with the type they are defined on.
It does not run the query against your API, and it does not check that fields exist on your real schema beyond the syntax of the document you pasted. To check a contract, compare the text with the schema in the same paste or in the text diff.
Yes. Formatting a long schema makes it readable. The text is sent to the Utilsbox API to return the result and is not stored as an account.
It does not change the meaning of a selection. Some clients cache on the exact query text; sorting changes that cache key.
In the text diff. The JSON diff does not understand GraphQL.