doc2docx
Convert doc to docx on Windows or macOS directly using Microsoft Word (must be installed).
Decision gist · record as of 2026-08-14
Yes, if you have Microsoft Word installed and need to convert .doc files to .docx. The package is lightweight and does exactly what it claims. However, maintenance is dormant (last release April 2023, no recent commits), so if Word's automation interfaces change significantly or you encounter bugs, fixes may not be forthcoming. For one-off conversions, Word's own Save As dialog is simpler; for programmatic batch conversion on systems with Word already present, this package is worth the install.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Microsoft Word must be installed on Windows or macOS; the package is a CLI wrapper around Word's COM interface (Windows) or JXA (macOS) and cannot function without it.
- Low install friction with a pure-Python wheel.
- Maintenance is dormant—last release was 2023-04-06 and no commits since 2024-06-04—so expect no active bug fixes or updates, though the codebase remains archived and available.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.
last release 2023-04-06 (1226 days) · last repo commit 2024-06-04 · 23 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 79,252 downloads/mo, #14,371 on PyPI
Alternatives
Verify before relying
pip install doc2docx
from doc2docx import convert
convert("input.doc")
convert("input.doc", "output.docx")
convert("my_doc_folder/")- Whether the package works reliably with recent versions of Microsoft Word (last release was April 2023).
- Performance characteristics for batch conversion of large document folders.
- Compatibility with non-English Word installations or regional settings.
What it is and what it does
doc2docx is a command-line tool and Python library that converts .doc files to .docx format by delegating to Microsoft Word itself rather than attempting format translation. It works on Windows via win32com (the pywin32 package) and on macOS via JXA (Javascript for Automation). The tool supports both single-file and batch folder conversion, with optional output path specification and a --keep-active flag to leave Word open after conversion.
The package is designed for scenarios where you have legacy .doc files that need to be upgraded to the modern .docx format and Word is already available on your system. It includes a CLI interface and a Python library API, and uses tqdm for progress indication during batch operations. The implementation is straightforward: it automates Word's native save-as functionality rather than reimplementing document format handling.
Use it for
- Batch-convert a folder of legacy .doc files to .docx in-place on a Windows or macOS workstation.
- Automate .doc to .docx migration as part of a Python data-processing pipeline when Word is available.
- Convert a single .doc file with explicit output path specification for archival or distribution.
- Integrate doc conversion into a Jupyter notebook workflow (with ipywidgets for progress display).
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you have Microsoft Word installed and need to convert .doc files to .docx.
The package is lightweight and does exactly what it claims. However, maintenance is dormant (last release April 2023, no recent commits), so if Word's automation interfaces change significantly or you encounter bugs, fixes may not be forthcoming. For one-off conversions, Word's own Save As dialog is simpler; for programmatic batch conversion on systems with Word already present, this package is worth the install.
Install
doc2docx on PyPI
Before you install
Low install friction with a pure-Python wheel. Maintenance is dormant—last release was 2023-04-06 and no commits since 2024-06-04—so expect no active bug fixes or updates, though the codebase remains archived and available.
Microsoft Word must be installed on Windows or macOS; the package is a CLI wrapper around Word's COM interface (Windows) or JXA (macOS) and cannot function without it.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.
Quickstart
pip install doc2docx
from doc2docx import convert
convert("input.doc")
convert("input.doc", "output.docx")
convert("my_doc_folder/")
Verify before relying
- Whether the package works reliably with recent versions of Microsoft Word (last release was April 2023).
- Performance characteristics for batch conversion of large document folders.
- Compatibility with non-English Word installations or regional settings.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9,<4.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagestqdmappscriptpywin32 |
| Maintenance | Dormant 1,226 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 79,252 / month, #14,371 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None 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.11Programming Language :: Python :: 3.9Topic :: Office/Business :: Office SuitesTopic :: Software Development :: Libraries |
Evidence: doc2docx-0.2.4-py3-none-any.whl
Tags
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 › “doc to docx conversion”
- doc2docxConverts legacy .doc files to modern .docx format on Windows or macOS…
- spire-docSpire.Doc creates, reads, modifies, and converts Word documents (DOC,…
- pymupdfproPyMuPDF Pro extends PyMuPDF with commercial Office document…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
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.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
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.
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.
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.
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.
See also docx2pdf · html2docx · docx-mailmerge2 · docx-mailmerge · docx · html-for-docx · python-docx · mammoth · python-docx-ml6 · cloudmersive-convert-api-client