Recent
Recommendations
Webhooks
Service
X (Twitter)
Service
YouTube
Service
Discord
Service
Google Sheets
Service
MyQ
Service
Gmail
Service
Instagram
Service
See all results
Explore
Plans
Log in
Get started
Mobile menu
Close menu
Back
PDF.co
Convert document to PDF
This query returns a PDF file URL created by converting a source document (DOCX, XLSX, HTML, or image) from a provided URL.
Developer info
API endpoint slug
pdf_co.convert_document_to_pdf
Runtime method
performQuery("pdf_co.convert_document_to_pdf"}
Query fields
File url
Text input > Other
Label
File URL
Helper text
Public URL of the source document to convert (DOCX, XLSX, HTML, or image).
Slug
file_url
Required
true
Can have default value
true
Output format
Dropdown list
Label
Output format
Helper text
Choose the output format. Defaults to PDF.
Slug
output_format
Required
false
Can have default value
true
Ingredients
Pdf url
URL of the converted PDF file.
Slug
pdf_url
Filter
PdfCo.convertDocumentToPdf.PdfUrl
Type
Web URL
Example
https://pdf-temp-files.s3.amazonaws.com/output.pdf
Page count
Number of pages in the converted PDF.
Slug
page_count
Filter
PdfCo.convertDocumentToPdf.PageCount
Type
String
Example
3
File size
Size of the converted PDF in bytes.
Slug
file_size
Filter
PdfCo.convertDocumentToPdf.FileSize
Type
String
Example
124518
Converted at
When this query ran (PDF.co's response carries no completion timestamp, so this is set on the IFTTT side).
Slug
converted_at
Filter
PdfCo.convertDocumentToPdf.ConvertedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00
Applets using this Query
Convert OneDrive files to PDF and save to Dropbox
by
Microsoft OneDrive
Save PDF.co PDF of new Android Photos to Google Drive
by
IFTTT
Convert new Dropbox files with PDF.co and save to Google Drive
by
Dropbox