GraphQL Formatter & Minifier

Format a query, mutation, fragment or schema for review, or minify it for transport while preserving string values.

Paste an operation, fragments, or schema SDL. Minify removes comments.

Your input stays in this tab and clears when you reload.