Convert pdf to txt: Difference between revisions
Jump to navigation
Jump to search
m (→Installation) |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
== Installation == | == Installation == | ||
On macOS: | On macOS<ref>[https://brewinstall.org/install-pdftotext-mac-osx/ Install pdftotext on Mac OSX - Brew Cask | BrewInstall]</ref>: | ||
* {{kbd | key=brew install poppler}} | * {{kbd | key=brew install poppler}} | ||
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 == | ||
| Line 21: | Line 24: | ||
* [https://poppler.freedesktop.org/ Poppler] | * [https://poppler.freedesktop.org/ Poppler] | ||
* [https://en.wikipedia.org/wiki/Poppler_(software) Poppler (software) - Wikipedia] | * [https://en.wikipedia.org/wiki/Poppler_(software) Poppler (software) - Wikipedia] | ||
* [[PDF conversion]] | |||
== References == | |||
<references /> | |||
[[Category: Tool]] | [[Category: Tool]] | ||
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]]