Comparison
docx2python vs docx2txt vs mammoth vs sharepoint-to-text
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 mammothText extraction library for typical file formats found in SharePoint repositories
Maintained. Last release 8 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install sharepoint-to-textIn short
- mammoth is the most used: 19.1M downloads a month, 4.8× more than docx2txt.
- docx2python is better maintained: Pythie’s Index 79 against 52.
- docx2python is growing fastest: downloads +48% over the last month.
- sharepoint-to-text is the newcomer: first released Dec 2025.
Side by side
| Metric | docx2python | docx2txt | mammoth | sharepoint-to-text |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 79 | 21 |