How to Prevent Scanned PDF Backgrounds from Turning White When Editing Text
Question details
The user wants to prevent the original gray or colored background of a scanned PDF from turning white when deleting or modifying text.

- Product
- Adobe Acrobat DC / PDF Editors
- Device & OS
- not provided
- Scenario
- Deleting or editing text in a scanned document that has been processed with Optical Character Recognition (OCR).
- Observed behavior
- When OCR text is deleted or modified, the underlying image background is removed alongside the text, leaving a stark white patch that mismatches the rest of the scanned document.
Determine if your PDF is a pure image scan or if OCR has already been applied, as this affects which editing tools you should use to preserve the background.
Edit the Original Scanned Image Instead of the OCR Text
Bypass direct text deletion and use image editing tools to maintain the consistent background color.
When a document is scanned and converted to editable text, the software attempts to separate the text from the background. Deleting the text box often deletes the background layer with it. Editing the image directly avoids this.
Launch your PDF software and open the scanned document you want to edit.
Navigate to the 'Edit PDF' menu and select the specific image block or background area instead of highlighting the text itself.
Right-click the image and choose 'Edit Using' to open it in an image editor (like Photoshop or Paint). Use the clone stamp or color picker to paint over the text with the exact background color.
Save the file in your image editor, and the changes will automatically reflect in your PDF document without creating white boxes.

Re-run OCR with 'Searchable Image' Settings
Modifying how the PDF is recognized can prevent background stripping when text is altered.
Update Your PDF Software to the Latest Version
Software bugs handling OCR backgrounds are often patched in newer releases.
Use WPS PDF to Smoothly Edit Scanned Documents
WPS Office offers a powerful PDF editor with advanced OCR and image-editing capabilities, allowing you to seamlessly modify text without ruining the original document's background.
- 1. Open your scanned document: Launch WPS Office and open your scanned PDF file in the WPS PDF workspace.
- 2. Access the OCR tool: Click on the 'Tools' tab and select 'OCR' to accurately recognize the text on the scanned pages.
- 3. Convert or edit: Choose the appropriate OCR mode (such as 'Convert to Word') to handle the complex background more easily in a word processor environment.
- 4. Apply seamless edits: Make your edits seamlessly in the newly formatted document without leaving stark white boxes.

Frequently Asked Questions
Why does deleting OCR text leave a white box?
When a PDF editor applies OCR in 'Editable Text and Images' mode, it attempts to separate the text from the background by creating distinct layers. Deleting the text often removes the bounding box content entirely, leaving the default white document canvas visible underneath.
How can I change the background color of a PDF?
You can usually change the background color by navigating to the 'Edit PDF' tools, selecting 'More', and clicking 'Background' followed by 'Add' or 'Update'. However, this adds a solid color behind the content, which might not perfectly match a textured or uneven scanned background.
What is the difference between 'Searchable Image' and 'Editable Text' OCR?
The 'Searchable Image' setting keeps your original scanned image exactly as it is and places an invisible layer of text on top, allowing you to search and highlight without altering the visual document. 'Editable Text' attempts to replace the scanned text with actual custom fonts, which alters the original background layer.
Can I edit scanned PDFs for free?
Yes, many tools offer basic PDF editing. For advanced OCR and layout preservation without destroying backgrounds, you can use WPS Office, which provides powerful PDF editing tools and accurate document conversion.




