How to Fix Text Shifted to the Wrong PDF Page
Question details
The user needs to correct a PDF document where text has unexpectedly moved to an incorrect page during the editing process.

- Product
- Device & OS
- not provided
- Scenario
- Editing a scanned PDF document after optical character recognition (OCR) has been applied.
- Observed behavior
- Text elements from the next page, such as a header or a specific word, incorrectly shift to the bottom of the previous page while modifying the document.
Ensure you have a backup copy of your original scanned PDF file before attempting layout corrections, as adjusting text blocks can sometimes alter the overall document flow.
Manually Relocate the Misplaced Text Block
If the PDF is already editable, you can directly select the shifted text and move it back to the correct page to restore the layout.
PDF editors use bounding boxes to contain text. When text flows unpredictably, manually isolating and moving these boxes is often the most direct fix.
Open your PDF editor and click on the 'Edit PDF' or 'Edit Text' tool to make the text blocks within the document selectable.
Highlight the text (e.g., the header or wandering word) that shifted to the wrong page, right-click it, and select 'Cut' (or press Ctrl+X).
Scroll to the intended page, click on the correct location where the text belongs, and paste the text block. Drag the bounding box to adjust its alignment.
Review the surrounding text to ensure the newly placed text box does not overlap with existing content or disrupt page breaks.

Rerun OCR on the Original Scan
If the document's layout is severely broken across multiple pages, it is usually faster to revert to the original scan and process it again with optimized OCR settings.
Use WPS Office to Edit Scanned PDFs Without Layout Issues
WPS Office provides advanced PDF editing capabilities with high-accuracy OCR, ensuring your scanned documents remain beautifully formatted without unwanted text shifts when making adjustments.
- 1. Open your PDF in WPS Office: Launch WPS Office and open the scanned PDF document you need to edit.
- 2. Access the Edit Tab: Navigate to the 'Edit' tab on the top ribbon and select 'Edit Text' to reveal the text bounding boxes.
- 3. Modify Text Safely: Click inside any text box to add, delete, or modify content. WPS Office's smart layout engine will maintain your page breaks securely.

Frequently Asked Questions
Why does text shift to another page when editing a scanned PDF?
When OCR (Optical Character Recognition) converts an image to an editable document, it estimates text flow and bounding boxes. Deleting, inserting, or resizing content can disrupt this flow, causing the software to push text blocks to adjacent pages unexpectedly.
How can I prevent PDF layout changes when editing text?
To prevent layout shifts, edit text line-by-line rather than in continuous paragraph mode. Alternatively, use a PDF editor that allows you to add floating text boxes instead of altering the original recognized text directly.
Can I fix text flow settings in a PDF?
Yes, depending on your PDF editor, you can adjust text-flow settings by selecting the text box properties and toggling between 'Continuous Flow' and 'Fixed Layout' modes. Using a fixed layout prevents text from spilling over to the next page.




