How to Remove Text and Reduce Pages in a Scanned PDF
Question details
The user needs to delete unwanted text from a scanned PDF and have the remaining content automatically move upward (reflow) to reduce the total page count.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Editing the layout and content of a scanned PDF document to remove specific sections and consolidate pages.
- Observed behavior
- When text is deleted from the scanned PDF, the remaining layout is static. The content below does not automatically reflow to fill the empty space like it would in a word processor.
Because the PDF format utilizes a fixed layout rather than a continuous word-processing structure, text will not automatically reflow when sections are deleted. To make extensive layout changes, you will need to prepare to convert your document into an editable format.
Convert the Scanned PDF to a Word Document
Since directly editing a scanned PDF does not allow text to reflow, the most effective method is converting it to a Word document using OCR (Optical Character Recognition) software.
Scanned PDFs are essentially collections of static images. Even if the text is recognized by an editor, the fundamental design of a PDF restricts content from naturally shifting upward when parts above it are deleted. To successfully remove text, collapse blank spaces, and reduce the overall page count, you must transition the file into an editable layout application like Microsoft Word or WPS Writer.
Launch a PDF-to-Word conversion tool that supports OCR capabilities to ensure the scanned images are translated into editable text.
Upload your scanned PDF file, enable the OCR option if prompted, and initiate the conversion to a .docx format.
Open the newly created Word document. Highlight and delete the unwanted text. The remaining paragraphs will automatically reflow upward to fill the empty space.
Modify the page breaks and margins if necessary to ensure the content flows efficiently and reduces the total page count.
Once the layout meets your requirements, go to the 'File' menu and choose 'Export to PDF' to save your newly formatted document.

Manually Erase Text and Delete Empty Pages
If converting to a Word document is not an option, you can manually hide or erase text blocks and delete any resulting entirely blank pages directly in your PDF editor.
Use WPS Office to Convert and Edit Scanned PDFs
WPS Office comes equipped with a powerful built-in PDF-to-Word converter featuring advanced OCR technology. It easily recognizes text in scanned documents, transforming them into fully editable Word files. You can effortlessly delete text, reflow paragraphs, reduce total pages, and export the file back into a pristine PDF.
- 1. Open PDF to Word: Launch WPS Office, navigate to the 'PDF' tab, and click on the 'PDF to Word' tool.
- 2. Enable OCR and convert: Add your scanned PDF file, make sure the OCR language function is configured, and click 'Convert'.
- 3. Edit the Word document: Once converted, the document will open in WPS Writer. Delete the unwanted text so the pages automatically reflow and condense.
- 4. Export back to PDF: Click 'Menu' > 'Export to PDF' to save your updated layout as a new PDF file.

Frequently Asked Questions
Why doesn't the text move up when I delete a paragraph in my PDF?
Unlike Word documents, PDFs use a fixed-layout framework designed to preserve the exact visual appearance of a document across any device or printer. Deleting an element simply removes it from its specific coordinates on the page without disrupting the rest of the layout.
Can I reduce the number of pages in a PDF after deleting content?
Yes, if you use a PDF editor, you can manually delete pages that have become entirely blank using the 'Organize Pages' tool. However, to automatically consolidate space from deleted paragraphs and reduce pages dynamically, you must first convert the PDF to a word processing document.
Do I lose quality when converting a scanned PDF to Word?
The quality depends on the clarity of the original scan and the accuracy of the OCR engine. High-quality OCR tools can retain most formatting and text accuracy, though minor layout adjustments might be required after the conversion is complete.
Is it possible to edit a scanned PDF directly without converting it?
Some premium PDF editors allow you to edit recognized text directly using OCR, but the fixed layout restrictions remain. You can replace words or sentences within the existing bounding boxes, but extensive content removal will leave blank gaps rather than collapsing the space.




