How to Extract Text from a PDF (and Why It Sometimes Fails)

Published Dec 3, 2026 · FreePDFTools

Copying text page by page from a PDF viewer is tedious and error-prone — selections break across columns, and footers sneak in. A text extractor pulls everything at once into plain text you can search, translate, analyse or paste anywhere.

Extracting in the browser

  1. 1 Open the PDF to Text tool and add your file.
  2. 2 Click "Extract text". Pages are processed locally — nothing is uploaded.
  3. 3 Review the preview: pages are separated by a divider line.
  4. 4 Copy the text to the clipboard, or download the whole thing as a .txt file.

Why did I get nothing back?

There are two fundamentally different kinds of PDF. A digital PDF (exported from Word, a website, or most modern systems) contains actual text characters — extraction works perfectly. A scanned PDF contains photographs of text — there are no characters to extract, so the output is empty. That’s not a bug; the file genuinely contains no text.

Turning scans into text requires OCR (optical character recognition), which this tool deliberately does not fake. A quick test: try selecting text in your PDF viewer. If you can’t select anything, it’s a scan.

What plain text does and doesn’t keep

  • Kept: the words themselves, approximate line breaks, page boundaries.
  • Lost: fonts, bold/italic, tables, columns, images — .txt has no formatting by definition.
  • Garbled output usually means the PDF uses unusual font encoding; try copying from a different source of the document.

Tools used in this guide

More guides