GraphQL Query Formatter
Pretty-print or minify GraphQL queries, mutations and fragments, with syntax errors shown by line and column.
Open toolBrowse a GraphQL schema from SDL or introspection JSON: types, fields, arguments, enums, unions and deprecations.
Paste or drop a schema written in SDL, or the JSON result of an introspection query, and explore it like documentation. Root query, mutation and subscription types come first; every type shows its description, fields with arguments and default values, the interfaces it implements, union members, enum values and deprecation reasons. Field types are links, so you can follow a schema from type to type.
Search finds types and fields by name, and you can filter by kind. Introspection results can be downloaded as clean SDL, which is a convenient way to turn an introspection dump into a readable schema file. Nothing is fetched — the tool never contacts your GraphQL endpoint. Everything runs in your browser. Your data is never uploaded, logged or stored.
Your code or text
SDL (.graphql), Introspection result JSON
Processed in this browser
In-browser. Nothing is uploaded.
Your result
Ready to download or copy
Paste SDL or introspection JSON, or drop a file.
Pick a type from the list, or search for a field.
Click field types to jump between them; download the SDL if you need it.
Zero-upload architecture
Free, with no sign-up or watermark · Your files stay on your device
Launch the app and add your file. There is nothing to install and no account to create.
Pick a type from the list, or search for a field.
Click field types to jump between them; download the SDL if you need it.
Pretty-print or minify GraphQL queries, mutations and fragments, with syntax errors shown by line and column.
Open toolPretty-print, beautify and validate JSON with precise error locations, key sorting and custom indentation.
Open toolGenerate TypeScript interfaces or type aliases from sample JSON, with optional keys and nullable fields inferred.
Open toolInfer a starter JSON Schema (draft 2020-12) from sample JSON, with types, nested objects, arrays, required keys and formats.
Open tool