pdf2docx

CLI

把 PDF 转成可编辑的 Word 文档,尽量还原段落、表格、图片和版面,也能单独抽取表格,适合修改只拿到 PDF 版的合同、公文和试卷。需 Python 环境;只适用于电子版 PDF,扫描件需先 OCR。Artifex 已不再主动维护,靠社区修复。

ArtifexSoftware/pdf2docx3.5k
在 GitHub 上查看
README

pdf2docx

python-version pypi-downloads

⚠️ Project Status

pdf2docx is no longer actively maintained by Artifex.

The repository will remain available and has been relicensed under the MIT License so that the community can freely use, fork, and maintain the project.

Pull requests from the community are welcome, but Artifex no longer provides active development or maintenance.


If you are looking for a full-featured PDF processing library, consider using PyMuPDF or MuPDF.NET.

Documentation

Sample

sample_compare.png