Logo
POST /api/pdf/file/convert

Office to PDF API

Send the URL of a Word, Excel or PowerPoint file and get a PDF back. No office suite to install, patch or keep running on your own servers.

  • Free plan
  • No credit card

Request

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

Any Office file.
One PDF back.

Documents, spreadsheets and slides use the same endpoint. Each page or slide of the file becomes a page of the PDF.

One file per call example
docx proposal.docx
PDF
3 pages
xlsx budget.xlsx
PDF
2 pages
pptx pitch.pptx
PDF
8 pages
The files you can send
Word
docx, doc
Excel
xlsx, xls
PowerPoint
pptx, ppt
OpenDocument
odt, ods, odp
Rich text
rtf

Office in, PDF out.

People work in Word, Excel and PowerPoint. Your app needs a PDF it can store, show and send.

Contracts from Word templates

Fill a Word template with your customer's details, then convert it so they get a PDF instead of an editable file.

Spreadsheet reports

Send the monthly Excel report as a PDF, so it opens the same everywhere and nobody needs Excel to read it.

Slide decks for sharing

Turn uploaded PowerPoint decks into PDFs your app can show in the browser, with one page for every slide.

One format for uploads

Accept the Office files your users upload and store a single format, ready to merge, watermark or archive.

Convert from anywhere.

Convert documents as soon as they land in your storage. One account and one monthly allowance behind every route.

Your code

One authenticated POST from any language. Copy-paste samples in cURL, Node.js, Python and more.

POST /api/pdf/file/convert
Open the endpoint docs
Zapier

Pick the action in any Zap and map files from earlier steps. No code and no servers to run.

Convert Office Document to PDF
Use it in Zapier
n8n

Add the Apdf node to any workflow, on n8n Cloud or self-hosted, and chain it with your automation.

Convert DOC/XLS/PPT to PDF
Use it in n8n
AI agents

Let Claude, ChatGPT, Gemini or your own agent run it through the MCP server, on any paid plan.

convert-office-to-pdf
See what agents can do

1,000 conversions
a month. Free.

Start on the free plan and move up only when your volume does — up to 1,000,000 operations a month on Business.

  • One call is one operation, however many pages.
  • Only calls that do the work are counted.
  • Hard limits, so no surprise overage charges.
Plan PDF operations / month
Hobby Free
$0 / month
1,000
Pro
$39–$99 / month
20,000 – 60,000
Business
$149–$899 / month
100,000 – 1,000,000

Office to PDF, answered

Office files are converted without Microsoft Office. Fonts that are not available on our side are replaced with similar ones, which can shift line breaks, so embed custom fonts in the document when they matter.
By the page setup saved in the workbook: print ranges, orientation and fit-to-page scaling decide where the pages break. Set them in the file for a predictable result.
The whole file is converted. Keep only the pages you need afterwards with Extract pages or Delete pages.
Conversion always runs in the background. Check the job on the job status endpoint, or pass a webhook_url and the result is posted to you. It holds a download URL valid for 60 minutes, the page count and the file size.
As a URL: Apdf downloads the file, up to 100 MB. It is recognized by its content, so a generic content type from your storage is fine. In Zapier and n8n you can map the file from an earlier step instead.
After the API call

Your code made the PDF.
Then it went dark.

Opened, read, signed or ignored — you never see any of it. Send the PDFs you generate as personal links, and every open, page read, comment and signature comes back to your software as a webhook. Need it signed? Same link. Same account, same API key, one more call.

Your PDF, after sending Live
document:loaded CFO
page:read p4 · 38s
signature:signed 11:48

API · Webhook · MCP

Your Office files,
ready to share as PDF.