Socket
Book a DemoInstallSign in
Socket

groupdocs-conversion-net

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

groupdocs-conversion-net

GroupDocs.Conversion for Python via .NET is a document conversion API that supports over 10,000 conversion pairs across popular formats and enables developers to easily convert files to various formats, such as PDF, HTML, JPG, or PNG. With this API, you can seamlessly convert a wide range of file types, including popular OpenDocument and Microsoft Office formats like DOCX, XLSX, and PPTX, as well as specialized CAD and graphic editor files like DWG, DXF, PSD, AI, and CDR. Supports Python 3.5 and higher.

pipPyPI
Version
25.12
Maintainers
1

GroupDocs.Conversion for Python via .NET Banner

Product Home | Docs | Live Demos | API Reference | Blog | Search | Free Support Forum | Temporary License

Table of Contents

About

GroupDocs.Conversion for Python via .NET is a document conversion API that lets you easily convert the most popular file formats, including DOCX, XLSX, PPTX, PDF, CAD drawings, and many more. It preserves layout and formatting while offering customization options for each format.

Quick Example: Convert DOCX to PDF

Use a few lines of Python code to convert documents between different formats:

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

# Instantiate Converter with the input document
with Converter("./business-plan.docx") as converter:
    # Instantiate convert options to define the output format
    pdf_convert_options = PdfConvertOptions()

    # Convert the input document to PDF
    converter.convert("./business-plan.pdf", pdf_convert_options)

Key Features

GroupDocs.Conversion for Python via .NET provides a single, unified API for advanced document conversion:

  • Wide format support – Supports over 10,000 conversion pairs across popular formats like Microsoft Office, PDF, HTML, images, CAD drawings, and more without requiring the original applications.
  • Flexible conversion options – Convert entire documents, specific pages, page ranges, or files within document containers such as compressed files and email archives.
  • Format detection – Automatically detects the format of input files, eliminating the need to specify source formats manually.
  • Layout preservation – Maintains original document structure, formatting, and layout during conversion with high fidelity output.
  • Customizable output – Fine-tune conversion settings for each target format, including page size, orientation, quality, and format-specific options.
  • Cross-platform support – Work with documents on Windows, Linux and macOS using the .NET-powered conversion engine from your Python code.

Supported Document Formats

GroupDocs.Conversion for Python via .NET supports a wide range of document families including:

  • Word processing – DOC, DOCX, RTF, TXT, ODT and others
  • PDF & markup – PDF, PDF/A, HTML/MHTML, Markdown, XML
  • Spreadsheets – XLS, XLSX, ODS, CSV and related formats
  • Presentations – PPT, PPTX, ODP and similar formats
  • Email & notes – EML, MSG and related formats
  • eBooks & web content – EPUB, MOBI and others
  • Images – JPEG, PNG, TIFF, GIF, BMP, SVG and more
  • CAD & 3D formats – DWG, DXF, OBJ, 3DS and others

See the complete list of supported document formats.

Getting Started

Prerequisites

  • Python 3.5+
  • .NET 6 runtime or higher
  • Windows, Linux, or macOS

Learn more about system requirements.

Installation

You can install GroupDocs.Conversion for Python via .NET from PyPI or download it from the official website.

Install from PyPI

pip install groupdocs-conversion-net

Upgrade to the latest version

pip install --upgrade groupdocs-conversion-net

Download from the official website

To download the GroupDocs.Conversion package for your operating system, please visit the official GroupDocs Releases website and choose the appropriate package based on your system's architecture.

Learn more about installation.

Use Cases

Beyond basic document conversion, here are the most common use cases for converting documents between different formats.

📁 Code Examples: For complete, runnable examples with sample files, check out the GroupDocs.Conversion for Python via .NET - Code Examples repository. See how to run code examples for more details.

Convert All Pages to Images

This example shows how to convert each slide in a PPTX presentation to a PNG image and save the output images to a specified folder.

from groupdocs.conversion import Converter
from groupdocs.conversion.filetypes import ImageFileType
from groupdocs.conversion.options.convert import ImageConvertOptions

# Instantiate Converter with the input document
with Converter("./basic-presentation.pptx") as converter:
    # Instantiate convert options
    png_convert_options = ImageConvertOptions()
    # Define the output format as PNG
    png_convert_options.format = ImageFileType.PNG

    # Convert all pages and save to the output folder
    converter.convert_by_page("./converted-pages", png_convert_options)

Convert Files Within Document Container

This example shows how to convert each compressed file in a ZIP archive to PDF.

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

# Instantiate Converter with the input document
with Converter("./compressed.zip") as converter:
    # Instantiate convert options
    pdf_convert_options = PdfConvertOptions()

    # Extract, convert and save output files in PDF format
    converter.convert_multiple("./converted-files", pdf_convert_options)

Licensing

For testing without trial limitations, you can request a 30-day Temporary License:

  • Visit the Get a Temporary License page
  • Follow the instructions to request your temporary license
  • Copy the license file and apply it using the code example
import os
from groupdocs.conversion import License

# Get absolute path to license file
license_path = os.path.abspath("./GroupDocs.Conversion.lic")

# Instantiate License and set the license
license = License()
license.set_license(license_path)

This product is licensed under the GroupDocs End User License Agreement (EULA). For pricing information, visit the GroupDocs.Conversion for Python via .NET pricing page.

Support

GroupDocs provides unlimited free technical support for all of its products. Support is available to all users, including evaluation. The support is provided at Free Support Forum, Paid Support Helpdesk and Paid Consulting.

Free Support Forum

The GroupDocs Free Support Forum is available to all users and provides:

  • Direct access to the GroupDocs development team
  • Community-driven support and knowledge sharing
  • No time limitations on support requests
  • Access to historical solutions and discussions

Paid Support Helpdesk

The Paid Support Helpdesk offers:

  • Higher priority response times
  • Dedicated support team
  • Extended support hours
  • Priority issue resolution

Paid Consulting

We can work together with you on your project and develop a part or complete application. If you need new features in the existing GroupDocs product or to create API for new file formats, send us a request at consulting.groupdocs.com/contact.

Additional Resources

Keywords

conversion

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts