Fix PDF ErrorsApril 2, 20265 min read

Fix "Cannot Copy Text From PDF" — When Select All Copies Nothing

When you can select PDF text but copy-paste gives nothing or garbled characters, the PDF has encoding or extraction issues. Here's how to extract text correctly.

There's a frustrating subset of PDF problems where you can visually select text — the blue highlight appears — but when you paste, you get nothing, garbled characters, or completely wrong text. This is different from the "copy restriction" error. Here, the problem is with how the text is encoded in the PDF file itself.

Why Copied PDF Text Can Be Wrong or Empty

PDFs separate visual rendering from text content. A PDF can draw "Hello World" on screen using visual instructions while the underlying text objects contain "xkj3lp" due to custom glyph mapping. The viewer shows the correct visual — because it maps the visual glyphs correctly — but the clipboard receives the underlying text objects, which are garbled. This is common in: PDFs created from InDesign with custom font encoding, academic PDFs with mathematical notation, PDFs converted from PostScript, and PDFs where the creator deliberately obfuscated the text layer (anti-copy measure).

Fix 1 — Try a Different Viewer

Different PDF viewers interpret character encoding differently. If text comes out garbled in Adobe Reader, try: Chrome (drag file onto a tab), Firefox, or macOS Preview. Each uses a different text extraction engine. Chrome's PDFium often produces clean text from PDFs where Adobe fails, and vice versa. If any viewer produces correct text when copying, use that viewer for this document type. Also try selecting text on a different page — sometimes the encoding problem is specific to pages with certain fonts.

Fix 2 — Use Google Drive OCR

Upload the PDF to Google Drive → right-click → Open with Google Docs. Even for PDFs with existing text layers, Google Docs re-runs OCR on the rendered page image, which bypasses the broken text encoding entirely. The text in the resulting Docs file is extracted from the visual rendering, not the corrupt text objects. Copy text from Google Docs as needed. For long documents, the formatting will be rougher than the original but the text content will be accurate.

Fix 3 — Re-process to Normalise Text Encoding

Running the PDF through FixMyPDF's compressor at Low compression normalises the internal text encoding to standard Unicode (Identity-H) mappings. If the garbled-text issue is caused by non-standard encoding vectors (the most common cause), the re-processed file will produce correct text on copy. Download the output, open in your PDF viewer, and test text copy — in most encoding-issue cases, copy-paste will work correctly after this step.

Fix 4 — Check FixMyPDF's PDF Inspector for Text Layer Issues

Use FixMyPDF's PDF Inspector to examine the PDF's internal structure. If the inspector shows text objects with non-standard encoding or no ToUnicode map, that confirms an encoding issue. If it shows image objects only with no text (scanned document), you need OCR (see the separate "PDF not searchable" guide). Understanding which issue you have prevents trying the wrong fixes. An encoding issue is fixable; a missing text layer requires OCR to create one from scratch.

Try PDF Inspector Now — Free

Browser-based, private, and instant. No account or software required.

Open PDF Inspector
Report Bug
Send Feedback
Feature Request