Share
Pretty-print or minify GraphQL queries and SDL.
query
getUser($id: ID
!) {
user(id: $id) {
id
name
email
posts(first: 5) {
id
title
}
}
}
Format messy GraphQL queries, mutations, and SDL schemas with consistent indentation, or minify to a single line. Includes a syntax check that flags unmatched braces, missing brackets, and stray characters.
Quickly format messy GraphQL queries or minify SDL schemas for optimized production use.
Paste your GraphQL code into the editor
Copy your unformatted GraphQL query, mutation, or SDL schema and paste it into the input text area.
Check for syntax errors and unmatched braces
Review the automatic syntax check to identify missing brackets, stray characters, or structural issues in your code.
Choose between formatting or minifying your code
Select the 'Format' option for consistent indentation and readability, or choose 'Minify' to compress the code into a single line.
Copy the processed GraphQL output
Once the tool applies the changes, copy the resulting pretty-printed or minified code to your clipboard for use in your project.
Estimated time: PT1M
Share this tool
Beautify, minify, and validate JSON data instantly.
Format and beautify SQL queries with proper indentation and keyword casing.
Format and beautify or minify JavaScript code instantly.
Encode and decode Base64 strings instantly.
Generate v4 UUIDs instantly, single or in bulk.
Explain any code in plain language — all languages supported.
Percent-encode or decode URL strings instantly.
Encode/decode HTML entities like < > &.
Convert Unix epoch timestamps to/from readable dates.
Convert text or Markdown to a Word .docx file with live preview, RTL, and page-setup options.
See your public IP address plus full location, ISP, ASN, timezone, coordinates, and more.
Load and compare multiple URLs side by side in resizable iframes.
Convert Markdown to a fully customized, RTL-ready PDF.
Play local or online videos with HLS stream support, subtitles, playlist, and bookmarks.
Convert images to video with the Ken Burns zoom/pan effect. Add music and export as WebM.
Convert Markdown to a formatted Word .docx — live preview, RTL, tables, page setup, all client-side.
Buy social media marketing services — followers, likes, views and more.