Convert pdf to txt: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→Installation) |
||
| Line 7: | Line 7: | ||
On Ubuntu: | On Ubuntu: | ||
* {{kbd | key=sudo apt install poppler-utils}} | * {{kbd | key=sudo apt install poppler-utils}} | ||
On Windows: | |||
* [https://www.xpdfreader.com/download.html Download Xpdf and XpdfReader] | |||
== Verify the installation == | == Verify the installation == | ||
Latest revision as of 10:34, 6 January 2026
Convert pdf to text (txt) file
Installation[edit]
On macOS[1]:
- brew install poppler
On Ubuntu:
- sudo apt install poppler-utils
On Windows:
Verify the installation[edit]
Run one of the following commands in your terminal:
- which pdftotext — displays the executable path
- pdftotext -v — shows the version number
Usage[edit]
pdftotext [options] [PDF-file [text-file]]