PDF to Word & PowerPoint — OpenClaw Plugin
Convert PDFs to editable Word documents and PowerPoint slides using the PDFAPIHub API. This OpenClaw plugin handles PDF-to-DOCX, PDF-to-PPTX, and reverse document-to-PDF conversion.
What It Does
Turn PDFs into editable office documents — perfect for editing contracts, translating content, creating presentations from reports, and round-tripping documents between PDF and Word.
Features
- PDF to Word — Convert PDFs to editable DOCX with formatting preserved
- Page Selection — Convert only specific pages instead of the entire document
- PDF to PowerPoint — Each PDF page becomes a high-quality slide
- Document to PDF — Convert DOCX, PPT, XLS, CSV, TXT, ODT, RTF back to PDF
- 12 Input Formats — doc, docx, odt, rtf, txt, ppt, pptx, odp, xls, xlsx, ods, csv
- PDF Metadata — Check page count and properties before converting
- Multiple Output Formats — Download URL, base64 string, or raw file
- Custom Filenames — Name your output files
Tools
| Tool | Description |
|---|---|
pdf_to_word | Convert PDF to editable Word document (DOCX) |
pdf_to_powerpoint | Convert PDF pages into PowerPoint slides (PPTX) |
document_to_pdf | Convert DOCX/PPT/XLS/CSV/TXT back to PDF |
pdf_info | Check page count and metadata before converting |
Installation
openclaw plugins install clawhub:pdf-to-docx
Configuration
Add your API key in ~/.openclaw/openclaw.json:
{
"plugins": {
"entries": {
"pdf-to-docx": {
"enabled": true,
"env": {
"PDFAPIHUB_API_KEY": "your-api-key-here"
}
}
}
}
}
Get your free API key at https://pdfapihub.com.
Usage Examples
Just ask your OpenClaw agent:
- "Convert this PDF to a Word document"
- "Convert pages 1-3 to Word"
- "Turn this report PDF into a PowerPoint presentation"
- "Convert this DOCX back to PDF"
- "How many pages does this PDF have?"
Use Cases
- Contract Editing — Convert PDF contracts to Word for redlining and track changes
- Content Repurposing — Extract content from PDF brochures to create new documents
- Translation — Convert PDFs to DOCX for easier translation and formatting
- Presentation Creation — Turn PDF reports into editable PowerPoint decks
- Training Materials — Convert PDF guides into slide presentations
- Accessibility — Convert PDFs to DOCX for screen reader compatibility
- Round-Tripping — Edit a PDF as Word, then convert back to PDF
API Documentation
Full API docs: https://pdfapihub.com/docs
License
MIT