PDF to TextMarch 7, 20264 min read

How to Convert PDF to Text on Linux (Free)

Extract text from PDFs on Linux — using pdftotext command line or FixMyPDF in the browser. Both free methods explained.

Linux has excellent command-line PDF text extraction via pdftotext (from the poppler package). For a GUI option, FixMyPDF works in Firefox or Chromium on any Linux distribution.

Command-Line Method: pdftotext

Install poppler-utils: sudo apt install poppler-utils (Ubuntu/Debian) or sudo dnf install poppler-utils (Fedora). Then: pdftotext input.pdf output.txt. This extracts all text to a text file. For layout preservation: pdftotext -layout input.pdf output.txt

Browser Method: FixMyPDF

For a GUI approach without command-line tools: open Firefox or Chromium, go to fixmypdf.in/tools/pdf-text. Upload the PDF, extract, and download the text file.

Which to Use

Command-line: better for batch processing, scripting, and integration into Linux workflows. FixMyPDF: better for one-off extractions, especially for users not comfortable with the terminal.

Try PDF to Text Now — Free

Browser-based, private, and instant. No account or software required.

Open PDF to Text
Report Bug
Send Feedback
Feature Request