How to Extract Text from a PDF
Updated July 13, 2026
Need to quote a passage, search a document’s contents, or feed a PDF’s text into another tool? Extracting the text into a plain .txt file is faster than copy-pasting from a PDF viewer page by page.
Steps
- Open PDF to Text and drop your file.
- Click Extract text.
- Download the
.txtfile containing everything.
What you get
The tool reads the PDF’s text layer and reconstructs it in reading order, with line breaks preserved — the result is clean plain text, with pages separated by a blank line. It’s built for extracting content you’ll quote, search, or paste elsewhere, not for preserving the visual layout: columns, tables, and exact spacing aren’t recreated, since a .txt file has no concept of layout at all.
Scanned PDFs need OCR first
A scanned document — pages that are really just photographs or images stitched into a PDF — has no text layer at all, so there’s nothing for this tool to extract. If you get an empty result or a “no text found” message, run the file through OCR PDF first to recognize and add a text layer, then extract.
Notes
Everything happens locally, so a confidential document’s contents never leave your device during extraction. If you need the images from a PDF rather than the text, use Extract Images instead.