How to Fix OCR Moving Text to Incorrect Locations in a PDF
Question details
Users experience text moving, duplicating, or being misplaced when using OCR on a scanned PDF document.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Performing OCR text recognition on long or complex scanned PDF documents.
- Observed behavior
- The OCR process causes words, phrases, and text blocks to be shifted, duplicated, or placed in entirely incorrect locations within the PDF.
Before troubleshooting the OCR process, ensure you have the original scanned image files or physical documents available in case you need to re-scan them at a higher quality.
Adjust OCR Settings and Process in Smaller Batches
Modifying the OCR output style and processing fewer pages at a time can help the software handle complex layouts more accurately without shifting text.
By default, some OCR modes attempt to completely replace the scanned image with editable fonts. In documents with complex layouts or unusual fonts, this can severely disrupt the text positioning.
Open your scanned document in Acrobat, click on the 'Tools' tab, and select the 'Scan & OCR' option.
Click on 'Recognize Text' in the toolbar, select 'In This File', and then click on 'Settings' (the gear icon).
Change the 'Output' style setting from 'Editable Text and Images' or 'Clear Scan' to 'Searchable Image (Exact)'. This mode leaves the original image intact and places invisible text over it, preventing visible layout shifts.
Instead of applying OCR to the entire long document at once, apply it to a smaller range of pages (e.g., pages 1-10) to minimize cumulative layout and memory errors.

Improve Source Scan Quality
Poor scan quality, skewed pages, or low resolution directly cause OCR positioning errors. Enhancing the original scan resolves the root cause.
Manually Correct Misplaced Text
For severely affected documents with highly complex formatting, manual correction may be the only way to perfectly align text.
Use WPS PDF for Highly Accurate OCR Without Layout Shifts
If your current PDF software struggles with complex layouts and misplaced text during OCR, WPS PDF offers an advanced OCR engine. It intelligently recognizes text, columns, and images while strictly preserving the original document's structure and layout.
- 1. Open Scanned PDF in WPS: Download and open WPS Office, then open your problematic scanned PDF document using the WPS PDF tool.
- 2. Initiate OCR: Navigate to the 'Tools' tab on the top ribbon and click on the 'OCR' button to start the text recognition setup.
- 3. Choose Output Format: Select your desired output operation, such as 'Extract text' or 'Convert to Word', depending on whether you need to edit the layout or simply copy the plain text.
- 4. Process Document: Click 'Start' or 'Confirm' to process the document. WPS PDF will accurately recognize the text while maintaining the original layout fidelity.

Frequently Asked Questions
Why does OCR sometimes duplicate words in my PDF?
Duplication often occurs when the OCR software struggles to differentiate between the original image text and the newly generated editable text, usually due to low scan contrast or complex fonts. Changing the OCR output mode to 'Searchable Image' can prevent this.
What is the best scan resolution to prevent OCR errors?
For the most accurate OCR results, it is recommended to scan documents at 300 to 600 DPI (Dots Per Inch). Resolutions lower than 300 DPI often result in blocky text that OCR engines misinterpret, leading to severe layout shifts.
Can skewed pages cause OCR text misalignment?
Yes, if a page is scanned at an angle, the OCR software may read lines of text diagonally or misinterpret column boundaries. This causes the generated text blocks to be placed in completely incorrect locations. Always use a deskew tool before running OCR.




