🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

GroupDocs.Conversion

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

GroupDocs.Conversion

This is a cross-platform version of GroupDocs.Conversion for .NET. GroupDocs.Conversion for .NET is a powerful and intuitive library used for documents conversion. Convert DOC to PDF, PDF to DOC, XLS to DOC, PPT to PDF and any other popular file formats with simple, intuitive and flexible API. For more details on the GroupDocs.Conversion for .NET API, please visit product website at: https://products.groupdocs.com/conversion/net Note: The library will run in evaluation mode. In order to test full features of the product, please request a free 30-day temporary license.

25.5.1
NuGet
Version published
Maintainers
2
Created
Source

Document Conversion .NET API

NuGet NuGet Downloads

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License

Important Note: Starting from version 25.1.0, the GroupDocs.Conversion package has been split into two separate packages to better cater to different platforms.

The GroupDocs.Conversion package targets .NET 6 and later, offering cross-platform support for Windows, macOS, and Linux. This package is designed for modern .NET development, providing a streamlined and optimized experience.

For .NET Framework users, we have introduced the GroupDocs.Conversion.NETFramework package. It is specifically tailored for projects targeting .NET Framework 4.6.2 and above. This package ensures compatibility and includes all necessary libraries optimized for the .NET Framework runtime, with improved dependency resolution.

By splitting the package, we aim to provide a more flexible and efficient solution for both modern and legacy development environments. If you have any questions or need assistance, feel free to reach out via our free support forum.

GroupDocs.Conversion is a class-library that enables you to build seamless document conversion applications for mobile, web, and desktop platforms using C#, F#, or VB.NET. It supports more than 10 000 combinations for converting popular file formats in HTML, PNG, JPEG, and PDF. Our library is self-sufficient and doesn't depend on any third-party software, such as Microsoft Word, OpenOffice, or other office suites.

Features

See the Features overview documentation topic for more details.

Supported platforms

  • Windows: Microsoft Windows XP and later, Microsoft Windows Server 2003 and later.
  • Linux: Ubuntu, OpenSUSE, CentOS and others.
  • Mac OS X Catalina (10.15) and later.

See the System requirements documentation topic for more details.

Supported formats

  • Documents: PDF, XPS, TEX
  • Word: DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF, TXT
  • Powepoint: PPT, PPTX, PPS, PPSX, ODP, OTP
  • Excel: XLS, XLSX, XLSM, XLSB, XLTM, XLTX, XLT, XLAM
  • Visio: VSDX, VSDM, VSSX, VSTX, VSTM, VSSM, VSX, VTX, VDX
  • OpenDocument: ODT, OTT, ODS
  • Images: BMP, JPEG, PNG, GIF, TIFF, SVG, PS
  • Diagram: VSDX, DRAW, LUCIDCHART
  • CAD & GIS: DWG, DXF, DWF, IFC, SHP, KML, GEOJSON
  • Audio: MP3, WAV, FLAC, AAC, OGG
  • Video: MP4, AVI, MKV, MOV, WMV
  • 3D & Vector: SVG, AI, EPS, CDR, STL, OBJ, FBX, DAE, GLB
  • eBook: EPUB, MOBI, AZW, FB2
  • Web: HTML, MHTML, MHT
  • Archives: ZIP, TAR, RAR, 7Z, BZ2, GZ
  • Email & Outlook: PST, OST, MSG, EML
  • Finance: QFX, OFX
  • OneNote: ONE

See the Supported file formats documentation topic for a complete list of supported formats.

Getting Started

To get started with GroupDocs.Conversion first you have to install the package using the command for your tool that you can find at the beginning of this page.

You can run the following code snippets in C# to see how our library works. Also feel free to check out the GitHub Repository for other common use cases.

Convert PDF to DOCX

// Load the source PDF file
using (var converter = new Converter("resume.pdf"))
{
    // Set the convert options
    var convertOptions = new WordProcessingConvertOptions();
    
    // Convert PDF to DOCX        
    converter.Convert("resume.docx", convertOptions);
}

Convert PDF to PNG

using GroupDocs.Conversion;
using GroupDocs.Conversion.FileTypes;
using GroupDocs.Conversion.Options.Convert;

// Load the source PDF file
using (var converter = new Converter("resume.pdf"))
{
    var getPageStream = (SavePageContext context) => File.Create($"resume-page-{context.Page}.png");

    // Set the convert options and specify the output image type
    var convertOptions = new ImageConvertOptions { 
        Format = ImageFileType.Png
    };          

    // Convert each page of PDF document to PNG
    converter.Convert(getPageStream, convertOptions);
}

Convert DOCX (pages 2-4) to PDF

using GroupDocs.Conversion;
using GroupDocs.Conversion.Options.Convert;

// Load the source DOCX file  
using (Converter converter = new Converter("booklet.docx"))
{
    // Set the options and specify the range of pages to convert       
    var convertOptions = new PdfConvertOptions 
    { 
      PageNumber = 2, 
      PagesCount = 3 
    };
    
    // Convert pages 2-4 to PDF       
    converter.Convert("pages-2-4.pdf", convertOptions);
}

Convert DOCX to PDF using fluent syntax

using GroupDocs.Conversion;

FluentConverter
    .Load("schedule.docx")
    .ConvertTo("schedule.pdf")
    .Convert();

Support

Our technical support is available to all users, including those evaluating our product. We offer assistance through our Free Support Forum and Paid Support Helpdesk. Let us know if you have any questions or issues, and we'll do our best to help you.

Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License

Keywords

GroupDocs.Conversion

FAQs

Package last updated on 10 Jun 2025

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