Description
GraphQL-Markdown generates documentation from a GraphQL schema as Markdown or MDX. You point it at your schema, which can be SDL files, an introspection endpoint, a GraphQL Config file or a code-first TypeScript or JavaScript schema, and run the CLI to get pages ready for your docs site. The output is adapted to the ecosystem you use through formatter presets for Docusaurus, Nuxt, Astro and Starlight, Next.js with Fumadocs, Hugo, MkDocs, mdBook and DocFX, among others. Types are cross-linked, deprecations are flagged, and custom directive badges are included out of the box. To start from scratch, the npm create command scaffolds a full API reference site with a Nuxt theme, and a Docusaurus plugin is available for existing sites. The site lists companies such as Saleor and IOTA among its users and reports more than 12,000 weekly downloads. The project is free and open source, with its code and contributors on GitHub. It is aimed at teams that publish API documentation for a GraphQL service and want it to match the docs tools they already use.…
Highlights
- Markdown or MDX output from any GraphQL schema
- Reads SDL, introspection, GraphQL Config and code-first schemas
- Formatter presets for Docusaurus, Nuxt, Hugo and more
- Type cross-links and deprecation notices
- Scaffolds a Nuxt or Docusaurus docs site
Ratings & Reviews
No ratings yet
Be the first to rate GraphQL-Markdown.
People also visit

api-documentation-generator
Generate comprehensive, developer-friendly API documentation from code
GraphQL-Markdown FAQ
What does GraphQL-Markdown do?
It generates Markdown or MDX documentation from a GraphQL schema.
Where does the schema come from?
SDL files, an introspection endpoint, GraphQL Config or a code-first TypeScript or JavaScript schema.
Can I use it with my existing docs site?
Yes. The site lists a Docusaurus plugin and formatter presets for Hugo, MkDocs, DocFX, mdBook and others.
How do I start a new docs site?
Run npm create graphql-markdown-docs@latest to scaffold a Nuxt or Docusaurus site.
Is it free?
Yes. It is free and open source.
What are the best GraphQL-Markdown alternatives?
Popular alternatives to GraphQL-Markdown include Graphql Docs, Docsify and Prismabuilder.io. See all GraphQL-Markdown alternatives









