.NET API to Convert 80+ File Formats

Simple API to Integrate Document & Image Conversion Functionality into .NET Applications without Installing any External Software.

Download Free Trial

GroupDocs.Conversion for .NET offers simple set of APIs, enabling developers to build powerful document conversion applications in C#, ASP.NET and other .NET related technologies. GroupDocs.Conversion for .NET API provides fast, efficient and reliable file conversion solution to your end-users. It supports performing accurate conversions among all popular business document formats including: PDF, HTML, Email, Microsoft Word documents, Excel spreadsheets, PowerPoint presentations, Project, Photoshop, CorelDraw, AutoCAD, diagrams, raster image file formats and many more. The document converter library auto-detects source document format and gives you all the control to convert either the whole document or specific pages to the desired output format. It’s easier to replace missing fonts with preferred ones and add text or image watermarks to any document page.

GroupDocs.Conversion for .NET can be used to develop applications in any development environment that targets .NET platform. It is compatible with all .NET based languages and supports popular operating systems (Windows, Linux, MacOS) where Mono or .NET frameworks (including .NET Core) can be installed.

GroupDocs.Conversion for .NET Features

Easy Integration & Metered Licensing

Set Default Zoom Option when Converting to Words, Slides or Cells

Convert to/from all Popular Raster Image Formats & Assign Image DPI, Height & Width

Convert PDF & Image to Grayscale & Linearize PDF Document for the Web

Specify Bookmark Level, Heading Level and Expanded Level in Word to PDF/XPS Conversion

Configure & Place Watermark in Converted Document as Background to Display Behind Text

Render Email Header during Conversion from Email

Set Custom Font Directories & Explicitly Load/Substitute Font during Document Conversion

Set Default Font to Replace Missing Fonts for Documents, Slides & Spreadsheets Conversion

Advanced Conversion Methods to return the Output as Path or IO Stream

Convert Spreadsheet with Grid-lines & Remove Comments from Slides While Conversion

Convert Specific Document Pages as PDF Format & Convert Specific Cell Range in Spreadsheets

Show Hidden Sheets & Skip Empty Rows and Columns while Converting Spreadsheets

Count Total Pages of a Document & Set Password to Unprotected Document during Conversion

Option to Remove Annotations & Embedded Files from PDF

Create HTML 5 Compliant Markup when Converting to HTML

Auto-detect Source Type & Return all Possible Conversions when Converting from Stream

Ability to Return Each Page in Separate Stream while Converting to PDF or HTML

Show/Hide Markup, Comments & Track Changes while Converting from Word

DOCX to Tiff G3 Conversion with Shading Option

Convert Specific Layouts when Converting from CAD Document

Automatic Naming when Saving Converted Document to File

Metered Licensing Supported to be Billed based on the Usage of the API

Convert Diagrams to Word Processing File Formats

Add Page Numbers while Converting HTML to Wordprocessing Document

Convert XML Documents to Any Format without Transformation

Monitor File Conversion Progress (Start, End) Directly from Client-side Application

Easily Convert Document Formats

Using GroupDocs.Conversion for .NET, converting document file format is very easy. Following example shows you how to convert a PDF file into a DOC file using C#:

  • Get the file path as input
  • Get the file storage path
  • Convert the input document file
  • Return the output, as path or stream (as per requirement)
// Setup Conversion configuration and Initailize ConversionHandler
ConversionConfig config = new ConversionConfig();
config.StoragePath = @"D:\storage\"; 
// Initailize ConversionHandler
ConversionHandler conversionHandler = new ConversionHandler(config);
// Convert and save converted document
var convertedDocumentPath = conversionHandler.Convert("sample.pdf", new WordsSaveOptions {  });
convertedDocumentPath.Save("result-" + Path.GetFileNameWithoutExtension("sample.pdf") + ".doc");

Conversion to Image Formats

GroupDocs.Conversion for .NET API supports document conversion to and from various image formats. While converting from some other format to image, you can adjust numerous properties of the images. Our conversion API allows you to adjust brightness, contrast, gamma properties. You can also flip the image. And in case of conversion to JPEG format, you can set color mode and compression mode of the file.

Supports various PDF Format Types

GroupDocs.Conversion for .NET API supports document conversion to following PDF types/formats:

  • PdfA_1A
  • PdfA_1B
  • PdfA_2A
  • PdfA_3A
  • PdfA_2B
  • PdfA_2U
  • PdfA_3B
  • PdfA_3U
  • v1_3
  • v1_4
  • v1_5
  • v1_6
  • v1_7
  • PdfX_1A
  • PdfX3

Support and Learning Resources

GroupDocs.Conversion offers document viewing APIs for other popular development environments

Back to top