Operations

Convert Files

Convert files to different formats.

To convert a file to another format, create a job with a convert task.

The available parameters differ based on input_format and output_format. Select values below to show all available conversion options.

Task Parameters

operation
string required
Value is convert.
input
string or array of task names required

The input task name(s) for this task.

input_format
string

The current format of the file, e.g. pdf. If not set, the extension of the input file is used as input format.

output_format
string required

The target format to convert to.

engine
string

Use a specific engine for the conversion.

engine_version
string

Use a specific engine version for the conversion.

filename
string

Choose a filename (including extension) for the output file.

timeout
integer

Timeout in seconds after the task will be cancelled. By default, tasks time out after 5 hours.

Example Job

Using the parameters from above, you can create a job:

POSThttps://api.cloudconvert.com/v2/jobs
Use the Job Builder to generate and try out conversion jobs.