Correct Scanned PDF Alignment Before OCR in Adobe Acrobat
Question details
The user needs to correct scanned PDF page alignment and gray areas before or during OCR.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- A scanned PDF contains pages that were scanned sideways, upside down, or at an angle, and the user wants accurate OCR text placement.
- Observed behavior
- The pages may show gray areas or OCR text that does not align with the scanned content.
Open the scanned PDF and identify a page with the alignment issue. Check whether the whole page is rotated, the text is tilted, or gray borders are present.
Test Acrobat OCR on One Scanned Page
Use a single-page OCR test to see whether Acrobat corrects the page orientation and produces aligned, selectable text.
Acrobat OCR may automatically correct page orientation and straighten a scan, but the result depends on the source image. Menu names can vary by Acrobat version.
Open the PDF in Acrobat, then choose All tools > Scan & OCR > Recognize Text > In this file.
Set the page range to one affected page and choose the document language in the OCR settings.
Select Recognize Text, then try selecting text on the processed page. Check that the page is upright and the selected text aligns with the visible words.
If the test looks correct, return to Recognize Text, select the remaining page range, and run OCR.

Rotate and Clean Scanned Pages Before OCR
Use this approach when pages remain sideways, tilted, or surrounded by gray borders after the OCR test.
Prepare a Scanned PDF for OCR with WPS Office
Use WPS PDF tools to rotate pages and crop borders, then run OCR on a corrected scan. For a tilted scan that needs deskewing, straighten the source image first.
- 1. Open the scanned PDF: Open WPS Office and use Open to select the scanned PDF.
- 2. Correct page orientation: Use the PDF page rotation controls to turn sideways or upside-down pages upright.
- 3. Crop and straighten the scan: Use the PDF crop tool to hide unwanted borders. If the text is tilted, straighten the source scan in scanner software or an image editor and reopen the corrected PDF.
- 4. Run OCR and review: Choose OCR or PDF to Word from the PDF tools, select the appropriate language and pages, and review the recognized text against the scan.

Frequently Asked Questions
Can Acrobat automatically straighten a scanned PDF during OCR?
Acrobat OCR may correct rotation and skew during recognition. Test one page through All tools > Scan & OCR > Recognize Text and inspect the result before processing the whole file.
Why does selected OCR text not line up with the scanned words?
A rotated or tilted source scan can contribute to misalignment. Rotate the page in Organize pages or straighten the source scan, then run a one-page OCR test again.
How do I remove gray borders around a scanned page?
In Acrobat, choose All tools > Edit a PDF > Crop pages and crop around the content. Cropping hides the border; clean the source scan if the gray area is within the page or the underlying data must be removed.
What should I check before running OCR on the entire PDF?
Run Recognize Text on one affected page using the correct document language. Check the page orientation and select several words to see whether the recognized text aligns with the scan.




