GroupDocs.Conversion
24.12.0
dotnet add package GroupDocs.Conversion --version 24.12.0
NuGet\Install-Package GroupDocs.Conversion -Version 24.12.0
<PackageReference Include="GroupDocs.Conversion" Version="24.12.0" />
paket add GroupDocs.Conversion --version 24.12.0
#r "nuget: GroupDocs.Conversion, 24.12.0"
// Install GroupDocs.Conversion as a Cake Addin #addin nuget:?package=GroupDocs.Conversion&version=24.12.0 // Install GroupDocs.Conversion as a Cake Tool #tool nuget:?package=GroupDocs.Conversion&version=24.12.0
Document Conversion .NET API
Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License
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
- Thousands of different file conversion pairs: office documents, presentations, spreadsheets, images and much more.
- Ability to convert whole document or specific pages range.
- Place watermarks at document pages during conversion.
- Huge amount of additional options to customize the appearance of the converted document.
- Load document from Amazon S3, Azure Blob, FTP, or from local disk.
- Load document via stream or from a specific URL.
- Load password-protected documents.
- Enable listening of conversion process stages.
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.
If you build applications for Linux and macOS, we recommend using GroupDocs.Conversion.CrossPlatform package instead of this one. GroupDocs.Conversion.CrossPlatform
does not use on System.Drawing.Common
as a graphical subsystem, which is only supported on Windows.
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 = (int page) => File.Create($"resume-page-{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 | Versions 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. |
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.2
- MessagePack (>= 2.5.192)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.0)
- System.Buffers (>= 4.5.1)
- System.Diagnostics.DiagnosticSource (>= 7.0.0)
- System.Drawing.Common (>= 5.0.3)
- System.Numerics.Vectors (>= 4.5.0)
- System.Reflection.MetadataLoadContext (>= 8.0.1)
- System.Security.Permissions (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 8.0.0)
- System.Text.Json (>= 8.0.5)
-
net6.0
- Aspose.Drawing.Common (>= 24.12.0)
- MessagePack (>= 2.5.192)
- Microsoft.Extensions.DependencyModel (>= 2.0.4)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.0)
- Newtonsoft.Json (>= 13.0.3)
- SkiaSharp (>= 2.88.9)
- System.Buffers (>= 4.5.1)
- System.Diagnostics.DiagnosticSource (>= 7.0.0)
- System.Drawing.Common (>= 8.0.0)
- System.Numerics.Vectors (>= 4.5.0)
- System.Reflection.MetadataLoadContext (>= 8.0.1)
- System.Security.Cryptography.Pkcs (>= 8.0.1)
- System.Security.Permissions (>= 8.0.0)
- System.Text.Encoding.CodePages (>= 8.0.0)
- System.Text.Json (>= 8.0.5)
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 |
---|---|---|
24.12.0 | 1,661 | 12/20/2024 |
24.11.0 | 5,560 | 11/29/2024 |
24.10.0 | 9,163 | 10/31/2024 |
24.9.0 | 12,345 | 9/30/2024 |
24.8.0 | 9,438 | 8/23/2024 |
24.7.0 | 7,959 | 7/31/2024 |
24.6.0 | 15,913 | 6/28/2024 |
24.5.0 | 12,562 | 5/31/2024 |
24.4.0 | 12,730 | 4/30/2024 |
24.3.0 | 41,949 | 3/28/2024 |
24.2.0 | 22,035 | 2/29/2024 |
24.1.0 | 43,891 | 1/31/2024 |
23.12.0 | 27,650 | 12/22/2023 |
23.11.0 | 21,754 | 11/30/2023 |
23.10.0 | 18,792 | 10/31/2023 |
23.9.0 | 30,908 | 9/30/2023 |
23.8.0 | 27,690 | 8/31/2023 |
23.7.0 | 36,673 | 7/31/2023 |
23.6.0 | 84,857 | 6/20/2023 |
23.5.0 | 14,121 | 5/31/2023 |
23.4.0 | 31,022 | 4/28/2023 |
23.3.1 | 36,430 | 4/3/2023 |
23.3.0 | 12,927 | 3/30/2023 |
23.2.0 | 37,304 | 2/28/2023 |
23.1.0 | 156,980 | 1/31/2023 |
22.12.0 | 38,255 | 12/20/2022 |
22.11.0 | 14,918 | 11/30/2022 |
22.10.0 | 25,056 | 10/31/2022 |
22.9.0 | 31,071 | 9/30/2022 |
22.8.0 | 26,029 | 8/31/2022 |
22.7.0 | 87,527 | 7/31/2022 |
22.6.0 | 47,047 | 6/28/2022 |
22.5.0 | 24,361 | 5/31/2022 |
22.4.0 | 49,598 | 4/21/2022 |
22.2.0 | 59,133 | 3/1/2022 |
22.1.0 | 31,774 | 1/29/2022 |
21.11.0 | 25,115 | 11/30/2021 |
21.10.0 | 29,850 | 10/31/2021 |
21.9.1 | 25,747 | 10/6/2021 |
21.9.0 | 16,032 | 10/1/2021 |
21.8.0 | 19,886 | 8/3/2021 |
21.5.0 | 34,942 | 5/29/2021 |
21.3.1 | 34,694 | 4/12/2021 |
21.3.0 | 36,765 | 3/30/2021 |
21.2.0 | 40,228 | 2/28/2021 |
21.1.0 | 38,507 | 1/31/2021 |
20.12.0 | 67,399 | 12/21/2020 |
20.11.0 | 40,515 | 11/11/2020 |
20.10.0 | 33,245 | 10/14/2020 |
20.9.0 | 17,938 | 9/30/2020 |
20.8.0 | 28,585 | 8/31/2020 |
20.7.0 | 29,099 | 7/31/2020 |
20.6.0 | 102,028 | 6/9/2020 |
20.4.0 | 43,812 | 4/30/2020 |
20.3.0 | 56,622 | 3/19/2020 |
20.1.0 | 48,850 | 1/29/2020 |
19.12.1 | 44,997 | 1/2/2020 |
19.12.0 | 6,507 | 12/30/2019 |
19.11.0 | 39,303 | 11/30/2019 |
19.10.0 | 7,648 | 10/31/2019 |
19.9.0 | 10,805 | 9/23/2019 |
19.6.0 | 7,735 | 6/27/2019 |
19.5.0 | 5,000 | 5/28/2019 |
19.4.0 | 5,564 | 4/30/2019 |
19.3.0 | 4,810 | 3/6/2019 |
19.1.0 | 4,822 | 1/30/2019 |
18.11.0 | 4,908 | 11/30/2018 |
18.10.0 | 6,668 | 10/16/2018 |
18.9.0 | 4,980 | 9/30/2018 |
18.8.0 | 6,294 | 8/14/2018 |
18.7.0 | 4,981 | 7/9/2018 |
18.6.0 | 4,921 | 6/19/2018 |
18.5.0 | 4,964 | 5/23/2018 |
18.4.0 | 5,012 | 4/20/2018 |
18.3.0 | 4,268 | 3/21/2018 |
18.2.0 | 4,548 | 2/16/2018 |
18.1.0 | 4,895 | 1/23/2018 |
17.12.0 | 4,536 | 12/13/2017 |
17.11.0 | 4,502 | 11/19/2017 |
17.10.0 | 4,799 | 10/26/2017 |
17.9.0 | 4,849 | 9/20/2017 |