Convert pdf to txt: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Convert pdf to text (txt) file == On macOS == Installation * (optional) {{kbd | key=brew install poppler}} == Usage == <pre> pdftotext [options] [PDF-file [text-file]] </pre> == Documentations == * [https://poppler.freedesktop.org/ Poppler] * [https://en.wikipedia.org/wiki/Poppler_(software) Poppler (software) - Wikipedia] Category: Tool") |
|||
| Line 1: | Line 1: | ||
Convert pdf to text (txt) file | Convert pdf to text (txt) file | ||
== On macOS = | == Installation == | ||
On macOS: | |||
* | * {{kbd | key=brew install poppler}} | ||
On Ubuntu: | |||
* {{kbd | key=sudo apt install poppler-utils}} | |||
== Verify the installation == | |||
Run one of the following commands in your terminal: | |||
* {{kbd | key=which pdftotext}} — displays the executable path | |||
* {{kbd | key=pdftotext -v}} — shows the version number | |||
== Usage == | == Usage == | ||
Revision as of 18:11, 17 November 2025
Convert pdf to text (txt) file
Installation
On macOS:
- brew install poppler
On Ubuntu:
- sudo apt install poppler-utils
Verify the installation
Run one of the following commands in your terminal:
- which pdftotext — displays the executable path
- pdftotext -v — shows the version number
Usage
pdftotext [options] [PDF-file [text-file]]