Convert files to various formats

Note

Try online

You can try to convert a file online and download results for free using GroupDocs.Conversion Live Demo

GroupDocs.Conversion provides a quick and easy way to convert files from some source format to various ranges of target formats. The conversion process from the user’s point of view is pretty simple - the source document is loaded to a converter and after conversion is completed, the result is saved to a desired file path on the local disk or other storage. 

By default, when performing internal calculations GroupDocs.Conversion for .NET uses some predefined settings that are most suitable for loading and saving specified file formats. However, the conversion process can always be adjusted by setting specific LoadOptions to modify the way the source document is loaded - for example, it’s needed to hide document comments, set up font substitution, set passwords for protected documents, etc. Also, the ConvertOptions class is used to manage converted documents - add watermarks to resultant documents, change page orientation, set images height/width or resolution, and many more.

The common conversion workflow always includes the following steps:

  1. Loading the source document into a new instance of the Converter class. You can provide a file path or a document stream.
  2. Instantiate the appropriate ConvertOptions object according to your requirements and desired output format like PdfConvertOptions, PresentationConvertOptions, WordProcessingConvertOptions, and others.
  3. Call the Convert method of the Converter object and pass the file path to save the resulting document with the convert options object from the previous step.

These documentation articles explain how to convert files to the most popular formats: