Convert to PDF
convert_to_pdfConvert Word, Excel, PowerPoint, images, and e-books to PDF from a local file. The converter picks the format by file extension and saves the PDF, optionally to a chosen output path.
Instructions
Converts a document, an image or an e-book to PDF: Word, Excel, PowerPoint, OpenDocument, Apple Pages, RTF, TXT, CSV, PNG, JPG, WebP, GIF, TIFF, HEIC and EPUB. The converter is chosen from the extension of the file. The file is uploaded to conv2pdf and the call counts as one conversion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | Path of the file on this computer: absolute, or relative to the working directory of the server. | |
| output_path | No | Where to write the result. Optional: by default next to the input file, under a name that is not taken. An existing file is never overwritten. |