Logo

Office to PDF API

Start building for free today – no credit card required.

Convert Word documents, Excel spreadsheets and PowerPoint presentations to PDF with a single API call. Send the URL of a docx, xlsx or pptx file and get back a PDF that keeps the original pages, slides and formatting – ready to share, archive, or process further.

Also available as an MCP tool

Claude, ChatGPT, Cursor or your own agent can call convert-office-to-pdf directly.

See what agents can do

Benefits of our Office to PDF API

Turn the documents your team already works with into PDFs without installing an office suite on your servers. The API accepts Word (docx, doc), Excel (xlsx, xls), PowerPoint (pptx, ppt), OpenDocument (odt, ods, odp) and RTF files. Each page or slide becomes a PDF page, and the result plugs straight into the other endpoints – merge it with other files, add a watermark, or protect it with a password.

Read our API documentation to learn how to convert Office files to PDF.

Multi-language Code Example

curl -X POST https://apdf.io/api/pdf/file/convert \
  -H "Authorization: Bearer TOKEN" \
  -d file="FILE_URL"

No-Code Office to PDF Conversion

Integrate our Office to PDF API with Zapier Webhooks to automate your document conversions. Convert the contracts, reports and slide decks that land in your cloud storage, CRM or inbox as soon as they arrive, and trigger the conversion from hundreds of apps supported by Zapier – no manual exporting required.

After the API call

Your code made the PDF.
Then it went dark.

Opened, read, re-read, dropped on page 4 — you never see any of it. Share the PDFs you generate through Apdf recipient links, and every signal becomes something you can act on: ping Slack, update the CRM, let an agent follow up. Same account, same API token, one more call.

Your PDF, after sending Live
document:loaded CFO
page:read p4 · 38s
link:clicked pricing

API · Webhook · MCP

Start using our API today.
No trial needed.