Can't copy text from a PDF? How to fix it, and get clean text out
Published · 2 min read
Short answer
If you cannot select the text, the PDF is a scan: run OCR PDF first. If copying is blocked, remove the restriction with Unlock PDF. To get all the text at once, use Extract Text, which saves it as a plain text file. Nothing is uploaded.
Copying from a PDF should be as easy as from a web page, but often it is not. There are three different problems, each with its own fix.
Problem 1: the text will not select
When you drag across the page and it selects the whole page as a box, or nothing at all, the PDF is a scan or a photo: there is no text in it, only a picture of text. Fix: run OCR PDF to recognise the words. See how to make a scanned PDF searchable.
Problem 2: copying is blocked
Some PDFs show "Secured" in the title bar and grey out copying. That is a permission setting, not a scan. Fix: if the document is yours or you are allowed to use its text, open Unlock PDF and leave the password empty to remove the restriction.
Problem 3: the pasted text is a mess
A PDF stores lines, not paragraphs, so pasted text often has a line break at the end of every line, words split by hyphens, or columns mixed together.
- Paste as plain text (Ctrl+Shift+V in most apps, or Cmd+Option+Shift+V on a Mac) to drop fonts and colours.
- Remove line breaks in Word: Find and Replace, search for ^p and replace with a space, then fix the real paragraph breaks.
- Two-column layouts: select one column at a time; some readers let you hold Alt (Option on Mac) to select a rectangle.
- Keep the formatting: if you need headings, lists and tables, convert with PDF to Word instead of copying.
Getting all the text at once
- 1Open Extract Text and drop in your PDF.
- 2Download the text file, with all the pages' text in reading order.
- 3Open it in any text editor, or paste it where you need it.
Frequently asked questions
- Why does copied text come out as strange symbols?
- Some PDFs use fonts without a proper map from shapes to letters, so they look right but copy as gibberish. OCR fixes this: it reads the letters from how they look.
- Can I copy text from a PDF on my phone?
- Yes: press and hold to select, then copy. For long documents, Extract Text is easier than selecting on a small screen.
- Is it legal to copy text from a PDF?
- Copying for your own notes is generally fine. Republishing someone else's text needs their permission, whatever format it came in.