← Back to Plugins
Integration

Doc To Pdf

PdfApiHub By PdfApiHub 👁 22 views ▲ 0 votes

OpenClaw plugin to convert office documents (DOCX, DOC, PPT, PPTX, XLS, XLSX, CSV, TXT, ODT, RTF) to PDF using LibreOffice. Supports URL, base64, and multipart input with multiple output formats. Powered by PDFAPIHub API. Free API key at pdfapihub.com

GitHub

Install

openclaw plugins install clawhub:doc-to-pdf

Configuration Example

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

README

# Document to PDF — OpenClaw Plugin
Convert office documents to PDF using the [PDFAPIHub](https://pdfapihub.com) 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
| Tool | Description |
|------|-------------|
| `word_to_pdf` | Convert Word documents to PDF |
| `ppt_to_pdf` | Convert presentations to PDF |
| `excel_to_pdf` | Convert spreadsheets to PDF |
| `pdf_info` | Check 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](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
integration

Comments

Sign in to leave a comment

Loading comments...