The short answer
For a few lines, select the text with your mouse or finger and copy it (Ctrl+C on Windows, Cmd+C on a Mac). For whole pages or long documents, drop the PDF into the extractor below and download a TXT file with all the text in reading order. Leave Add page markers on and every page starts with a line like [Page 3], so you can always find where a passage came from. Use the Pages field to limit the export, for example 1-3, 5 or 8-.
If the tool says that no text was found, the PDF is probably a scan. Jump to the OCR section below.
Try it here: PDF to Text
Open the full tool pageTwo kinds of PDF: text or pictures
A PDF saved from Word, Google Docs, a website or an accounting program contains real text: every letter is stored with its font and position. You can search it with Ctrl+F, select it and copy it.
A PDF made with a scanner, a copier or a phone scanning app is different. Each page is a photo of the paper. It looks like text, but to the computer it is a grid of pixels, so the cursor selects nothing or selects the whole page as an image. Searching finds nothing either. Some scanning apps run OCR automatically and add an invisible text layer, which is why some scans are searchable and others are not.
A quick test: press Ctrl+F (Cmd+F) in your PDF reader and search for a word you can see on the page. If it is found, the PDF has text. If not, it is a scan without a text layer.
Copying text on each device
- Windows and Mac: open the PDF in a browser, Adobe Acrobat Reader or Preview, drag across the text and copy. Ctrl+A (Cmd+A) selects all text, but in long documents the result is often messy.
- Microsoft Word: File > Open and choose the PDF. Word converts it into an editable document. It keeps more formatting than copy and paste, but tables and complex layouts can shift, so check the result.
- iPhone and iPad: open the PDF in Files or Books, press and hold a word, drag the handles and tap Copy. For scans and photos, Live Text can recognize text in images on recent iOS versions.
- Android: open the PDF in Google Drive or another PDF viewer, press and hold to select, then tap Copy. For scans, Google Lens can read text from a photo of the page.
- Any device, whole document: use the extractor on this page to get one clean TXT file instead of copying page by page.
Why pasted text looks wrong, and how to fix it
Copying from a PDF often gives broken lines, mixed up columns or strange characters. The reason is that a PDF stores where each piece of text goes on the page, not how the paragraphs flow. The reader has to guess the reading order.
- A line break after every line: PDF lines end where the page ends, not where the sentence ends. In a text editor, replace single line breaks with spaces, or paste into a tool that joins lines.
- Columns mixed together: selecting across two columns grabs both. Select one column at a time, or extract the text: the extractor reads the text in the order it is stored in the file, which usually means one column after the other.
- Hyphenated words split in two: words broken at the end of a line keep the hyphen. Search for a hyphen followed by a line break and remove both.
- Gibberish or boxes instead of letters: some PDFs embed fonts without a map from shapes to real characters. The text looks fine but copies as nonsense. Extracting will not help here; treat the file like a scan and use OCR.
- Tables turn into long lines: plain text has no cells. Values from one row end up on one line separated by spaces. For real tables, copy row by row or rebuild the table in a spreadsheet.
When you need OCR
OCR (optical character recognition) looks at the picture of a page and turns the shapes of letters back into text. You need it for scans, photos of documents and PDFs that copy as gibberish.
On Anyfeat you can do it in two steps without uploading anything. First open the scan in PDF to Image, choose PNG and the High (print) resolution, which gives 300 DPI images that OCR reads much more reliably than screen resolution. Then open the images in Image to Text (OCR), pick the Language of the text and copy the result or download it as TXT. Choosing the right language matters: it is how accented letters, Turkish dotted and dotless i, or German umlauts are recognized correctly.
| Source | What to use | Expected quality |
|---|---|---|
| PDF saved from Word or a website | Select and copy, or PDF to Text | Exact, every character |
| Clean scan of a printed page, 300 DPI | PDF to Image, then OCR | Very good, check names and numbers |
| Phone photo of a document | OCR directly on the photo | Good if sharp and straight |
| Low resolution scan or fax | OCR, scanned again if possible | Many errors below about 200 DPI |
| Handwriting | OCR rarely works | Usually needs typing by hand |
Tips for clean extracted text
- Extract only the pages you need with the Pages field, for example 4-12, so you do not have to delete covers and appendices afterwards.
- Keep page markers on when you will quote or cite the text: it is much easier to find the page later.
- The TXT file is saved as UTF-8, so every language and alphabet comes through correctly, including Cyrillic, Greek, Arabic and Chinese, and it opens correctly in any text editor.
- Several PDFs can be processed at once. Each becomes its own TXT file, and you can download them all as a ZIP.
- Always proofread OCR output, especially numbers, names and amounts. A 5 read as an S in an invoice total is easy to miss.