1. GroupDocs Documentation
  2. /
  3. GroupDocs.Markdown
  4. /
  5. GroupDocs.Markdown for Python

GroupDocs.Markdown for Python via .NET

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 →
groupdocs-markdown-python-net-home PyPI package PyPI downloads

Release notes Download from PyPI

GroupDocs.Markdown for Python via .NET converts documents from 30+ formats into clean, structured Markdown. Built for AI/LLM pipelines, static site generators, and document processing workflows.

Quick example

# Import package
from groupdocs.markdown import MarkdownConverter

# Convert document to markdown
md = MarkdownConverter.to_markdown("business-plan.docx")

# # Quarterly Report
# ## Executive Summary
# This report covers the key initiatives...

Why GroupDocs.Markdown?

  • 30+ input formats — PDF, Word, Excel, EPUB, MOBI, TXT, CHM, and more
  • Markdown flavor control — GitHub Flavored Markdown or strict CommonMark
  • Flexible image handling — Base64, file system with relative paths, skip, or custom callbacks
  • YAML front matter — auto-extract metadata for Jekyll, Hugo, Docusaurus
  • Document inspection — read page count, title, author without converting
  • Custom DOM renderer — full control over every aspect of the output
  • No external dependencies — no Microsoft Office, no Adobe Acrobat
  • Cross-platform — Windows, Linux, macOS