← All skills

Office to PDF

Your agent can't render Office files to PDF; this converts DOCX, XLSX, PPTX, and more at high fidelity.

Documents

Converts Microsoft Office and OpenDocument files (Word, Excel, and PowerPoint) to PDF, preserving the layout and formatting of the original. Also renders static HTML and plain-text files to PDF. Provide the source file and get back a download link to the resulting PDF.

Use when

You have a Word document, slide deck, spreadsheet, or HTML/text file and need a PDF of it.

Not for

Extracting text or data from a file, editing or filling it, converting to anything but PDF, or merging and splitting PDFs.

What you can do

Each is a sub-skill of Office to PDF; the router picks the right one for your request.

What you get back

file (application/pdf)

Returns a downloadable PDF, not text read back into context. The page count depends on the source, and billing is 0.2 credits per output page.

Run it

Skills run through one gateway with your Faro token. Hand it an intent in plain language; Faro routes to the right sub-skill, runs it, and bills per call.

curl -X POST "https://skill.askfaro.com/skills/office-to-pdf/run" \
  -H "Authorization: Bearer $FARO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"intent":{"prompt":"Convert this Word document to PDF"}}'

Example requests

  • Convert this Word document to PDF
  • Convert this PowerPoint presentation to PDF
  • Convert this Excel spreadsheet to PDF
  • Convert this HTML file to a PDF