Comparison
docx2python vs docx2txt vs mammoth
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Extract content from docx files
Actively maintained. Last release 5 weeks ago. A safe choice.
$
pip install docx2pythonA pure python-based utility to extract text and images from docx files.
Low maintenance activity. Last release 20 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install docx2txtConvert Word documents from docx to simple and clean HTML and Markdown
Maintained. Last release 2 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install mammothIn short
- mammoth is the most used: 19M downloads a month, 4.4× more than docx2txt.
- docx2python is better maintained: Pythie’s Index 79 against 52.
- docx2python is growing fastest: downloads +42% over the last month.
Side by side
| Metric | docx2python | docx2txt | mammoth |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 79 | Pythie’s Index: 21 | Pythie’s Index: 52 |
| Verdict | Actively maintained | Low maintenance activity | Maintained |
| Downloads / month | 571.6K | 4.3M | 19M |
| Downloads, month over month | +42% | -22% | +14% |
| GitHub stars | – | 584 | 1.1K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 13 | 149 | 110 |
| Last release | Oct 28, 2026 | Mar 24, 2025 | Sep 26, 2026 |
| Releases, 12 months | 4 | 0 | 4 |
| Weeks with commits | – | 0 / 26 | 3 / 26 |
| Recent contributors | – | 8 | 1 |
| First release | Jul 2019 | Oct 2015 | Dec 2013 |
| Python versions | 3.10 – 3.14 | – | 3.7 – 3.12 |
| License | MIT | MIT | BSD-2-Clause |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.