office-converter/convert

Convert an Office, OpenDocument, or HTML file to PDF at high fidelity.

Dynamic (cost in response)
charged on success

What it does

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.

Primary use cases

  • Turning agent- or user-supplied Office documents into PDF for delivery or archival.
  • Producing a print-ready PDF from a spreadsheet, slide deck, or word-processing document.

Why use this tool

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.

Good to know

Set input_format to the source file's actual format: it selects the converter. Output is always PDF.

Parameters

input_urlstringrequired

Pre-signed GET URL of the source file.

expires_inintegeroptionaldefault: 3600

Download URL TTL in seconds (default 1h, max 24h).

input_formatstringrequired

The source file's format (selects the converter).

output_filenamestringoptional

Filename for the PDF. Defaults to output.pdf.

office-converter/convert — Faro