Convert a document to another format

Contents
[ ]

If you have originally created a document in a certain format, like DOC, DOCX, ODT or RTF, you may sometimes find it useful to convert the document to another format so you can take advantage of special features provided by it. For example, you may want to convert a Word document to PDF to protect your contents from any unauthorized modifications and make it easy to read and share simultaneously. Or, for instance, you may want to convert a PDF to DOCX to extract the original text.

Document conversion is a complex process. Many factors contribute to the complexity and therefore, should be taken into account during the transformation process. The ability to convert Word documents from one format to another with a precise professional quality is a top feature of Aspose.Words Cloud.

It works perfectly for any document format conversions. You can both import and export documents in: DOC, DOCX, PDF, RTF, DOT, DOTX, ODT, OTT, HTML, MHTML, XML, TXT. The export-only formats are: PS, XPS, OpenXPS, PNG, JPEG, BMP, SVG, TIFF, EMF, PCL, EPUB.

The following APIs to convert a Word document to other file formats are provided:

API Description
GET /words/{name} Export the document into the specified format.
PUT /words/convert Converts document from the request’s content to the specified format.
PUT /words/{name}/saveAs Convert a document to destination format with detailed settings and save the result to storage.
PUT /words/{name}/saveAs/tiff Convert a document to tiff with detailed settings and save the result to storage.

The following articles explain each API in detail and contain cURL and SDK Examples of each API: