Other PDF Issues

Fix Incorrect or Misaligned Text Selection in PDF Files

John WilsonJohn Wilson Oct 28, 2026 868 views

Question details

The user is unable to select text properly in specific PDF files, experiencing image-like drag boxes or misaligned vertical selections instead of normal text highlighting.

How to Fix Incorrect Text Selection in PDF Files
Product
PDF
Device & OS
not provided
Scenario
Attempting to select, copy, or highlight text within a PDF document for editing or reviewing purposes.
Observed behavior
In one document, the selection tool draws a free-form box as if the page is an image. In another document, text selection becomes vertical or misaligned, even though some parts appear to be selectable text.
Before you start

Determine whether your PDF is a scanned document (image-based) or a text-based file, as image-based files naturally do not allow standard text selection without extra processing.

Solution 1Recommended

Use OCR to Rebuild the Text Layer

If the PDF is an image-based file (like a scan) or has a damaged text layer, running Optical Character Recognition (OCR) will extract and reconstruct selectable text.

PDF pages that behave like flat images completely lack a readable text layer. Even if a PDF appears to have text, poor encoding during its creation can scramble the font data, causing misaligned or vertical selections.

Applying OCR scans the visual appearance of the characters and generates a brand new invisible text layer that you can cleanly select.

1
Open the OCR tool

Open your PDF editor and navigate to the 'Tools' or 'Edit' tab, then select the 'OCR' (Optical Character Recognition) feature.

2
Select OCR settings

Choose the option to either make the current document searchable and selectable, or extract the text to a new file.

3
Run the recognition process

Click 'Start' or 'Convert' to process the document. Once finished, use the standard text selection tool to try highlighting the text again.

Use OCR to Rebuild the Text Layer
Language Setting: Ensure you select the correct document language in the OCR settings for the highest text recognition accuracy.
Easily fix PDF text selection with WPS Office

Fix PDF Text Selection Issues using WPS Office OCR

WPS Office features a robust built-in PDF toolkit with an advanced OCR engine. It can quickly convert scanned, unselectable, or poorly encoded image-based PDFs into fully selectable and editable text.

  1. 1. Open your PDF in WPS: Launch WPS Office and open the PDF file that has text selection issues.
  2. 2. Access the OCR Tool: Navigate to the 'Tools' tab on the top ribbon and click on the 'OCR' button.
  3. 3. Extract Selectable Text: Choose 'Extract Text' to pull the content into a selectable text box, or 'Convert to Word' to generate a fully editable Microsoft Word document.
Advanced OCR engine to recognize and rebuild unselectable PDF textFully compatible with standard PDF and Microsoft Office formats like DOCXLightweight, fast, and user-friendly interface for seamless document editingEasily extract locked or misaligned text into clean Word documents
QA img-9

Frequently Asked Questions

Why does my cursor draw a box instead of selecting text in my PDF?

This happens when the PDF page is actually an image (such as a scanned document) rather than a digital text file. To make the text selectable, you need to use an OCR (Optical Character Recognition) tool to analyze the image and generate a digital text layer.

Why is my text selection highlighting vertically instead of horizontally?

Vertical or misaligned highlighting is usually caused by corrupted font encoding, incorrectly rotated text boxes, or a poorly generated text layer during the PDF export process. Recreating the PDF from the original file or using an OCR tool can resolve this alignment issue.

Can I fix a PDF with damaged fonts if I don't have the original source file?

Yes. The best workaround when you don't have the original source file is to convert the problematic PDF pages into an image format (like PNG or JPG), and then run an OCR tool on those images to generate a fresh, accurate, and selectable text layer.