1. GroupDocs Documentation
  2. /
  3. GroupDocs.Conversion Product Family
  4. /
  5. GroupDocs.Conversion for Python via .NET

GroupDocs.Conversion 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.Conversion 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-conversion -- dnx GroupDocs.Conversion.Mcp --yes
Folders, licensing and more →
groupdocs-conversion-python-net-home PyPI package PyPI downloads

Release notes Download from PyPI Online app

GroupDocs.Conversion for Python via .NET is a document conversion API that enables easy conversion of popular file formats, including DOCX, XLSX, PPTX, PDF, CAD drawings, and more. It preserves layout and formatting, offering extensive customization options for each format.

Quick example

from groupdocs.conversion import Converter
from groupdocs.conversion.options.convert import PdfConvertOptions

# Convert a DOCX file to PDF
with Converter("business-plan.docx") as converter:
    converter.convert("business-plan.pdf", PdfConvertOptions())

Features

  • Wide Format Support: Supports over 10,000 conversion pairs across popular formats like Microsoft Office, PDF, HTML, and more.
  • Flexible Conversion Options: Convert entire documents, specific pages, page ranges, or files within document containers such as compressed files.
  • Format Detection: Automatically detects the format of input files.

Supported File Formats

GroupDocs.Conversion supports a wide range of file formats. For a complete list, see the full list of supported formats.

  • Microsoft Office (Word, Excel, PowerPoint)
  • PDF (Standard PDFs, PDF/A)
  • OpenDocument (ODT, ODS, ODP)
  • Images (JPEG, PNG, TIFF)
  • Email (EML, MSG)
  • eBook (EPUB, MOBI)
  • Text/Markdown (TXT, MD)
  • HTML/Web (HTML, MHTML)
  • AutoCAD (DWG, DXF)
  • 3D Models (OBJ, 3DS)

Getting Started

To get started, refer to the System Requirements, Supported File Formats, Installation, and Quick Start Guide sections for setup instructions.

Developer Guide

For practical code examples and explanations of basic and advanced conversion functions, see the Developer Guide section. This guide includes instructions on loading documents, retrieving document metadata, and performing conversions.

Technical Support

If you experience any issues or have suggestions, please refer to the Technical Support topic. This topic provides multiple support channels tailored to your needs.