$npx skillfedfor your agent

docx2pdf

Convert docx to pdf on Windows or macOS directly using Microsoft Word (must be installed).

With conditionsPyPI LibrariesReleased Dec 2021932.6K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — docx2pdf-0.1.8-py3-none-any.whl
v0.1.8 · released 2021-12-11 · Python >=3.5 · 4 runtime deps: pywin32, tqdm, importlib_metadata, appscript

Yes, if you have Microsoft Word installed on Windows or macOS and need reliable DOCX-to-PDF conversion with formatting preservation. The low install friction and permissive MIT license make it straightforward to try. However, the aging maintenance status (last release December 2021, no recent commits) means you should verify compatibility with your current Word version before relying on it in production. Not suitable for headless or server-side conversion.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Microsoft Word must be installed on the target system (Windows or macOS); the package is a thin automation wrapper around Word's native conversion capability.
  • Low install friction with a pure-Python wheel.
  • Maintenance is aging—last release was 2021-12-11 and the repository shows no recent activity despite 602 stars—but the package remains archived-free and dependencies are stable.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

last release 2021-12-11 (1707 days) · last repo commit 2025-10-11 · 602 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 932,618 downloads/mo, #4,699 on PyPI

Verify before relying

pip install docx2pdf

from docx2pdf import convert
convert("input.docx")
convert("input.docx", "output.pdf")
convert("my_docx_folder/")
  • Whether the package works reliably with recent versions of Microsoft Word on Windows and macOS.
  • Whether tqdm progress bar rendering in Jupyter requires ipywidgets as stated in the description or if it's optional.
  • Current state of pywin32 and appscript dependencies and their compatibility with modern OS versions.
Same gist for agents: .md · .json

What it is and what it does

docx2pdf is a lightweight automation wrapper that converts Microsoft Word DOCX files to PDF by delegating to Word itself rather than reimplementing document rendering. On Windows it uses win32com to drive Word via COM, and on macOS it uses AppleScript (JXA) to control Word through native OS automation. The package works both as a command-line tool and as a Python library, supporting single-file conversion, batch folder conversion, and explicit output path specification.

Because it relies on Word's own PDF export rather than a document parser, it preserves formatting, fonts, and complex layouts accurately. The trade-off is a hard dependency on having Microsoft Word installed on the conversion machine—it cannot work in headless environments or on systems without Word. The package is aging (last release December 2021) and shows no recent maintenance activity, though it remains stable for its narrow use case.

Use it for

  • Batch convert folders of DOCX files to PDF on a Windows or macOS workstation where Word is already installed.
  • Automate DOCX-to-PDF conversion in Python scripts or Jupyter notebooks without implementing document parsing.
  • Preserve complex Word formatting (styles, embedded objects, fonts) that simpler converters might lose or misrender.
  • Command-line bulk conversion of DOCX files with optional output directory specification.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you have Microsoft Word installed on Windows or macOS and need reliable DOCX-to-PDF conversion with formatting preservation.

The low install friction and permissive MIT license make it straightforward to try. However, the aging maintenance status (last release December 2021, no recent commits) means you should verify compatibility with your current Word version before relying on it in production. Not suitable for headless or server-side conversion.

Install

docx2pdf on PyPI

Before you install

Low install friction with a pure-Python wheel. Maintenance is aging—last release was 2021-12-11 and the repository shows no recent activity despite 602 stars—but the package remains archived-free and dependencies are stable.

Microsoft Word must be installed on the target system (Windows or macOS); the package is a thin automation wrapper around Word's native conversion capability.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install docx2pdf

from docx2pdf import convert
convert("input.docx")
convert("input.docx", "output.pdf")
convert("my_docx_folder/")

Verify before relying

  • Whether the package works reliably with recent versions of Microsoft Word on Windows and macOS.
  • Whether tqdm progress bar rendering in Jupyter requires ipywidgets as stated in the description or if it's optional.
  • Current state of pywin32 and appscript dependencies and their compatibility with modern OS versions.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.5
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
pywin32tqdmimportlib_metadataappscript
MaintenanceAging 1,707 days since the last release
Last repo commit
First released
Downloads932,618 / month, #4,699 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Environment :: MacOS XEnvironment :: Win32 (MS Windows)License :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Office/Business :: Office SuitesTopic :: Software Development :: Libraries

Evidence: docx2pdf-0.1.8-py3-none-any.whl

Tags

Capabilities
docx to pdf conversionword document to pdfbatch convert docx filesautomated word to pdfdocx pdf converter windows mac
Topics
document-conversionoffice-automation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “docx to pdf conversion”

  • docx2pdfConverts DOCX files to PDF on Windows or macOS by automating…
  • pdf2docxConverts PDF files to Word documents (.docx format), with support for…
  • pypandocPypandoc wraps pandoc, a universal document converter, letting you…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also doc2docx · pdf2docx · pyhwpx · cloudmersive-convert-api-client · html2docx · spire-doc · pdfservices-sdk · python-hwpx · docx · docx-mailmerge2