Blog

How to Extract Text from a PDF (All Methods Compared)

Getting text out of a PDF sounds simple โ€” until you try it and discover that some PDFs give you clean text immediately while others resist every attempt. The reason is that not all PDFs contain selectable text. This guide covers every method available, with clear guidance on which to use and when.

Quick Comparison

MethodWorks for Digital PDFsWorks for Scanned PDFsEffort
Manual copy-pasteYesNoVery Low
Browser PDF viewerYes (Ctrl+A)NoLow
Online PDF converterYes โ€” best formattingNoLow
OCR toolYes (overkill)Yes โ€” only optionMedium

Method 1: Manual Copy and Paste

Method 1 โ€” Simplest

Copy Text Directly from the PDF Viewer

Open the PDF in Adobe Acrobat Reader, your browser, or any PDF viewer. Click and drag to select text, then Ctrl+C (Cmd+C on Mac) to copy. Paste into any text editor.

This works only if the PDF contains actual text layers โ€” which all digitally created PDFs do. If your text appears to be selectable but comes out garbled or empty, the PDF may have embedded fonts that don't map to standard Unicode characters.

Pros

  • Zero tools required
  • Instant for short selections
  • Works in any OS

Cons

  • Loses all formatting
  • Tables become garbled
  • Doesn't work for scanned PDFs
  • Multi-column layouts extract in wrong order

Method 2: Browser PDF Viewer (Select All)

Method 2 โ€” Quick Full-Document Extract

Open in Chrome or Firefox, Use Ctrl+A

Open the PDF in Google Chrome or Firefox (drag the file into the browser or use File โ†’ Open). Press Ctrl+A to select all text, then Ctrl+C to copy. This extracts all text from the entire document in a single operation.

Chrome's PDF renderer often produces cleaner text extraction than Adobe Reader for many PDFs. For multi-page documents where you need all the text, this is the fastest manual method.

Pros

  • Full document in one action
  • No software to install
  • Chrome often handles fonts well

Cons

  • Still loses formatting
  • Fails on scanned PDFs
  • Column order may be wrong

Method 3: Online PDF to Text Converter

Method 3 โ€” Best for Formatted Documents

Upload to an Online Converter

Online PDF to text converters (like the one at pdftotext.usertoolbox.com) process the PDF server-side and extract text with much better handling of multi-column layouts, tables, and text ordering than manual copy-paste.

Many converters offer output formats including plain text (.txt), Microsoft Word (.docx), and HTML โ€” preserving heading structure, paragraph breaks, and sometimes even basic table formatting.

Pros

  • Best text ordering
  • Handles multi-column PDFs
  • Multiple output formats
  • No software to install

Cons

  • Requires uploading the file
  • Privacy consideration for sensitive docs
  • Still fails on scanned PDFs

Method 4: OCR (Optical Character Recognition)

Method 4 โ€” For Scanned PDFs

Use OCR to Read Image-Based PDFs

When a PDF is created by scanning a physical document, it's actually a series of images โ€” there's no text layer at all. OCR software analyses the image and recognises the character shapes, converting them into text.

OCR tools range from Google Drive's built-in OCR (upload a PDF, right-click, Open with Google Docs โ€” it automatically runs OCR) to dedicated tools like Adobe Acrobat Pro, ABBYY FineReader, and Tesseract (open-source).

Accuracy depends heavily on scan quality, font clarity, and language. Modern OCR on clean scans typically achieves 97โ€“99% character accuracy โ€” good enough for most purposes, but still requiring proofreading for critical documents.

Pros

  • Only option for scanned PDFs
  • Modern accuracy is very high
  • Some tools are free (Google Drive)

Cons

  • Never 100% accurate
  • Slower than text extraction
  • Fails on low-quality scans
  • Struggles with handwriting
How to tell if a PDF is scanned: Open the PDF and try to click on a word to place your cursor in it. If the cursor appears and you can select individual words, it's a digital PDF with a text layer. If clicking selects the entire page like an image, or nothing is selectable, it's scanned โ€” and you need OCR.

Frequently Asked Questions

Why does my copied text from a PDF look garbled or show strange characters?

Some PDFs use custom or subset fonts without proper Unicode mapping. The characters display correctly on screen because the PDF viewer renders the glyph shapes, but copy-pasting extracts the raw character codes which map to wrong or missing Unicode characters. An online PDF converter with proper parsing can often work around this where simple copy-paste fails.

Can I extract text from a password-protected PDF?

If the PDF has an open password (you can't open it without a password), you'll need the password first. If it has a permissions/owner password only (you can open and read it, but printing or editing is restricted), text extraction often still works because you have read access to the content.

Can I extract text from just specific pages?

Yes โ€” most online PDF converters and tools like Adobe Acrobat allow you to specify a page range for extraction. Alternatively, split the PDF to the pages you need first, then extract text from the smaller file.

Extract Text from Your PDF โ€” Free

Upload your PDF and download the extracted text as a .txt or .docx file. Works for both digital and most scanned PDFs.

Open PDF to Text Converter โ†’