GroupDocs.Conversion 25.2.0

dotnet add package GroupDocs.Conversion --version 25.2.0                
NuGet\Install-Package GroupDocs.Conversion -Version 25.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GroupDocs.Conversion" Version="25.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GroupDocs.Conversion --version 25.2.0                
#r "nuget: GroupDocs.Conversion, 25.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GroupDocs.Conversion as a Cake Addin
#addin nuget:?package=GroupDocs.Conversion&version=25.2.0

// Install GroupDocs.Conversion as a Cake Tool
#tool nuget:?package=GroupDocs.Conversion&version=25.2.0                

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

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
25.2.0 695 2/27/2025
25.1.0 5,282 1/30/2025
24.12.0 15,591 12/20/2024
24.11.0 7,377 11/29/2024
24.10.0 11,073 10/31/2024
24.9.0 18,513 9/30/2024
24.8.0 10,143 8/23/2024
24.7.0 10,194 7/31/2024
24.6.0 22,839 6/28/2024
24.5.0 17,711 5/31/2024
24.4.0 13,106 4/30/2024
24.3.0 48,917 3/28/2024
24.2.0 26,236 2/29/2024
24.1.0 55,661 1/31/2024
23.12.0 32,434 12/22/2023
23.11.0 26,179 11/30/2023
23.10.0 19,247 10/31/2023
23.9.0 35,046 9/30/2023
23.8.0 31,755 8/31/2023
23.7.0 41,916 7/31/2023
23.6.0 101,080 6/20/2023
23.5.0 14,201 5/31/2023
23.4.0 35,093 4/28/2023
23.3.1 36,851 4/3/2023
23.3.0 12,938 3/30/2023
23.2.0 38,632 2/28/2023
23.1.0 185,860 1/31/2023
22.12.0 41,985 12/20/2022
22.11.0 15,662 11/30/2022
22.10.0 25,405 10/31/2022
22.9.0 32,388 9/30/2022
22.8.0 26,622 8/31/2022
22.7.0 94,751 7/31/2022
22.6.0 49,601 6/28/2022
22.5.0 24,546 5/31/2022
22.4.0 49,943 4/21/2022
22.2.0 60,887 3/1/2022
22.1.0 34,365 1/29/2022
21.11.0 25,131 11/30/2021
21.10.0 30,244 10/31/2021
21.9.1 25,963 10/6/2021
21.9.0 16,320 10/1/2021
21.8.0 20,116 8/3/2021
21.5.0 35,882 5/29/2021
21.3.1 34,944 4/12/2021
21.3.0 37,349 3/30/2021
21.2.0 45,285 2/28/2021
21.1.0 38,749 1/31/2021
20.12.0 68,935 12/21/2020
20.11.0 41,082 11/11/2020
20.10.0 33,764 10/14/2020
20.9.0 18,369 9/30/2020
20.8.0 28,997 8/31/2020
20.7.0 29,208 7/31/2020
20.6.0 102,943 6/9/2020
20.4.0 44,437 4/30/2020
20.3.0 57,781 3/19/2020
20.1.0 49,428 1/29/2020
19.12.1 45,804 1/2/2020
19.12.0 6,516 12/30/2019
19.11.0 39,496 11/30/2019
19.10.0 7,658 10/31/2019
19.9.0 10,836 9/23/2019
19.6.0 7,889 6/27/2019
19.5.0 5,020 5/28/2019
19.4.0 5,584 4/30/2019
19.3.0 4,821 3/6/2019
19.1.0 4,898 1/30/2019
18.11.0 4,930 11/30/2018
18.10.0 6,683 10/16/2018
18.9.0 4,998 9/30/2018
18.8.0 6,474 8/14/2018
18.7.0 5,021 7/9/2018
18.6.0 4,950 6/19/2018
18.5.0 4,995 5/23/2018
18.4.0 5,307 4/20/2018
18.3.0 4,304 3/21/2018
18.2.0 4,580 2/16/2018
18.1.0 4,997 1/23/2018
17.12.0 4,594 12/13/2017
17.11.0 4,548 11/19/2017
17.10.0 4,862 10/26/2017
17.9.0 4,896 9/20/2017