Convert an Office, OpenDocument, or HTML file to PDF at high fidelity.
Converts DOCX, XLSX, PPTX, DOC, XLS, PPT, ODT, ODS, ODP, RTF, CSV, TXT, and HTML files to PDF while preserving layout, fonts, and formatting. Returns a download URL for the PDF.
Office fidelity (complex tables, embedded objects, slide layouts) is hard to reproduce locally. This delegates to a LibreOffice rendering engine so the output matches what Office would produce.
Set input_format to the source file's actual format: it selects the converter. Output is always PDF.
Pre-signed GET URL of the source file.
Download URL TTL in seconds (default 1h, max 24h).
The source file's format (selects the converter).
Filename for the PDF. Defaults to output.pdf.