CloudConvert
App · File Conversion · 20 actions
Convert files between more than 200 formats (documents, images, spreadsheets, audio, and video) with CloudConvert. Capture web pages as PDFs or screenshots, compress, watermark and merge files, make scanned PDFs searchable, split, rotate and password-protect PDFs, and pack files into archives.
Actions
| Action | What it does |
|---|---|
| Add a watermark | Stamp text, such as 'CONFIDENTIAL' or 'DRAFT', or an image, such as a logo, onto a PDF, an image or a video. |
| Capture a website | Open a web page in a browser and save it as a PDF, or take a screenshot of it as a PNG or JPG. |
| Compress a file | Make a PDF, PNG or JPG smaller without changing its format, for example to fit an email attachment limit. |
| Convert a file | Convert a file to another format: for example a Word document to PDF, a PNG to JPG, or a video to MP4. |
| Convert a PDF to PDF/A | Convert a PDF to PDF/A, the version of PDF made for long-term archiving that many courts, governments and archives ask for. |
| Create a thumbnail | Make a small preview image of a document, image or video: the first page of a PDF or Word file, a resized photo, or a frame of a video. |
| Create an archive | Pack one or more files into a single ZIP, 7Z, TAR or RAR archive, ready to send or store as one file. |
| Delete a job | Delete a job and the files it holds on CloudConvert straight away, rather than after the usual 24 hours. |
| Extract pages from a PDF | Copy some pages of a PDF, such as the first page or pages 2 to 4, into a new PDF. |
| Get a job | Read a CloudConvert job: whether it finished, what each of its tasks did, and links to the files it made. |
| Get account | Read the connected CloudConvert account and how many conversion credits it has left, for example to warn before they run out. |
| List supported formats | See what CloudConvert can do with a format: what a file type converts to, what converts into a type, and how many credits each costs. |
| Make a PDF searchable | Recognize the text in a scanned PDF (OCR) and add it as a hidden layer, so the words can be searched, selected and copied while the pages look the same. |
| Merge files into a PDF | Combine several files into one PDF, in the order given. |
| Password-protect a PDF | Encrypt a PDF so it needs a password to open, and choose whether readers may print, edit or copy from it. |
| Read file metadata | Read the details stored in a file: a PDF's page count, title and author, a photo's size, camera and date, or a video's length. |
| Remove a PDF password | Save a copy of a password-protected PDF that opens without a password, given the password. |
| Rotate PDF pages | Turn every page of a PDF, or only some, a quarter or half turn, for example to fix pages scanned sideways. |
| Split a PDF into pages | Split a PDF into one PDF per page, each saved as its own file. |
| Write file metadata | Write details into a file, such as a PDF's title and author or a photo's copyright, and save the updated file. |
Add a watermark
Stamp text, such as 'CONFIDENTIAL' or 'DRAFT', or an image, such as a logo, onto a PDF, an image or a video.
Inputs
- File
filetextRequired - The file: upload one, pick a file from an earlier step, or paste a public link to it.
- Text
texttext - The words to stamp. Fill this in, choose an image, or both.
- Image
imagetext - An image to stamp instead of text, such as a logo: upload one, pick one from an earlier step, or paste a public link. It covers the text when both are set.
- Vertical position
position_verticaltext - Where the watermark sits from top to bottom.One of:
center(Middle),top,bottom. Default:center. - Horizontal position
position_horizontaltext - Where the watermark sits from left to right.One of:
center,left,right. Default:center. - Font size
font_sizenumber - The text's size. CloudConvert uses 40 when blank.At least 1.
- Font color
font_colortext - The text's color as a hex code, such as #FF0000 for red. Black when blank.
- Image width (%)
image_width_percentnumber - How much of the page's width the image takes, from 1 to 100.From 1 to 100.
- Opacity (%)
opacitynumber - How solid the watermark is, from 0 (invisible) to 100 (fully visible).From 0 to 100.
- Rotation
rotationnumber - Degrees to turn the watermark, such as 45 for a diagonal stamp.From -360 to 360.
- Pages
pagestext - For a PDF, which pages to stamp: a range such as 1-3, or page numbers such as 1,2,5. Every page when blank.
- Layer
layertext - For a PDF, whether the watermark goes over the page's content or behind it.One of:
above(Over the content),below(Behind the content). Default:above. - Input format
input_formattext - The format the file is already in, such as 'pdf'. CloudConvert reads this from the file's name; set it only when the name has no extension or a misleading one.
- Save as
filenametext - The name to save the new file under. Leave blank to keep CloudConvert's name. A name without an extension keeps the file's own.
Outputs
content_typetext- MIME type of the watermarked file
document_reftext- Reference to the watermarked file, for use by a later step
documentslist- Every watermarked file saved, in the shape steps that send or upload files expect
filenametext- Name the watermarked file was saved under
job_idtext- The CloudConvert job that did the work, for 'Get a job'
size_bytesnumber- Size of the watermarked file in bytes
urltext- Download URL for the watermarked file
Example output
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"documents": [
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"filename": "report.pdf",
"size_bytes": 85690,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}
],
"filename": "report.pdf",
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"size_bytes": 85690,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}Capture a website
Open a web page in a browser and save it as a PDF, or take a screenshot of it as a PNG or JPG. Cookie banners are closed first. Useful for archiving a page, sending a report page as a PDF, or keeping proof of what a page said.
Inputs
- Web page address
urltextRequired - The full address of the page, starting with https://. It must be reachable without signing in.
- Save as type
output_formattext - A PDF of the page, or a screenshot image.One of:
pdf,png(PNG screenshot),jpg(JPG screenshot). Default:pdf. - Paper size
page_formattext - The paper size of the PDF. Leave blank to fit the page.Only when Save as type is PDF. One of:
a4,letter,legal,tabloid,ledger,a3,a5,a6,a2,a1,a0. - Orientation
page_orientationtext - Whether the PDF's pages stand upright or lie sideways.Only when Save as type is PDF. One of:
portrait,landscape. - Screen width
screen_widthnumber - How wide the browser window is, in pixels. CloudConvert uses 1440 when blank.Only when Save as type is PNG screenshot or JPG screenshot. At least 1.
- Screen height
screen_heightnumber - How tall the screenshot is, in pixels. Leave blank to capture the whole page, top to bottom.Only when Save as type is PNG screenshot or JPG screenshot. At least 1.
- Wait after loading
wait_secondsnumber - Seconds to wait once the page has loaded, up to 60, for pages that keep drawing charts or images afterwards.From 0 to 60.
- Wait for element
wait_for_elementtext - A CSS selector, such as '#report' or '.chart', to wait for before capturing.
- More options
optionsobject - Other capture settings, passed to CloudConvert as they are, such as {"print_background": false}, {"css_media_type": "screen"} or {"headers": {"Cookie": "..."}} for a page behind a sign in.
- Save as
filenametext - The name to save the new file under. Leave blank to keep CloudConvert's name. A name without an extension keeps the file's own.
Outputs
content_typetext- MIME type of the capture
document_reftext- Reference to the capture, for use by a later step
documentslist- Every capture saved, in the shape steps that send or upload files expect
filenametext- Name the capture was saved under
job_idtext- The CloudConvert job that did the work, for 'Get a job'
output_formattext- pdf, png or jpg
size_bytesnumber- Size of the capture in bytes
urltext- Download URL for the capture
Example output
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"documents": [
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"filename": "example.com.pdf",
"size_bytes": 61804,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}
],
"filename": "example.com.pdf",
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"output_format": "pdf",
"size_bytes": 61804,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}Compress a file
Make a PDF, PNG or JPG smaller without changing its format, for example to fit an email attachment limit.
Inputs
- File
filetextRequired - The file: upload one, pick a file from an earlier step, or paste a public link to it.
- PDF profile
profiletext - What to compress a PDF for. 'Web' suits most files; 'Scanned pages' keeps scans legible; 'Smallest' squeezes hardest and may blur images. Images ignore it.One of:
web(Web (recommended)),print,archive,mrc(Scanned pages),max(Smallest file). Default:web. - JPG quality
qualitynumber - For a JPG, the quality to aim for, from 1 to 100. CloudConvert uses 75 when blank. Lower is smaller.From 1 to 100.
- Input format
input_formattext - The format the file is already in, such as 'pdf'. CloudConvert reads this from the file's name; set it only when the name has no extension or a misleading one.
- Save as
filenametext - The name to save the new file under. Leave blank to keep CloudConvert's name. A name without an extension keeps the file's own.
Outputs
content_typetext- MIME type of the compressed file
document_reftext- Reference to the compressed file, for use by a later step
documentslist- Every compressed file saved, in the shape steps that send or upload files expect
filenametext- Name the compressed file was saved under
job_idtext- The CloudConvert job that did the work, for 'Get a job'
size_bytesnumber- Size of the compressed file in bytes
urltext- Download URL for the compressed file
Example output
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"documents": [
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"filename": "report.pdf",
"size_bytes": 40211,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}
],
"filename": "report.pdf",
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"size_bytes": 40211,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}Convert a file
Convert a file to another format: for example a Word document to PDF, a PNG to JPG, or a video to MP4. The converted file is saved so later steps can email, upload, or store it. A conversion that makes several files, such as a PDF to one image per page, saves them all.
Inputs
- File
filetextRequired - The file: upload one, pick a file from an earlier step, or paste a public link to it.
- Convert to
output_formattextRequired - The format to convert into, for example 'pdf', 'docx', 'jpg' or 'mp4'. 'List supported formats' shows what a format converts to.
- Input format
input_formattext - The format the file is already in, such as 'pdf'. CloudConvert reads this from the file's name; set it only when the name has no extension or a misleading one.
- More options
optionsobject - Settings for this pair of formats, passed to CloudConvert as they are, such as {"pages": "1-2"} for a PDF, {"width": 800} for an image, or {"video_codec": "x264"} for a video. CloudConvert's Job Builder at https://cloudconvert.com/job-builder lists them for each pair.
- Save as
filenametext - The name to save the new file under. Leave blank to keep CloudConvert's name. A name without an extension keeps the file's own.
Outputs
content_typetext- MIME type of the converted file
document_countnumber- How many files the conversion made
document_reftext- Reference to the converted file, for use by a later step
documentslist- The converted file, in the shape steps that send or upload files expect. One per file when a conversion makes several
filenametext- Name the converted file was saved under
job_idtext- The CloudConvert job that did the conversion
output_formattext- The format the file was converted into
size_bytesnumber- Size of the converted file in bytes
urltext- Download URL for the converted file
Example output
{
"content_type": "application/pdf",
"document_count": 1,
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"documents": [
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"filename": "report.pdf",
"size_bytes": 84213,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}
],
"filename": "report.pdf",
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"output_format": "pdf",
"size_bytes": 84213,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}Convert a PDF to PDF/A
Convert a PDF to PDF/A, the version of PDF made for long-term archiving that many courts, governments and archives ask for.
Inputs
- PDF
filetextRequired - The PDF: upload one, pick a file from an earlier step, or paste a public link to it.
- PDF/A level
conformance_leveltext - Which PDF/A standard to meet. Use what the archive you're sending to asks for; PDF/A-2b suits most.One of:
2b(PDF/A-2b (recommended)),1b(PDF/A-1b),3b(PDF/A-3b). Default:2b. - Save as
filenametext - The name to save the new file under. Leave blank to keep CloudConvert's name. A name without an extension keeps the file's own.
Outputs
conformance_leveltext- The PDF/A level the file meets: 1b, 2b or 3b
content_typetext- MIME type of the PDF/A file
document_reftext- Reference to the PDF/A file, for use by a later step
documentslist- Every PDF/A file saved, in the shape steps that send or upload files expect
filenametext- Name the PDF/A file was saved under
job_idtext- The CloudConvert job that did the work, for 'Get a job'
size_bytesnumber- Size of the PDF/A file in bytes
urltext- Download URL for the PDF/A file
Example output
{
"conformance_level": "2b",
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"documents": [
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"filename": "report.pdf",
"size_bytes": 98140,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}
],
"filename": "report.pdf",
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"size_bytes": 98140,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}Create a thumbnail
Make a small preview image of a document, image or video: the first page of a PDF or Word file, a resized photo, or a frame of a video.
Inputs
- File
filetextRequired - The file: upload one, pick a file from an earlier step, or paste a public link to it.
- Image type
output_formattext - The kind of image to make.One of:
png,jpg,webp. Default:png. - Width
widthnumber - The thumbnail's width, in pixels.At least 1.
- Height
heightnumber - The thumbnail's height, in pixels.At least 1.
- Fit
fittext - How to fit a width and height. 'Fit inside' keeps the shape and never enlarges; 'Crop' fills the size exactly and trims the edges; 'Stretch' fills it exactly and may distort.One of:
max(Fit inside),crop,scale(Stretch). Default:max. - Video time
timestamptext - For a video, the moment to take the frame from, as HH:MM:SS, such as 00:00:05. CloudConvert picks one when blank.
- Input format
input_formattext - The format the file is already in, such as 'pdf'. CloudConvert reads this from the file's name; set it only when the name has no extension or a misleading one.
- Save as
filenametext - The name to save the new file under. Leave blank to keep CloudConvert's name. A name without an extension keeps the file's own.
Outputs
content_typetext- MIME type of the thumbnail
document_reftext- Reference to the thumbnail, for use by a later step
documentslist- Every thumbnail saved, in the shape steps that send or upload files expect
filenametext- Name the thumbnail was saved under
job_idtext- The CloudConvert job that did the work, for 'Get a job'
size_bytesnumber- Size of the thumbnail in bytes
urltext- Download URL for the thumbnail
Example output
{
"content_type": "image/png",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"documents": [
{
"content_type": "image/png",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"filename": "report.png",
"size_bytes": 18342,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}
],
"filename": "report.png",
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"size_bytes": 18342,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}Create an archive
Pack one or more files into a single ZIP, 7Z, TAR or RAR archive, ready to send or store as one file.
Inputs
- Files
fileslistRequired - The files to pack. Upload them, pick files from earlier steps, or paste public links to them.
- Archive type
output_formattext - The kind of archive. ZIP opens on any computer.One of:
zip(ZIP (recommended)),7z,tar,rar. Default:zip. - Save as
filenametext - The name to save the new file under. Leave blank to keep CloudConvert's name. A name without an extension keeps the file's own.
Outputs
content_typetext- MIME type of the archive
document_reftext- Reference to the archive, for use by a later step
documentslist- Every archive saved, in the shape steps that send or upload files expect
file_countnumber- How many files were packed
filenametext- Name the archive was saved under
job_idtext- The CloudConvert job that did the work, for 'Get a job'
size_bytesnumber- Size of the archive in bytes
urltext- Download URL for the archive
Example output
{
"content_type": "application/zip",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"documents": [
{
"content_type": "application/zip",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"filename": "archive.zip",
"size_bytes": 152077,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}
],
"file_count": 2,
"filename": "archive.zip",
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"size_bytes": 152077,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}Delete a job
Delete a job and the files it holds on CloudConvert straight away, rather than after the usual 24 hours. Files already saved to Lodol are kept.
Inputs
- Job ID
job_idtextRequired - The CloudConvert job's ID, such as the job_id an earlier CloudConvert step returned or one shown on the CloudConvert dashboard.
Outputs
deletedtrue/false- True once CloudConvert has deleted it
job_idtext- The deleted job's ID
Example output
{
"deleted": true,
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3"
}Extract pages from a PDF
Copy some pages of a PDF, such as the first page or pages 2 to 4, into a new PDF. The original is left as it is.
Inputs
- PDF
filetextRequired - The PDF: upload one, pick a file from an earlier step, or paste a public link to it.
- Pages
pagestextRequired - The pages to keep: a range such as 1-3, or page numbers such as 1,2,5.
- Save as
filenametext - The name to save the new file under. Leave blank to keep CloudConvert's name. A name without an extension keeps the file's own.
Outputs
content_typetext- MIME type of the new PDF
document_reftext- Reference to the new PDF, for use by a later step
documentslist- Every new PDF saved, in the shape steps that send or upload files expect
filenametext- Name the new PDF was saved under
job_idtext- The CloudConvert job that did the work, for 'Get a job'
size_bytesnumber- Size of the new PDF in bytes
urltext- Download URL for the new PDF
Example output
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"documents": [
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"filename": "report.pdf",
"size_bytes": 21102,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}
],
"filename": "report.pdf",
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"size_bytes": 21102,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}Get a job
Read a CloudConvert job: whether it finished, what each of its tasks did, and links to the files it made. Can also save those files to Lodol, for a job started outside this workflow.
Inputs
- Job ID
job_idtextRequired - The CloudConvert job's ID, such as the job_id an earlier CloudConvert step returned or one shown on the CloudConvert dashboard.
- Save its files
save_filestrue/false - Also download the files the job made and save them to Lodol, for later steps to use. The job must be finished.Default:
false.
Outputs
created_attext- When the job was created (ISO 8601)
document_reftext- Reference to the first saved file. Empty unless 'Save its files' is on
documentslist- The files saved to Lodol, when 'Save its files' is on
ended_attext- When it finished or failed (ISO 8601)
file_countnumber- How many downloadable files the job made
fileslist- Every downloadable file the job made, with its temporary link
job_idtext- The job's ID
started_attext- When it started processing (ISO 8601)
statustext- waiting, processing, finished or error
tagtext- The tag the job was created with, if any
taskslist- Every task in the job
Example output
{
"created_at": "2026-10-20T14:42:58+00:00",
"document_ref": "",
"documents": [],
"ended_at": "2026-10-20T14:43:04+00:00",
"file_count": 1,
"files": [
{
"filename": "report.pdf",
"size": 84213,
"url": "https://storage.cloudconvert.com/48c6e72b/report.pdf"
}
],
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"started_at": "2026-10-20T14:42:58+00:00",
"status": "finished",
"tag": "",
"tasks": [
{
"code": "",
"files": [
{
"filename": "report.pdf",
"size": 0,
"url": ""
}
],
"message": "",
"name": "convert-file",
"operation": "convert",
"status": "finished"
},
{
"code": "",
"files": [
{
"filename": "report.pdf",
"size": 84213,
"url": "https://storage.cloudconvert.com/48c6e72b/report.pdf"
}
],
"message": "",
"name": "export-file",
"operation": "export/url",
"status": "finished"
}
]
}Get account
Read the connected CloudConvert account and how many conversion credits it has left, for example to warn before they run out. Needs the key's user.read scope.
Inputs
None.
Outputs
created_attext- When the account was created (ISO 8601)
creditsnumber- Conversion credits left
emailtext- The account's email address
idtext- The account's ID
usernametext- The account's username
Example output
{
"created_at": "2018-12-01T22:26:29+00:00",
"credits": 4434,
"email": "ops@example.com",
"id": "1",
"username": "acme"
}List supported formats
See what CloudConvert can do with a format: what a file type converts to, what converts into a type, and how many credits each costs. Uses no credits.
Inputs
- Operation
operationtext - Which kind of step to list the formats of.One of:
convert(Convert a file),optimize(Compress a file),capture-website(Capture a website),watermark(Add a watermark),thumbnail(Create a thumbnail),merge(Merge files into a PDF),archive(Create an archive),metadata(Read file metadata),metadata/write(Write file metadata),pdf/ocr(Make a PDF searchable),pdf/a(Convert a PDF to PDF/A). Default:convert. - From format
input_formattext - Only list what this format can become, such as 'docx'. For conversions, fill in this, 'To format', or both.
- To format
output_formattext - Only list what can become this format, such as 'pdf'.
Outputs
countnumber- How many pairs were listed
formatslist- Each pair of formats CloudConvert handles
input_formatslist- Every format going in, A to Z
operationtext- The operation listed, such as convert
output_formatslist- Every format coming out, A to Z
Example output
{
"count": 2,
"formats": [
{
"credits": 2,
"engine": "office",
"group": "document",
"input_format": "docx",
"operation": "convert",
"output_format": "pdf"
},
{
"credits": 2,
"engine": "office",
"group": "document",
"input_format": "docx",
"operation": "convert",
"output_format": "odt"
}
],
"input_formats": [
"docx"
],
"operation": "convert",
"output_formats": [
"odt",
"pdf"
]
}Make a PDF searchable
Recognize the text in a scanned PDF (OCR) and add it as a hidden layer, so the words can be searched, selected and copied while the pages look the same.
Inputs
- File
filetextRequired - The file: upload one, pick a file from an earlier step, or paste a public link to it.
- Languages
languagelist - The languages the document is written in, as three-letter codes such as eng, deu, fra or spa. English when blank.
- Straighten pages
auto_orienttrue/false - Turn pages that were scanned sideways or upside down the right way up first.Default:
false. - Save as
filenametext - The name to save the new file under. Leave blank to keep CloudConvert's name. A name without an extension keeps the file's own.
Outputs
content_typetext- MIME type of the searchable PDF
document_reftext- Reference to the searchable PDF, for use by a later step
documentslist- Every searchable PDF saved, in the shape steps that send or upload files expect
filenametext- Name the searchable PDF was saved under
job_idtext- The CloudConvert job that did the work, for 'Get a job'
size_bytesnumber- Size of the searchable PDF in bytes
urltext- Download URL for the searchable PDF
Example output
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"documents": [
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"filename": "scan.pdf",
"size_bytes": 230114,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}
],
"filename": "scan.pdf",
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"size_bytes": 230114,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}Merge files into a PDF
Combine several files into one PDF, in the order given. Files that aren't PDFs yet, such as Word documents or images, are converted to PDF first.
Inputs
- Files
fileslistRequired - The files to merge, in order (at least two). Upload them, pick files from earlier steps, or paste public links to them.
- Save as
filenametext - The name to save the new file under. Leave blank to keep CloudConvert's name. A name without an extension keeps the file's own.
Outputs
content_typetext- MIME type of the merged PDF
document_reftext- Reference to the merged PDF, for use by a later step
documentslist- Every merged PDF saved, in the shape steps that send or upload files expect
filenametext- Name the merged PDF was saved under
job_idtext- The CloudConvert job that did the work, for 'Get a job'
size_bytesnumber- Size of the merged PDF in bytes
urltext- Download URL for the merged PDF
Example output
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"documents": [
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"filename": "merged.pdf",
"size_bytes": 168402,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}
],
"filename": "merged.pdf",
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"size_bytes": 168402,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}Password-protect a PDF
Encrypt a PDF so it needs a password to open, and choose whether readers may print, edit or copy from it.
Inputs
- PDF
filetextRequired - The PDF: upload one, pick a file from an earlier step, or paste a public link to it.
- Password to open
passwordtext - The password anyone needs to open the PDF. Leave blank to let anyone open it but keep the limits set here.
- Owner password
owner_passwordtext - A second password that lifts the limits on printing, editing and copying. Set this, a password to open, or both.
- Printing
allow_printtext - Whether readers may print the PDF.One of:
full(Allowed),low(Low quality only),none(Not allowed). - Editing
allow_modifytext - What readers may change in the PDF.One of:
all(Anything),annotate(Comments and form fields),form(Form fields only),assembly(Page order only),none(Nothing). - Allow copying
allow_extracttrue/false - Whether readers may copy text and images out of the PDF.Default:
false. - Save as
filenametext - The name to save the new file under. Leave blank to keep CloudConvert's name. A name without an extension keeps the file's own.
Outputs
content_typetext- MIME type of the protected PDF
document_reftext- Reference to the protected PDF, for use by a later step
documentslist- Every protected PDF saved, in the shape steps that send or upload files expect
filenametext- Name the protected PDF was saved under
job_idtext- The CloudConvert job that did the work, for 'Get a job'
size_bytesnumber- Size of the protected PDF in bytes
urltext- Download URL for the protected PDF
Example output
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"documents": [
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"filename": "report.pdf",
"size_bytes": 84877,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}
],
"filename": "report.pdf",
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"size_bytes": 84877,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}Read file metadata
Read the details stored in a file: a PDF's page count, title and author, a photo's size, camera and date, or a video's length. Uses no conversion credits.
Inputs
- File
filetextRequired - The file: upload one, pick a file from an earlier step, or paste a public link to it.
- Input format
input_formattext - The format the file is already in, such as 'pdf'. CloudConvert reads this from the file's name; set it only when the name has no extension or a misleading one.
Outputs
file_typetext- The kind of file, such as PDF or JPEG
job_idtext- The CloudConvert job that read the file
metadataobject- Every tag found, by its ExifTool name, such as PageCount, Title, Author, ImageSize or Duration
mime_typetext- The file's MIME type
page_countnumber- How many pages a PDF has. Empty for other files
tag_countnumber- How many metadata tags were read
Example output
{
"file_type": "PDF",
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"metadata": {
"Author": "Finance team",
"FileName": "report.pdf",
"FileSize": "169 kB",
"FileType": "PDF",
"MIMEType": "application/pdf",
"PDFVersion": 1.4,
"PageCount": 31,
"Title": "Quarterly report"
},
"mime_type": "application/pdf",
"page_count": 31,
"tag_count": 8
}Remove a PDF password
Save a copy of a password-protected PDF that opens without a password, given the password. Later steps can then read it.
Inputs
- PDF
filetextRequired - The PDF: upload one, pick a file from an earlier step, or paste a public link to it.
- Password
passwordtextRequired - The PDF's current password.
- Save as
filenametext - The name to save the new file under. Leave blank to keep CloudConvert's name. A name without an extension keeps the file's own.
Outputs
content_typetext- MIME type of the unlocked PDF
document_reftext- Reference to the unlocked PDF, for use by a later step
documentslist- Every unlocked PDF saved, in the shape steps that send or upload files expect
filenametext- Name the unlocked PDF was saved under
job_idtext- The CloudConvert job that did the work, for 'Get a job'
size_bytesnumber- Size of the unlocked PDF in bytes
urltext- Download URL for the unlocked PDF
Example output
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"documents": [
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"filename": "report.pdf",
"size_bytes": 84213,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}
],
"filename": "report.pdf",
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"size_bytes": 84213,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}Rotate PDF pages
Turn every page of a PDF, or only some, a quarter or half turn, for example to fix pages scanned sideways.
Inputs
- PDF
filetextRequired - The PDF: upload one, pick a file from an earlier step, or paste a public link to it.
- Rotation
rotationtextRequired - Which way to turn the pages.One of:
+90(Quarter turn clockwise),-90(Quarter turn counterclockwise),+180(Upside down). - Pages
pagestext - Which pages to turn: a range such as 1-3, or page numbers such as 1,2,5. Every page when blank.
- Save as
filenametext - The name to save the new file under. Leave blank to keep CloudConvert's name. A name without an extension keeps the file's own.
Outputs
content_typetext- MIME type of the rotated PDF
document_reftext- Reference to the rotated PDF, for use by a later step
documentslist- Every rotated PDF saved, in the shape steps that send or upload files expect
filenametext- Name the rotated PDF was saved under
job_idtext- The CloudConvert job that did the work, for 'Get a job'
size_bytesnumber- Size of the rotated PDF in bytes
urltext- Download URL for the rotated PDF
Example output
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"documents": [
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"filename": "report.pdf",
"size_bytes": 84213,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}
],
"filename": "report.pdf",
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"size_bytes": 84213,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}Split a PDF into pages
Split a PDF into one PDF per page, each saved as its own file.
Inputs
- PDF
filetextRequired - The PDF: upload one, pick a file from an earlier step, or paste a public link to it.
Outputs
content_typetext- MIME type of the page
document_reftext- Reference to the page, for use by a later step
documentslist- Every page saved, in the shape steps that send or upload files expect
filenametext- Name the page was saved under
job_idtext- The CloudConvert job that did the work, for 'Get a job'
page_countnumber- How many page files were made
size_bytesnumber- Size of the page in bytes
urltext- Download URL for the page
Example output
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"documents": [
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"filename": "report-1.pdf",
"size_bytes": 21102,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
},
{
"content_type": "application/pdf",
"document_ref": "doc_9e2d4c6b8a1f43e7b5d0c2a4f6e8b1d3",
"filename": "report-2.pdf",
"size_bytes": 19730,
"url": "/actions/core/serve-document/doc_9e2d4c6b8a1f43e7b5d0c2a4f6e8b1d3?teamId=6512a1b2c3d4e5f600000001"
}
],
"filename": "report-1.pdf",
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"page_count": 2,
"size_bytes": 21102,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}Write file metadata
Write details into a file, such as a PDF's title and author or a photo's copyright, and save the updated file.
Inputs
- File
filetextRequired - The file: upload one, pick a file from an earlier step, or paste a public link to it.
- Tags
metadataobjectRequired - The tags to write, by name, such as Title, Author, Subject, Keywords or Copyright. ExifTool's list at https://exiftool.org/TagNames/ has every name.
- Input format
input_formattext - The format the file is already in, such as 'pdf'. CloudConvert reads this from the file's name; set it only when the name has no extension or a misleading one.
- Save as
filenametext - The name to save the new file under. Leave blank to keep CloudConvert's name. A name without an extension keeps the file's own.
Outputs
content_typetext- MIME type of the updated file
document_reftext- Reference to the updated file, for use by a later step
documentslist- Every updated file saved, in the shape steps that send or upload files expect
filenametext- Name the updated file was saved under
job_idtext- The CloudConvert job that did the work, for 'Get a job'
size_bytesnumber- Size of the updated file in bytes
urltext- Download URL for the updated file
Example output
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"documents": [
{
"content_type": "application/pdf",
"document_ref": "doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91",
"filename": "report.pdf",
"size_bytes": 84330,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}
],
"filename": "report.pdf",
"job_id": "9a160154-58e2-437f-9b6b-19d63b1f59e3",
"size_bytes": 84330,
"url": "/actions/core/serve-document/doc_4b7c1e2a9d3f45c88a1e6f0b2d5c7e91?teamId=6512a1b2c3d4e5f600000001"
}