How to Fix PDF Text Highlighting and Copying Incorrect Results
Question details
The user is experiencing issues where highlighting text in a PDF selects incorrect areas, and copying the text results in duplicated or garbled characters.

- Product
- Device & OS
- not provided
- Scenario
- Trying to highlight, select, or copy text from a scanned or OCR-processed PDF document.
- Observed behavior
- Highlighting behaves erratically, and copy-pasted text produces unusual, incorrect, or duplicated results due to faulty text layers or OCR errors.
Determine if your PDF is a scanned document that has undergone Optical Character Recognition (OCR), as this is the most common cause of hidden text layer corruption.
Rerun OCR to Rebuild the PDF Text Layer
Re-applying Optical Character Recognition (OCR) with the correct language and settings can replace the corrupted text layer with an accurate one.
When a PDF is created from a scanner, it relies on an invisible text layer placed over the image. If the initial OCR process failed due to background noise or incorrect language settings, the text selection will be misaligned or garbled.
Open your PDF editor and navigate to the OCR (Optical Character Recognition) feature, usually found under the 'Tools' or 'Edit' tab.
Ensure you select the exact language of the document's text to prevent incorrect character recognition.
Start the OCR process to extract the text as a new selectable layer. Once finished, try highlighting and copying the text again.

Use an Alternative PDF Viewer as a Workaround
If you cannot edit the PDF to fix the OCR layer, using built-in OS viewers like Apple Preview can sometimes bypass the selection glitch.
Fix PDF Text Issues Easily with WPS Office
WPS Office features an advanced, built-in OCR engine that accurately recognizes text from scanned PDFs and images, allowing you to flawlessly highlight, copy, and edit text without formatting errors.
- 1. Open PDF in WPS Office: Launch WPS Office and open your problematic PDF document.
- 2. Access the OCR Feature: Go to the 'Tools' tab and click on the 'OCR' button to start text recognition.
- 3. Apply and Extract: Select the appropriate language and apply the OCR. The document will now have a newly generated, accurate text layer ready for copying or highlighting.

Frequently Asked Questions
Why does copying text from my PDF paste weird symbols?
This happens when the PDF relies on a custom font encoding that hasn't been properly embedded, or the invisible OCR text layer contains misinterpreted characters. Rerunning OCR can often resolve this.
Can background images affect PDF text highlighting?
Yes. Background images or complex overlapping objects can confuse the PDF viewer or the OCR engine, causing the highlight selection box to snap to the wrong elements.
How do I know if my PDF is a scanned document?
If you zoom in closely on the text and it appears pixelated or blurry like a photograph, rather than sharp and crisp, it is likely a scanned image requiring OCR to make the text selectable.
How can I fix duplicated text when copying from a PDF?
Duplicated text usually means there are multiple overlapping text layers in the document. You can fix this by using a PDF editor to flatten the document or by rerunning OCR to generate a single clean text layer.




