Skip to main content
>_devtools

GraphQL Introspection to SDL

Convert a local GraphQL introspection JSON result to canonical SDL, with optional lexicographic sorting.

How to use it

Convert a local GraphQL introspection JSON result to canonical SDL, with optional lexicographic sorting. Paste an introspection JSON result and choose whether type names should be sorted in the SDL output.

Example

Input: {"data":{"__schema":{"queryType":{"name":"Query"},"types":[]}}}
Output: schema { query: Query }

Limits and behavior

  • The converter preserves only details available in standard introspection.
  • Input is limited to 5 MiB and parsing is bounded.