Guides

How to Copy Text From a PDF (and Fix Messy Pasted Text)

By the Opener team6 min read

To copy text from a PDF, open it in a viewer that supports text selection, drag across the passage and copy it as you would on a web page. If the pasted text has broken lines or odd characters, that’s normal for PDFs and easy to clean up. If you can’t select anything at all, the PDF is most likely a scan, and you’ll need text recognition (OCR) first.

You can open the paper in your browser’s built-in viewer or in Opener’s PDF viewer, which lets you select and copy text without uploading the file anywhere.

Selecting and copying the passage

  1. Open the PDF in a viewer with text selection: a browser, macOS Preview, or the PDF viewer.
  2. Zoom in so you can see exactly where the passage starts and ends. Starting a selection mid-word is the most common cause of half-copied quotes.
  3. Click just before the first word and drag to the end of the passage. To select a longer block, click at the start, scroll, then hold Shift and click at the end; this works in many viewers.
  4. Copy with Ctrl+C (Cmd+C on a Mac) and paste into your notes.

Two-column papers are where this gets fiddly. Depending on how the PDF was produced, a selection can jump from the left column into the right one, or pick up a page header or footnote in the middle. Copy one column at a time, and if it still jumps, copy smaller pieces and join them.

Before you close the file, note the page number of the quote. For citations you want the page number printed on the journal page, which often differs from the page count your viewer shows.

Why pasted text comes out broken

A PDF is built for printing, not editing. It stores where each character sits on the page, not how sentences and paragraphs fit together. When you copy, the viewer has to guess the structure back, and the guess isn’t always right.

Math, special symbols and non-Latin scripts are more likely to come out wrong, so check those character by character.

Scanned PDFs: there’s no text to copy

If clicking and dragging draws a box or selects the whole page as one picture, the PDF is made of images, typically a scan or a photo of printed pages. It looks like text but contains none. Opener can display such files but does not do OCR, and neither do most basic viewers.

To get text out, you need optical character recognition:

OCR makes mistakes, especially with small print, old typefaces, footnotes and formulas. Always compare the recognised text against the page before quoting it.

When a PDF won’t let you copy

Some PDFs open normally but don’t let you select or copy text. The author or publisher has set permission restrictions in the file. These flags can block copying, printing or editing while still allowing reading. How strictly an app enforces them varies, but the restriction reflects the publisher’s wishes and may be tied to licence terms.

For a short academic quote, the straightforward options are:

Quoting a short passage with a proper citation is normal academic practice. Copying large parts of a restricted document is a different matter, so check your institution’s guidance if you’re unsure.

Cleaning up pasted text

A few habits turn a messy paste into a clean quote in seconds:

If the PDF itself won’t open, start with what to do when a PDF won’t open.

Frequently asked questions

Why can I see the text but not select it?

The PDF is almost certainly a scan or made from images. There’s no text layer, only a picture of text. Use OCR, for example through Google Docs or your phone’s text recognition.

Why does my copied text have line breaks everywhere?

PDFs store each printed line separately, so line endings come along when you copy. Paste as plain text and replace the line breaks with spaces.

Does Opener’s PDF viewer do OCR?

No. The PDF viewer lets you select and copy text in PDFs that contain real text. Scanned PDFs display fine, but you’ll need an OCR tool to get text out of them.

Is it okay to copy text from a protected PDF?

The restriction is the publisher’s choice. For a short quote, typing it out with a citation is normal; for more, look for an unrestricted version or ask the author.