Convert Word, PDF, Web documents online using cURL

Convert a document using command line

Use cURL command line tool to convert documents and images online.

View code snippet

Convert document formats using cURL REST API

Convert a document from one format to another in cURL. This cURL library is designed to convert files between a wide variety of file formats using REST API.

The API for File Format is used to solve software diversity and compatibility issues. Different software products offer different features and tools to users. As for users, they often want the capabilities of several products at the same time. Format conversion Conversion allows users to transparently convert data from one format to another and easily take advantage of different software products.

Convert a document to another file format in cURL

Converting document formats is a complex task that can involve intermediate export/import procedures when changing from one file format to another. All data transitions are performed by our cURL SDK, while maintaining the main structural and logical content of the source document.

Our cURL library is a professional solution for converting file formats. It gives you powerful functionality and perfect quality output.

The following cURL example of using the Conversion API will get you started quickly.

Upload a file you want to convert
Run code
Select the target format from the list
curl -v "https://api.aspose.cloud/v4.0/words/convert?format=pdf" \
     -X PUT \
     -H "Content-Type: multipart/form-data" \
     -H "Authorization: Bearer ####################" \
     -F Document="@Input.docx"
Run code
  
Copy cURL code to the clipboard

How to convert file formats using command line

  1. Install cURL
  2. Get your credentials to use Aspose.Words Cloud for cURL
  3. Pass the Bearer token in the Authorization header
  4. Call the /convert method to convert file format
  5. Download the result

cURL library to convert files

Download and install the curl utility. Please follow these Instructions to quickly get the necessary security credentials and access our REST API.

System Requirements

There are no special requirements for using this tool.

5%

Subscribe to Aspose Product Updates

Get monthly newsletters and offers directly delivered to your mailbox.

© Aspose Pty Ltd 2001-2024. All Rights Reserved.