Convert office documents (DOCX, DOC, PPT, PPTX, XLS, XLSX, CSV, TXT, ODT, RTF) to PDF. Powered by PDFAPIHub.

Install

openclaw plugins install clawhub:doc-to-pdf

Document to PDF — OpenClaw Plugin

Convert office documents to PDF using the PDFAPIHub API. Dedicated tools for Word, PowerPoint, and Excel conversions.

Features

  • Word to PDF — DOCX, DOC, ODT, RTF, TXT
  • PowerPoint to PDF — PPT, PPTX, ODP
  • Excel to PDF — XLS, XLSX, ODS, CSV
  • 12 Input Formats — All common office document types
  • LibreOffice Rendering — High-fidelity format preservation
  • Multiple Outputs — URL, base64, or raw file

Tools

ToolDescription
word_to_pdfConvert Word documents to PDF
ppt_to_pdfConvert presentations to PDF
excel_to_pdfConvert spreadsheets to PDF
pdf_infoCheck PDF metadata

Installation

bash
openclaw plugins install clawhub:doc-to-pdf

Configuration

json
{ "plugins": { "entries": { "doc-to-pdf": { "enabled": true, "env": { "PDFAPIHUB_API_KEY": "your-key" } } } } }

Get your free API key at https://pdfapihub.com.

Use Cases

  • Document Standardization — Convert uploads to PDF for consistent viewing
  • E-Signature Workflows — Convert Word contracts to PDF before signing
  • Archival — Convert office documents to PDF for long-term storage
  • Email Attachments — Convert spreadsheets to PDF before emailing
  • Publishing — Convert authored content to PDF for distribution

License

MIT