Comparison
docx2python vs mammoth vs markitdown 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 docx2pythonConvert 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 mammothUtility tool for converting various files to Markdown
Actively maintained. Last release 6 weeks ago, commits in 11 of the last 26 weeks. A safe choice.
pip install markitdownText extraction library for typical file formats found in SharePoint repositories
Maintained. Last release 8 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install sharepoint-to-textIn short
- markitdown is the most used: 21.3M downloads a month.
- Maintenance is comparable: markitdown 87, docx2python 79, sharepoint-to-text 67, mammoth 52 on Pythie’s Index.
- docx2python is growing fastest: downloads +42% over the last month.
- sharepoint-to-text is the newcomer: first released Dec 2025.
- Safe default for a new project: markitdown.
Side by side
| Metric | docx2python | mammoth | markitdown | sharepoint-to-text |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 79 | Pythie’s Index: 52 | Pythie’s Index: 87 | Pythie’s Index: 67 |
| Verdict | Actively maintained | Maintained | Actively maintained | Maintained |
| Downloads / month | 571.6K | 19M | 21.3M | 106.6K |
| Downloads, month over month | +42% | +14% | +24% | +9% |
| GitHub stars | – | 1.1K | 198.8K | 57 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 13 | 110 | 362 | 1 |
| Last release | Oct 28, 2026 | Sep 26, 2026 | Oct 21, 2026 | Oct 3, 2026 |
| Releases, 12 months | 4 | 4 | 9 | 19 |
| Weeks with commits | – | 3 / 26 | 11 / 26 | 4 / 26 |
| Recent contributors | – | 1 | 44 | 2 |
| First release | Jul 2019 | Dec 2013 | Nov 2024 | Dec 2025 |
| Python versions | 3.10 – 3.14 | 3.7 – 3.12 | 3.10 – 3.14 | 3.10 – 3.14 |
| License | MIT | BSD-2-Clause | MIT | Apache-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.