Convertify LogoConvertify
how-to

When a PDF Won't Let You Copy Text: What's Actually Going On

Selection does nothing, or you paste gibberish. There are three different causes with three different fixes — and knowing which one you have saves a lot of time.

By Convertify TeamPublished Last reviewed 6 min read

Written and fact-checked by the Convertify editorial team. We test every workflow on real documents (government forms, design exports, scanned IDs, source code) before publishing — and re-test on each review date to keep the steps current.

You try to select a paragraph and the cursor draws a box instead of highlighting words. Or the text highlights, you copy it, and what lands in your document is "" or similar nonsense. These look like the same problem and are not.

There are three distinct causes. Work out which one you have before trying fixes, because the fix for one does nothing for the others.

Cause one: the page is an image

Symptom: dragging across the text draws a selection rectangle, like selecting on a photo. Nothing highlights.

Why: the PDF contains no text at all. Someone scanned a document or photographed it, and what you are looking at is a picture of words. There is nothing to select because, as far as the file is concerned, there are no words.

Fix: OCR — optical character recognition — which examines the image and works out what the letters are. That is genuinely a different technology from text extraction, and our tools do not do it yet. Free options that do include Google Drive (upload the PDF, right-click, Open with Google Docs, which runs OCR automatically) and most modern scanner apps, which offer a "searchable PDF" option.

Once OCR has produced a text layer, extraction works normally.

Cause two: the text is there but copying is restricted

Symptom: text highlights normally when you drag across it, but Copy is greyed out, or pasting produces nothing.

Why: the PDF has owner restrictions — permission flags set by whoever produced it, saying content should not be extracted. Important detail: this is a *request*, not encryption. The text sits in the file unencrypted; viewers voluntarily honour the flag.

Fix: [PDF to Text](/pdf-to-text) reads the text layer directly rather than going through a viewer's copy function, so it is not affected by the permission flag. Same for [PDF to Word](/pdf-to-word) if you want it as an editable document.

Worth saying plainly: those flags are usually there for a reason. Extracting text from a document you have a right to read, to quote or reference it, is ordinary. Republishing someone's paid content is not, and the flag being trivial to bypass does not change that.

Cause three: the font encoding is broken

Symptom: text selects and copies fine, but what you paste is garbage — random symbols, boxes, or letters in the wrong order.

Why: this is the subtle one. A PDF font maps character codes to glyph shapes. If the producing software embedded a subset font without a proper "ToUnicode" map, the file knows how to *draw* each character but not what character it *is*. The page looks perfect and the underlying data is meaningless.

This is common with PDFs exported from older versions of LaTeX, some CAD packages, and certain corporate report generators.

Fix: there is no clean one, because the information genuinely is not in the file. Options in order of preference:

  • Try [PDF to Text](/pdf-to-text) — different extractors handle broken encodings differently and it sometimes recovers more than a viewer's copy function.
  • Find the source document. Broken-encoding PDFs almost always have an original somewhere that will export correctly.
  • Fall back to OCR. Since the page *renders* correctly, running OCR on the rendered image sidesteps the encoding problem entirely. Ironic but effective.
  • How to tell which one you have in five seconds

    Press Ctrl+F (Cmd+F on Mac) in your PDF viewer and search for a word you can plainly see on the page.

  • **No results** — the page is an image. You need OCR.
  • **It finds it, but you can't copy** — permission restrictions. Use a text extractor.
  • **It finds it and copying gives gibberish** — broken font encoding. Try an extractor, then OCR.
  • That single test tells you which of the three problems you have and saves trying fixes that were never going to work.

    Frequently Asked Questions

    Why can't I select text in my PDF at all?

    The page is almost certainly a scanned image rather than text. Press Ctrl+F and search for a word you can see — if it finds nothing, there's no text layer in the file and you need OCR to create one.

    Is it legal to extract text from a restricted PDF?

    The permission flag is a request that viewers honour voluntarily, not encryption — the text sits unencrypted in the file. Extracting from a document you have a right to read, in order to quote or reference it, is ordinary use. Republishing someone's paid content isn't, regardless of how easy the flag is to bypass.

    I copied text and got random symbols. What happened?

    The PDF's fonts are missing their ToUnicode mapping, so the file knows how to draw each character but not what character it represents. Try a dedicated text extractor first, then look for the source document — and if neither works, OCR on the rendered page sidesteps the problem entirely.

    Does your PDF to Text tool do OCR?

    No. It reads the text layer that's already in the file, which is fast and accurate on digitally-created PDFs but returns nothing for scanned pages. For scans, run the file through Google Drive's OCR or a scanner app's 'searchable PDF' option first.

    Ready to Try This Tool?

    Put what you learned into action. Try Convertify's free PDF tools now - no sign up required!

    Try Pdf To Text Tool →
    Ad

    Other Tools You Might Need

    Related Articles

    Ad