Forum Discussion
LauraBennett
Nov 18, 2026Iron Contributor
How to convert PDF to text file for free?
What’s a straightforward way to convert a PDF to a text file that I can edit and reuse? I only need the written content, so keeping images and the original page design isn’t important. Is there a PD...
SarahWilson1
Nov 18, 2026Brass Contributor
For a free, local converter, Poppler’s pdftotext is useful. Once installed, this command extracts the whole document:
pdftotext -enc UTF-8 -nopgbrk report.pdf report.txt
The default extraction tries to produce reading-order text. If your document contains space-aligned tables, compare it with:
pdftotext -layout -enc UTF-8 report.pdf report-layout.txt
The -layout option preserves more of the physical spacing, but that isn’t always better for paragraphs. Try the default first for ordinary notes or reports.
No upload is required. Image-only scans need OCR before either command can extract their words.