DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
HomeDeveloper UtilitiesGraphQL Introspection → SDL

About GraphQL Introspection → SDL

GraphQL Introspection → SDL preview - Developer Utilities tool

Convert GraphQL introspection JSON to SDL schema. Part of the DevTools Surf developer suite. Browse more tools in the Developer Utilities collection.

Use Cases

  • API developers converting runtime schemas to version-controlled SDL files
  • Security auditors documenting API surface area from introspection
  • Migration teams recreating schemas from legacy GraphQL endpoints
  • DevOps engineers generating schema docs from running services

Tips

  • Paste the full introspection JSON including the __schema key
  • Compare generated SDL against your source schema for drift
  • Use the SDL output to initialize schema-first development

Fun Facts

  • GraphQL introspection is a built-in feature of the spec — every compliant server must respond to the __schema query, which is both powerful and a security consideration.
  • Many production APIs disable introspection to prevent schema leakage — Apollo Server has it off by default in production since Apollo Server 4, released in 2022.
  • SDL (Schema Definition Language) was not part of the original GraphQL spec — it was added in the June 2018 specification update after widespread community adoption.

FAQ

What is introspection?
GraphQL's built-in way to query the schema itself. A special `__schema` query returns the entire API shape — types, fields, arguments, descriptions.
Why convert to SDL?
SDL (Schema Definition Language) is more readable than introspection JSON. Useful for committing to git, generating docs, or sharing with other tools.
Does it preserve descriptions?
Yes — descriptions on types, fields, and arguments all carry over as SDL comments. Comments become proper `""" description """` blocks in SDL 2018+.
Can I go SDL → introspection?
Different tool. This one goes introspection → SDL because that's the common debug direction (querying a live server to see its schema).

Related Developer Utilities Tools

Collection JSON → cURLGit Diff → HTMLRegex VisualizerMakefile ExplainerShell Script LinterGitHub Actions VisualizerHAR File ViewerAPI Response Mocker
New · Flagshipsimple REST client

REST Handler — Collections, env vars, history, cURL converter

Send requests, save collections (nested), swap environments, and convert between cURL / Collection JSON / REST Handler YAML.

Open

Popular tools

The most-used tools on DevToolsSurf, one click away.

Encoding & crypto

  • Base64 Encode
  • Base64 Decode
  • URL Encoder
  • URL Decoder
  • Hash Generator
  • JWT Decoder
  • JWT Encoder
  • UUID Generator
  • ULID Generator
  • Password Generator
  • Bcrypt Hash Tester

Converters

  • CSV to JSON
  • JSON to CSV
  • XML to JSON
  • JSON to XML
  • HTML → Markdown
  • HTML → React JSX
  • cURL to Code
  • Collection JSON → cURL
  • Swagger to Collection JSON
  • JSON → Go Struct
  • JSON → TypeScript Types

JSON & YAML

  • JSON Formatter
  • JSON Validator
  • JSON Viewer
  • JSON Minifier
  • JSON Diff
  • JSONPath Tester
  • YAML Formatter
  • YAML to JSON
  • JSON to YAML

Text & regex

  • Regex Tester
  • Text Diff
  • Case Converter
  • Word Counter
  • Markdown Preview
  • Slug Generator
  • Lorem Ipsum Generator
  • Markdown → PDF

CSS & color

  • CSS Beautifier
  • Minify CSS
  • Color Converter
  • Gradient Generator
  • Contrast Checker
  • Color Palette Generator
  • Flexbox Playground
  • Tailwind → CSS

Generators

  • QR Code Generator
  • Mock Data Generator
  • Favicon Generator
  • .gitignore Builder
  • README.md Generator
  • Dockerfile Generator
  • Sitemap Generator

API & networking

  • REST Handler
  • HTTP Header Analyzer
  • IP Address Lookup
  • CIDR Calculator
  • User-Agent Parser
  • HTTP Status Reference
  • OpenAPI Viewer

Date & time

  • Timestamp Converter
  • Timezone Converter
  • Cron Expression Parser
  • Duration Calculator
  • Age Calculator
  • Date Format Converter

Images

  • Image Converter
  • Image Resizer (Batch)
  • SVG Optimizer
  • Base64 ↔ Image
  • WebP ↔ AVIF Converter
  • Image Compressor

PDF tools

  • PDF Merger
  • PDF Splitter
  • PDF Compressor
  • Markdown → PDF
  • EPUB → PDF
  • MOBI / AZW → PDF
  • DOCX → PDF
  • HTML → PDF

Resources

  • Community feed
  • Themes marketplace
  • Pricing & credits
  • Privacy policy
  • Terms of service
  • Sitemap
  • robots.txt

Your account

  • Sign in
  • Dashboard
  • Run history
  • My profile
  • Settings
DevTools Surf logo
DevTools Surf919+ tools

Fast · privacy-first · client-side · © 2026

Home·Feed·ThemesPricing·Sign inPrivacy·Sitemap Feedback