Basic Usage

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Markdown MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-markdown -- dnx GroupDocs.Markdown.Mcp --yes
Folders, licensing and more →

Quick start with GroupDocs.Markdown API

GroupDocs.Markdown provides both static methods and an instance API for converting documents to Markdown with just a few lines of code.

Static methods – call MarkdownConverter.to_markdown() or MarkdownConverter.to_file() for one-line conversions without managing object lifetime.

Instance API – create a MarkdownConverter instance when you need to inspect document metadata first with get_document_info(), or perform multiple operations on the same document.

Explore the topics in this section:

  • Convert files – convert PDF, Word, Excel, EPUB, and text documents to Markdown.
  • Get document info – retrieve document metadata such as format, page count, title, and author without performing a full conversion.