How to Extract Text from a PDF (Copy, Search, Reuse)
Three free ways to pull editable text out of any PDF — including scanned image PDFs that look like they can't be selected.
You need the text inside a PDF — maybe to paste into an email, search for a phrase, feed into AI, or just to quote a passage. Depending on how the PDF was created, this is either a five-second job or a slightly bigger one.
Here's how to handle both cases.
Case 1: The PDF has real text (easy)
Open it in any modern browser, click and drag to select, and copy. That's it. You can paste into Word, Notes, an email, ChatGPT, anywhere.
How to tell if your PDF has real text: try to select a word. If a highlight appears as you drag, you have a "text PDF" and you're done.
For larger extractions, you can also:
- Select all (
Ctrl/Cmd + A) and copy everything at once. - Save as TXT — most PDF viewers offer "Save as Text" or "Export Text" in their File menu.
Case 2: The PDF is a scan or image (slightly harder)
If your selection cursor doesn't highlight anything, the PDF is image-only. It's a picture of text, not actual text. You need OCR (optical character recognition) to convert the picture into selectable characters.
The fastest free options:
- Browser-based OCR tool: upload the PDF, get back a text-searchable version.
- Google Drive trick: upload the PDF to Drive, right-click → "Open with Google Docs". Google's OCR runs automatically and the resulting Doc contains the extracted text.
- macOS Preview: in recent macOS versions, image text can often be selected directly using Live Text — no OCR step needed.
- iPhone/iPad: Open the PDF in Files → tap text → select. iOS 17+ recognizes text in images by default.
For most documents in good condition, OCR accuracy is 95%+ on the first try. Expect to clean up a handful of characters (especially "fi" / "fi" or "0" / "O" mix-ups) on long documents.
Case 3: You only want one specific quote
If you just want to grab a paragraph for an email or report, don't bother with OCR or extraction tools. Open the PDF in your phone's camera app and:
- iPhone: Point camera at the page → tap the Live Text icon → select text → copy.
- Android (Google Lens): Open the Camera or Lens app → point at the page → tap text → copy.
Both work even on printed paper, so you don't strictly need the PDF for one-off quotes.
Common follow-up: splitting first
If you only need text from a few pages of a long PDF, save yourself processing time by splitting the PDF first to keep only the relevant pages. Then extract text from the smaller file.
Common pitfall: copy-paste with line breaks everywhere
When you copy text from a multi-column PDF (academic papers, magazines), you often get line breaks mid-sentence and column-jumps that read as gibberish. Two fixes:
- Paste into a text editor first, then use find-and-replace to swap
\nfor a space. - Use a "remove line breaks" web utility — they're free and instant.
Either way, the result is cleaner than copying directly into Word.
Feeding extracted text to AI / search
Once you have plain text, you can:
- Paste into ChatGPT, Claude, or Gemini for summarization.
- Grep it from the command line for keywords.
- Index it in Notion, Obsidian, or any note-taking tool.
- Feed it to a translator for instant multilingual versions.
PDFs are containers, not prisons. Once the text is out, everything else is just text — and text is the easiest format on the internet.