How it works
Install
Install GraphQL-Markdown, then choose the Docusaurus plugin or a formatter preset that matches your docs stack.
Configure
Point it at your schema with SDL, introspection, GraphQL Config, or a code-first TS/JS schema source.
Generate
Run the CLI and generate Markdown or MDX documentation ready for your target ecosystem. Choose a path →
Why GraphQL-Markdown?
Schema-to-docs in seconds
Supports SDL files, introspection endpoints, GraphQL config, and code-first TS/JS schemas. Type cross-linking, deprecation notices, and custom directive badges are included out of the box. Get started →
Output adapted for your docs ecosystem
GraphQL-Markdown generates Markdown or MDX, and formatter presets adapt the output for Docusaurus, Hugo, MkDocs, DocFX, mdBook, Astro, Next.js, and other supported targets while preserving each ecosystem's conventions. Explore formatter presets.
Free and open-source
MIT licensed and actively maintained. Used in production by teams worldwide. If it saves you time, consider planting a tree to support the project.