PDF to TXT converter
Extract the text from a PDF into a plain text file
To convert a PDF to TXT, drag the PDF, hold Shift and drop it on the TXT bubble: Let's Drag! writes the document's text into a .txt file beside it. The extraction runs entirely on your machine, a good fit for payslips, medical letters and contracts you would rather not upload anywhere.
Free to download, $9.50 once to unlock. 7-day money-back guarantee.
How to convert PDF to TXT
- 1
Drag the file
Drag tenancy-agreement.pdf from Finder, File Explorer or your desktop.
- 2
Hold Shift
Keep dragging and hold Shift. The Uncle pops up next to your cursor with the formats that fit your file.
- 3
Drop it on TXT
Drop the file on the TXT bubble. tenancy-agreement.txt appears next to the original.
Got a lot of them? Select several files and drag them together. Prefer clicking? Open the Feed Window from the menu-bar or tray icon and drop the files there.
Why turn PDF into TXT?
Copying text out of a PDF by hand is fiddly: line breaks land in odd places and you have to do it page by page. A TXT file gives you all the words at once, ready to paste into an email, a note or a spreadsheet.
Plain text is also what many tools want as input. Search it with grep, compare two versions of a contract with a diff tool, feed it to a script, or paste it into an AI assistant without sending the original file.
| TXT | ||
|---|---|---|
| Holds | Text, fonts, images, layout and vector drawings | Characters only |
| Layout | Every element has a fixed position on the page | Lines of text, no columns or positions |
| Opens in | A PDF reader or browser | Any text editor, terminal or program |
| Editing | Awkward without dedicated software | Trivial in Notepad, TextEdit or any editor |
| Size | Grows with images and embedded fonts | Tiny, just the characters |
Good to know
- A scanned page is a picture of text, not text. If your PDF came from a scanner or a phone camera, there may be no text to extract, so open the TXT and check it.
- PDFs store text by position on the page, so multi-column layouts, footnotes and headers can come out in a different order than you read them.
- TXT cannot hold images, tables, bold or colours. Tables become rows of words, and pictures are left out.
- Some PDFs are protected or use unusual font encodings, which can produce odd characters. Check the result before you rely on it.
On your computer
macOS
In Preview you can select all and copy, but line breaks and page order often need tidying. Dropping the PDF on TXT gives you a file for the whole document in one go.
Linux
pdftotext from poppler-utils is the classic command-line tool here. Let's Drag! is handy when you would rather drag than type, including on Wayland through the Feed Window.
Everything happens on your computer: the file is never uploaded. See the first-launch guide for macOS and Windows.
PDF to TXT: questions
Why is my TXT file empty or nearly empty?
The PDF probably contains scanned images of pages rather than real text. A scan is a picture of words, so there may be nothing to extract.
Will tables from the PDF stay in columns?
Not reliably. Plain text has no table structure, so cells usually come out as words separated by spaces or line breaks.
How can I tell if a PDF has real text before converting?
Open it and try to select a word with your cursor. If you can highlight individual words, there is text inside; if you can only drag a box over the page, it is an image.
Can I search a whole folder of PDFs this way?
Yes, that is a common use. Drop the PDFs together on TXT, then search the text files with your system search or a tool like grep.
Related conversions
Stop uploading. Start dragging.
30 conversions, 100% on your computer. Mac, Windows and Linux.
Free to download, $9.50 once to unlock. 7-day money-back guarantee.