docx2pdf Skill
SkillFiles & storageConverts Word documents (.docx) to PDF, supporting both single-file and batch conversion of entire folders. Use when the user mentions Word to PDF or docx to PDF conversion.
Use docx2pdf Skill in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add docx2pdf Skill and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the docx2pdf Skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by coderwanfeng/python-office in skills/word/docx2pdf/SKILL.md and read by ahel’s review.
将 Word 转换为 PDF
功能描述
将 Word 文档(.docx)转换为 PDF 格式,支持单个文件或整个文件夹批量转换。
所属分类
office/skills/word/docx2pdf/
调用方式
from skills.word import docx2pdf
# 单个文件
docx2pdf(path='./test.docx', output_path='./output/')
# 批量转换(path 传入文件夹)
docx2pdf(path='./word_files/', output_path='./pdfs/')
参数说明
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
path | str | 是 | - | Word 文件位置。支持批量处理:填写文件夹位置 |
output_path | str | 否 | None | 转换后的输出位置。如果不存在会自动创建 |
返回值
None
使用示例
from skills.word import docx2pdf
docx2pdf(path='./report.docx', output_path='./output/')
原始函数
office.api.word.docx2pdf
Signals
- GitHub stars
- 1k
- Forks
- 303
- Last commit
- Aug 2026
Advanced
- Item type
- skill
- Key
docx2pdf- Source
- github.com/coderwanfeng/python-office
github.com/coderwanfeng/python-office
Related picks
Skill · wshobson
The pick for Pythonpython-pro
Skill · jeffallan
The pick for Pythongolden-pdf-ch
Skill · yusufkaraaslan
The pick for PDFpdf-co-automation
Skill · composio-community
The pick for PDFdocx
Skill · axoviq-ai
The pick for Wordpptx
Skill · anthropics
More in Files & storage