Word to PDF API: DOCX, Excel, PowerPoint & ODT avatar

Word to PDF API: DOCX, Excel, PowerPoint & ODT

Pricing

$8.00 / 1,000 document converteds

Go to Apify Store
Word to PDF API: DOCX, Excel, PowerPoint & ODT

Word to PDF API: DOCX, Excel, PowerPoint & ODT

Word to PDF and DOCX to PDF converter: convert Word (DOCX/DOC), ODT, RTF, Excel (XLSX) and PowerPoint (PPTX) to PDF with LibreOffice, from URLs or base64. Optional PDF/A, ZIP and SHA-256 manifest. Macros never run. $0.008 per document.

Pricing

$8.00 / 1,000 document converteds

Rating

0.0

(0)

Developer

Ferrolark

Ferrolark

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

DOCX to PDF API: Word, Excel, PowerPoint and ODT to PDF

Convert Office documents to PDF with LibreOffice in one API call, without installing LibreOffice or paying per seat.

  • Inputs: DOCX, DOC, DOCM, DOTX, ODT, RTF, TXT, XLSX, XLS, ODS, CSV, PPTX, PPT and ODP. The type is detected from the file content, not only the extension.
  • PDF/A-2b option for archiving.
  • Fonts: metric-compatible Carlito and Caladea (Calibri and Cambria), Liberation and Noto, so layouts stay close to Word.
  • Macros never run. Each conversion uses a throwaway LibreOffice profile.
  • Manifest: pages, bytes, SHA-256 and conversion time per file, plus a free ZIP.

Real example

An 8-page Word demo document with headings, tables and images:

{
"fileUrls": [
"https://calibre-ebook.com/downloads/demos/demo.docx"
]
}
  • Run time: 11.7 s on Apify at 2,048 MB (LibreOffice start-up included).
  • Platform usage: $0.0016.
  • Your cost: 1 document × $0.008 = $0.008.
OutputInput typePagesBytesConversion
demo.pdfdocx8235,2991.2 s

Price and limits

  • $0.008 per document converted. The ZIP is free.
  • Damaged, password-protected or unsupported files are listed in OUTPUT.errors and not charged.
  • Limits: 20 files and 50 MB per run, 180 s per document.

Input

FieldDefaultWhat it does
fileUrlsnonePublic document URLs.
filesnone[{"base64": "...", "name": "contract.docx"}].
pdfAfalseProduce PDF/A-2b.
createZiptrueZIP of all PDFs.
createShareableUrlfalseAlso return signed links that work without an Apify token.

Call it from code, n8n or an AI agent

API (synchronous):

curl -X POST "https://api.apify.com/v2/acts/ferrolark~docx-to-pdf/run-sync-get-dataset-items?maxTotalChargeUsd=0.1" \
-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"fileUrls": ["https://example.com/contract.docx"]}'

n8n: paste this workflow on the canvas (Ctrl+V). Add a Header Auth credential with the name Authorization and the value Bearer <your Apify token>, and use it in both HTTP nodes. The second node downloads each PDF as an n8n binary.

{
"name": "Ferrolark docx-to-pdf",
"nodes": [
{
"parameters": {},
"name": "When clicking Test workflow",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
0,
0
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.apify.com/v2/acts/ferrolark~docx-to-pdf/run-sync-get-dataset-items?maxTotalChargeUsd=0.05",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "{\"fileUrls\": [\"https://calibre-ebook.com/downloads/demos/demo.docx\"]}",
"options": {
"timeout": 300000
}
},
"name": "Run Actor",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
220,
0
]
},
{
"parameters": {
"url": "={{ $json.downloadUrl }}",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"options": {
"response": {
"response": {
"responseFormat": "file"
}
}
}
},
"name": "Download file",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
440,
0
]
}
],
"connections": {
"When clicking Test workflow": {
"main": [
[
{
"node": "Run Actor",
"type": "main",
"index": 0
}
]
]
},
"Run Actor": {
"main": [
[
{
"node": "Download file",
"type": "main",
"index": 0
}
]
]
}
}
}

AI agents (MCP): add the Apify MCP server (https://mcp.apify.com) to Claude, Cursor or any MCP client and allow ferrolark/docx-to-pdf. The agent gets a typed tool with the input above.

FAQ

Is the layout identical to Microsoft Word?

Very close for most documents. Complex layouts with uncommon fonts can differ slightly, as with any LibreOffice conversion.

Can it convert password-protected files?

No. Remove the password first; protected files fail without a charge.

Are my documents stored?

Only in the run's own storage in your Apify account. Nothing is published or shared.

More Ferrolark tools

  • Brand Name Availability Checker: domains, GitHub, npm, PyPI and more in one report.
  • Domain Intelligence Report: WHOIS, DNS, email security, SSL and hosting for any domain.
  • Launch Asset Pack: favicons, PWA icons, OG image and head tags from one logo.
  • Live Deploy QA: meta tags, canonical, robots, OG image and favicon of your deployed routes, with diffs between deploys.
  • Sitemap Delta: new, removed and broken URLs in any sitemap since the last run.
  • RSS Delta: only new RSS, Atom and JSON Feed items, de-duplicated.
  • PDF Merge API: merge PDFs from URLs or base64 with page ranges and a SHA-256 manifest.
  • PDF Split API: split a PDF by page ranges or every N pages, or extract pages, with a ZIP and manifest.
  • Image Convert: PNG, JPG, WebP, AVIF and HEIC conversion (SVG input too) from URLs or base64.
  • Image Compress & Resize: resize images and compress them to a target size in KB, WebP or AVIF.
  • PDF to Image: PDF pages to PNG, JPG or WebP at the DPI you choose.
  • Image to PDF: JPG, PNG, HEIC and WebP images to one PDF, JPEGs embedded without recompression.
  • PDF Compress: smaller PDFs, lossless or with image downsampling; charged only when smaller.
  • HTML to PDF & URL to PDF: web pages or raw HTML to PDF with headless Chrome.
  • Markdown to PDF: Markdown with tables, code and footnotes to a clean PDF.
  • Data Convert: CSV, JSON, NDJSON and Excel XLSX in any direction.

Built by Ferrolark.