GraphQL Formatter & Beautifier
Pretty-print GraphQL queries with one field per line.
0 Characters · 0 Words · 0 Lines
About the GraphQL Formatter & Beautifier
GraphQL copied out of a network tab or a minified client bundle arrives as one impenetrable line. This formatter rebuilds the structure: every field of a selection set on its own line, nested sets indented, arguments kept compactly inline, and a blank line between top-level operations.
It understands queries, mutations, subscriptions, fragments and schema definitions, keeps string arguments byte-for-byte intact, and preserves # comments on their own lines. Formatting is local - your schema details stay in your tab.
How to use it
- 1Paste a GraphQL document (query, mutation, fragment or schema).
- 2The formatted version appears instantly, one field per line.
- 3Copy it into your .graphql file, playground or documentation.
Frequently asked questions
Related tools
Base64 Encoder & DecoderEncode and decode Base64 instantly, Unicode-safe.URL Encoder & DecoderEscape and unescape URLs and query strings safely.Binary Code TranslatorTranslate text to binary code and back, live.Hex to Text ConverterConvert text to hexadecimal and back, UTF-8 safe.Morse Code TranslatorTranslate, decode and hear Morse code with real audio.ROT13 Encoder / DecoderHide and reveal text with the classic ROT13 cipher.