Loading...
Loading...
PDF to Word converts PDF to editable Word/DOCX with AI-powered layout analysis and table recognition, built on ComPDF Conversion SDK to better preserve tables, multi-column layouts, lists, and images for downstream editing. It fits requests such as “pdf to word,” “convert pdf to docx,” “pdf to editable word,” “pdf to office,” “keep layout in word,” and “convert report to docx.” Example queries include “Convert this PDF contract to editable Word while keeping the tables intact,” “Turn this report into DOCX and preserve the multi-column layout,” and “Export this PDF to Word for further editing.”
npx skill4agent add compdfkit/compdf-skills pdf-to-word-docxComPDFKitConversionpdf-to-word-docx/SKILL.mdscripts/$ARGUMENTS${CLAUDE_SKILL_DIR}wordexcelppthtmlrtfimagetxtjsonmarkdowncsv.pdf.jpg.jpeg.png.bmp.tif.tiff.webp.jp2.gif.tga.docx.pptx.xlsx.html.rtf.txt.json.md.csvpip install ComPDFKitConversionlicense.xmlscripts/https://download.compdf.com/skills/license/license.xml<key>...</key>license.xmlLibraryManager.license_verify(...)license.xmlscripts/resourcepdf-to-word-docx.pyscripts/--enable-ocr--enable-ai-layoutscripts/documentai.modelhttps://download.compdf.com/skills/model/documentai.modelexport COMPDF_DOCUMENT_AI_MODEL="/path/to/documentai.model"python -m pip show ComPDFKitConversionlicense.xmlscripts/resourcepython "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" word input.pdf output.docx
python "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" ppt input.pdf output.pptx
python "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" excel input.pdf output.xlsxpython "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" excel input.pdf output.xlsx --page-ranges "1-3,5" --excel-all-content --excel-worksheet-option for-page
python "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" word input.pdf output.docx --enable-ocr --page-layout-mode flowscripts/license.xml<key>scripts/resource--enable-ocr--enable-ai-layoutscripts/documentai.modelSUCCESSCOMPDF_DOCUMENT_AI_MODELscripts/documentai.modeldocumentai.model.part2s / 5s / 10s/pdf-to-word-docx word input.pdf output.docx
/pdf-to-word-docx excel input.pdf output.xlsx --excel-worksheet-option for-pagepython "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" $ARGUMENTSwordCPDFConversion.start_pdf_to_wordexcelCPDFConversion.start_pdf_to_excelpptCPDFConversion.start_pdf_to_ppthtmlCPDFConversion.start_pdf_to_htmlrtfCPDFConversion.start_pdf_to_rtfimageCPDFConversion.start_pdf_to_imagetxtCPDFConversion.start_pdf_to_txtjsonCPDFConversion.start_pdf_to_jsonmarkdownCPDFConversion.start_pdf_to_markdowncsvCPDFConversion.start_pdf_to_excelstart_pdf_to_*.pdfpdf.png/.jpg/.jpeg/.bmp/.tif/.tiff/.gif/.webp/.tgaimagepython "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" word input.png output.docx --source-type imageimage -> *pdf -> *CPDFConversion.start_pdf_to_*| Trigger | Automatic Behavior | User-Overridable | Description |
|---|---|---|---|
Input source is an image (auto-detected or explicit | Automatically enables | No ( | Text in images must be extracted via OCR; without OCR, output will contain only images and no text |
Output format is HTML ( | Automatically sets | Yes — passing | Box layout better preserves the original formatting in HTML; specify |
stderrAuto-enabled OCR for image input.
Auto-set page layout mode to BOX for HTML output.| Parameter | Description |
|---|---|
| Target format: |
| Input file path (PDF or image) |
| Output file path |
| Parameter | Type | Default | Description |
|---|---|---|---|
| Option | | Input source type: |
| String | | PDF open password |
| String | None | Page range, e.g. |
| String | | Output font name |
| Parameter | Type | Default | Description |
|---|---|---|---|
| Boolean | True | AI layout analysis (disable with |
| Option | SDK default | Page layout: |
| Parameter | Type | Default | Description |
|---|---|---|---|
| Boolean | True | Retain images (disable with |
| Boolean | True | Retain annotations (disable with |
| Boolean | True | Retain page background images (disable with |
| Boolean | False | Convert formulas to image output |
| Boolean | False | Preserve transparent text |
| Parameter | Type | Default | Description |
|---|---|---|---|
| Boolean | False | Split output into one document per page |
| Boolean | True | Automatically create output directory (disable with |
| Parameter | Type | Default | Description |
|---|---|---|---|
| Boolean | False (auto-enabled for image input) | Enable OCR |
| Option | SDK default | OCR scope: |
| Multi-select | | OCR language(s); multiple languages can be specified simultaneously. Options: |
| Parameter | Type | Default | Description |
|---|---|---|---|
| Boolean | False | Include all content in Excel output |
| Boolean | False | Output Excel result in CSV format |
| Option | SDK default | Worksheet split strategy: |
| Parameter | Type | Default | Description |
|---|---|---|---|
| Boolean | True | Include table data in JSON output (disable with |
| Parameter | Type | Default | Description |
|---|---|---|---|
| Boolean | True | Enable table formatting in TXT output (disable with |
| Parameter | Type | Default | Description |
|---|---|---|---|
| Option | SDK default | HTML output mode: |
| Parameter | Type | Default | Description |
|---|---|---|---|
| Option | SDK default | Image output format: |
| Option | SDK default | Image color mode: |
| Float | | Image scaling factor |
| Boolean | False | Enable image path enhancement |
--enable-ai-layout--contain-image--contain-annotation--contain-page-background-image--auto-create-folder--json-contain-table--txt-table-formatBooleanOptionalAction--no-xxx--enable-ocr--formula-to-image--transparent-text--output-document-per-page--excel-all-content--excel-csv-format--image-path-enhancestore_trueConvertOptions()python "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" word input.pdf output.docxpython "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" word input.pdf output.docx --no-enable-ai-layout --no-contain-image --page-layout-mode boxpython "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" word input.pdf output.docx --output-document-per-pagepython "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" excel input.pdf output.xlsx --excel-all-content --excel-worksheet-option for-pagepython "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" txt input.pdf output.txtpython "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" html input.pdf output_dir --html-option multiple-page-with-bookmarkpython "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" image input.pdf output.png --image-type png --image-color-mode gray --image-scaling 2.0python "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" word input.png output.docx --ocr-language chineseNote: For image input, the script automatically enables OCR — there is no need to passmanually. To specify an OCR language,--enable-ocrcan still be used.--ocr-language
python "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" word input.pdf output.docx --enable-ocr --ocr-language chinese english japanesescripts/license.xmlstderrTrial license: 5/200 conversions used, 195 remaining.Error: Trial license usage limit reached (200 conversions). Please purchase a license at: https://www.compdf.com/contact-sales?utm_source=clawhub&utm_medium=skillhub&utm_campaign=pdf_skill_to_word&ref_platform_id=clawhub_skillslicense.xml<key>scripts/ComPDFKitConversionCPDFConversion.start_pdf_to_word/start_pdf_to_ppt/start_pdf_to_excelLibraryManagerinitializelicense_verifyreleaseset_document_ai_modelset_ocr_languagestart_pdf_to_*enable_ai_layoutTrueset_document_ai_model()--ocr-language--ocr-language chinese english>=3.6<3.11cp314license.xmlscripts/<key>documentai.model--enable-ai-layouthttps://download.compdf.com/skills/model/documentai.modeldocumentai.modelscripts/LibraryManagerCPDFConversionLicense.txtscripts/pdf-to-word-docx.pyscripts/license.xmlhttps://download.compdf.com/skills/license/license.xml<key>license.xmlscripts/scripts/documentai.modelhttps://www.compdf.com/contact-sales?utm_source=clawhub&utm_medium=skillhub&utm_campaign=pdf_skill_to_word&ref_platform_id=clawhub_skillshttps://www.compdf.com/guides/conversion-sdk/python/overviewhttps://www.compdf.com/guides/conversion-sdk/python/pdf-to-wordhttps://www.compdf.com/guides/conversion-sdk/python/pdf-to-excelhttps://www.compdf.com/guides/conversion-sdk/python/pdf-to-ppthttps://www.compdf.com/guides/conversion-sdk/python/apply-licensepython -m pip show ComPDFKitConversionpython "${CLAUDE_SKILL_DIR}/scripts/pdf-to-word-docx.py" --helpscripts/license.xml<key>scripts/wordexcelppthtmlrtfimagetxtjsonmarkdowncsv.png.jpg.jpeg.bmp.tif.tiff.gif.webp.tga--enable-ocr--enable-ai-layoutdocumentai.modellicense.xml--no-xxx--ocr-language--enable-ocrstderr--page-layout-modeboxstderr--page-layout-mode flowpdf-to-word-docx/
├── SKILL.md
├── License.txt
└── scripts/
└── pdf-to-word-docx.pylicense.xmlscripts/license.xmllicense.xmlscripts/scripts/license.xml<key>scripts/LibraryManager.initialize()--passwordPDF_PASSWORD_ERRORdocumentai.modelscripts/--excel-worksheet-optiondocumentai.modelhttps://www.compdf.com/contact-sales?utm_source=clawhub&utm_medium=skillhub&utm_campaign=pdf_skill_to_word&ref_platform_id=clawhub_skills© 2014-2026 PDF Technologies, Inc., a KDAN Company. All Rights Reserved.Important: Under the ComPDFKit Terms of Service, distributing the documentation, sample code, or source code of the ComPDFKit Conversion SDK to third parties is prohibited. Please ensure you have obtained a valid ComPDFKit License before using this Skill.