← Reader board: all formats

Which Python Word (.docx) library breaks least?

docx2txt, mammoth, python-docx, markitdown: each one tested on the same 130 odd real-world Word (.docx) files from bug reports and fuzzers. New PyPI releases are tested again by themselves. Updated 06 November 2026.

130 files from Apache POI test files; 103 of them give text to at least one library.
Library🔴 Fails where
another reads
🟡 Empty where
another reads
⏱ Hangs or
crashes
Text from
(all files)
Errors
(all files)
Median
ms/file
Total
seconds
1 docx2txt 0.91001021612.9
2 mammoth 1.13.02709417914.9
3 python-docx 1.2.02130881734.3
4 markitdown 0.1.9370931817497.3

How this is measured