Whether you need to copy a quote from a PDF report, extract data from a PDF form, or convert a PDF article to editable text, extracting text from a PDF is something almost everyone needs to do. This guide covers every method — from the fastest one-click browser tool to OCR for scanned documents.
Method 1: Free PDF to Text Converter (Browser-Based, No Upload)
PDFWonder's PDF to Text tool extracts all readable text from a PDF and displays it as plain text you can copy or download. Everything runs in your browser.
- Go to the PDF to Text tool.
- Upload your PDF.
- All text is extracted and displayed instantly.
- Select all and copy, or look for a Copy button to grab the full text.
Method 2: Copy Text Directly in Your PDF Reader
For text-based PDFs, the simplest method is just selecting and copying:
- In Chrome/Edge (any OS): Open PDF → click and drag to select text → Ctrl+C (or Cmd+C on Mac).
- In Adobe Acrobat Reader: Click the cursor tool → select text → right-click → Copy. Or Edit → Copy to get all text on a page.
- Select all text: Ctrl+A (or Cmd+A) while viewing a PDF in a browser selects all text on the current page.
If the text is not selectable, the PDF is either a scanned image or has copy restrictions enabled. See the methods below for those cases.
Method 3: Extract Text From a Scanned PDF Using Google Docs (Free OCR)
Google Docs automatically applies OCR when you open a PDF — this works even on scanned documents:
- Go to Google Drive (drive.google.com).
- Upload the scanned PDF.
- Right-click the PDF → Open with → Google Docs.
- Google applies OCR and opens the document with recognised text.
- Select all (Ctrl+A) and copy, or work with it directly in Google Docs.
- Download as Word or plain text via File → Download.
Quality of OCR depends on the scan quality. Good scans of printed text produce excellent results; handwritten text or very low-resolution scans may have errors.
Method 4: Extract Text on Mac with Preview
- Open the PDF in Preview.
- Go to Edit → Select All (Cmd+A) to select all text on the page.
- Copy with Cmd+C.
Alternatively, go to File → Export → Text in some versions of Preview to save the text content as a .txt file.
Method 5: Use Python to Extract PDF Text (for Developers)
If you need to extract text from many PDFs programmatically, Python makes it easy:
pip install pypdf2
from PyPDF2 import PdfReader
reader = PdfReader("document.pdf")
text = ""
for page in reader.pages:
text += page.extract_text()
print(text)
For scanned PDFs, combine with pytesseract for OCR:
pip install pytesseract pdf2image pillow
from pdf2image import convert_from_path
import pytesseract
pages = convert_from_path("scanned.pdf")
text = ""
for page in pages:
text += pytesseract.image_to_string(page)
print(text) Why Text Extraction Fails (And How to Fix It)
The PDF is a scanned image
Scanned PDFs contain images of pages — there is no text layer. Solution: use Google Docs OCR (Method 3 above) or a dedicated OCR tool.
Text copying is restricted
The PDF owner may have set a permission that prevents copying. Solution: if you know the PDF password, open it with the password in Chrome and use Ctrl+P → Save as PDF to create an unrestricted copy.
Non-standard encoding or fonts
Some PDFs with unusual embedded fonts extract as garbled characters. This is a PDF structure issue — a different PDF-to-text tool or OCR is the usual workaround.
Right-to-left or complex scripts
Arabic, Hebrew, and some Asian scripts may extract with character order issues in some tools. Adobe Acrobat handles these better than browser-based tools.
When to Use PDF to Text vs PDF to Word
- Use PDF to Text when: you only need the raw text content without formatting — for feeding into another tool, copying a quote, or analysing content.
- Use PDF to Word when: you need to edit the document while preserving the original formatting, headings, tables, and images. Note that PDF to Word conversion is never perfect for complex layouts.
Frequently Asked Questions
How do I extract text from a PDF for free?
Use PDFWonder's free PDF to Text tool. Upload a text-based PDF and all readable text is extracted and displayed instantly — no upload to any server, no account needed.
Why can't I copy text from a PDF?
There are two main reasons: (1) the PDF is a scanned image PDF without a text layer — text extraction will not work without OCR; (2) the PDF is password-protected with restrictions on copying. If you know the password, open the PDF and remove restrictions first.
What is the difference between a text-based PDF and a scanned PDF?
A text-based PDF was created from digital sources (Word, HTML, spreadsheet) and contains actual text data that can be selected and copied. A scanned PDF is a photograph of a document — it is just an image. Text extraction requires OCR for scanned PDFs.
Can I extract text from a scanned PDF?
Yes, but you need OCR (Optical Character Recognition). Our PDF to Text tool uses PDF.js, which extracts the text layer and does not perform OCR. For scanned PDFs, use Google Docs (free): upload the PDF → Open with Google Docs → Google automatically applies OCR.
How do I copy text from a PDF in Chrome?
Open the PDF in Chrome. Click and drag to select text, then Ctrl+C (or Cmd+C) to copy. If the text is not selectable, the PDF is either scanned or text-copying is restricted.
Can I extract text from a PDF on iPhone?
In iOS 15+, Apple's Live Text feature can recognise and let you select text from images and documents in the Photos or Camera app. For PDFs, use PDFWonder's PDF to Text tool in Safari — it works on mobile.