Minify GraphQL documents by removing insignificant comments and whitespace.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Comments and optional whitespace are removed between tokens while names, punctuation, string values, and block strings remain unchanged. Compact serialization preserves selection and argument structure.
query {
user(id: 1) {
name
email
}
}
query{user(id:1){name email}}
Persisted query storage, mobile requests, and normalized cache keys minify GraphQL.