Comparison of docx to txt converter
Jump to navigation
Jump to search
File Convert: Comparison of docx to txt converter which could be executed under commad line mode
Suggestion
- It the file size is smaller e.g. 2 MB or smaller, you can use Pandoc or Apache Tika
- It the file size is larger e.g. 4 MB or larger, you can use Apache Tika
DOCX to TXT converter which could be executed under commad line mode
- Pandoc v. 2.10.1
- LibreOffice v. 6.3.4.2 (x64)
- macOS
Path of LibreOffice[1]: /Applications/LibreOffice.app/Contents/MacOS/soffice - Ubuntu: Path of LibreOffice binary: /usr/bin/libreoffice or /usr/bin/soffice. You can verify with which libreoffice or which soffice.
- macOS
- Apache Tika v. 1.24.1
Comparison of costs time (seconds)
| Number of characters of input file | File size (MB) of input file | Costs time (seconds) of Pandoc | Costs time (seconds) of LibreOffice | Costs time (seconds) of Apache Tika |
|---|---|---|---|---|
| 25399 | 1.07 | 4.396870136 | 35.96195006 | 9.429663897 |
| 95147 | 2.39 | 27.40566111 | 290.2933881 |
7.883637905 |
| 190295 | 4.65 | 60.29140496 |
837.8451748 |
11.16180587 |
| 380591 | 9.18 | 518.632391 |
3204.57426 |
15.61542296 |
Ths content written in Madarian (Traditional Chinese): 可在命令提示字元使用的 DOCX 轉 TXT 軟體比較