Skip to end of metadata
Go to start of metadata
Contents Summary
  

Try Online

You can check the quality of Aspose.Words Cloud conversion and view the results online at these links:

Introduction

PUT /words/convert API lets you convert MS Word document to another format. The API request contains a document to convert and the response contains the conversion result, or if outPath parameter specified - the API saves the result to the Cloud storage and return OK status code. The list of supported formats are:

format Parameter ValueFormat of the returned Presentation
bmpBitmap image file
docWord document
docmWord Open XML Macro-Enabled Document
docxMicrosoft Word Open XML Document
dotWord Document Template
dotmWord Open XML Macro-Enabled Document Template
dotxWord Open XML Document Template
emfEnhanced Windows Metafile
epubOpen eBook File
flatopcFlat OPC format
gifGif Image
htmlHypertext Markup Language File
jpegJPEG Image
mhtmlMIME HTML File
odtOpenDocument Text Document
ottOpenDocument Document Template
pclPrinter Command Language File
pdfPortable Document Format File
pngPortable Network Graphic
rtfRich Text Format File
svgScalable Vector Graphics File
swfShockwave Flash Movie(removed)
txtPlain Text File
tiffTagged Image File Format
wmlWireless Markup Language File
xpsXML Paper Specification File

The important parameters of this API are:

Parameter NameTypeQuery StringDescription
formatstring

format=jpeg

Return the document in the specified format. Valid values for this parameter are given above.
outPathstringoutPath=SomeFolder/result.jpeg

A path for saving operation results to the Cloud storage.


The format can also be specified by the request Accept header.

Resource URI

Swagger UI lets you call this REST API directly from the browser. The description of the API and its parameters is also given there.

cURL Example

Input Document: TableDocument.doc

Output Document: TableDocument.pdf

 Request
 Response

SDKs

Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Check out our GitHub repository for a complete list of Aspose.Words SDKs along with working examples, to get you started in no time. Please check Available SDKs article to learn how to add an SDK to your project.

SDK Examples

 C#
 Java
 PHP
 Python
 Ruby
 Node.js
 Android
 Swift
 Go
Labels
  • No labels