How to Reduce PDF Redaction Markup Area After OCR
Question details
The user needs to reduce the size of an automatically generated redaction markup area that incorrectly covers multiple lines of text.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Marking scanned or recognized text for redaction after performing an Optical Character Recognition (OCR) process.
- Observed behavior
- When selecting a single line for redaction, the software automatically highlights two or more lines because the OCR engine has mistakenly grouped the content as a single image block.
Ensure you identify the exact text that needs to be concealed, as applying redactions permanently removes the underlying data from your document.
Manually Draw the Redaction Region
Since auto-generated redaction areas linked to text blocks cannot be easily resized, the most effective solution is to bypass automatic text selection by manually drawing the redaction rectangle.
When OCR processes a document, it sometimes merges closely spaced lines into single interactive elements. To prevent the redaction tool from snapping to these large blocks, you can force the software into manual drawing mode.
Open your PDF document and activate the 'Mark for Redaction' tool from the security or protection menu.
Press and hold the 'Ctrl' key on your keyboard. This temporarily disables the automatic text-snapping feature.
While holding the key, click and drag your cursor to draw a precise rectangle over only the specific text you wish to redact.
Release the mouse button and the 'Ctrl' key to create the markup. Once you are satisfied with the area, proceed to apply the redactions.

Use a Batch Script for Complex Corrections
If you are dealing with a lengthy document that contains numerous oversized redaction markups, utilizing a script can help adjust the dimensions systematically before they are applied.
Easily Apply Precise PDF Redactions with WPS Office
If you are struggling with unpredictable text selection during redaction, WPS Office offers a highly intuitive PDF editor. It allows you to manually select exact areas for redaction effortlessly, ensuring sensitive data is securely hidden without affecting neighboring text.
- 1. Open Your PDF: Launch WPS Office and open the PDF document containing the sensitive information.
- 2. Access the Redact Tool: Navigate to the 'Protect' tab located on the top ribbon and select the 'Redact' option.
- 3. Mark the Area: Click 'Mark for Redaction' and simply click and drag your cursor over the specific text or region you want to hide.
- 4. Apply Redactions: Click 'Apply Redactions' in the toolbar to permanently erase the underlying text and images.

Frequently Asked Questions
Why does the redaction tool select multiple lines after OCR?
During the OCR process, the software attempts to recognize text layouts. If lines are positioned closely together, the OCR engine may mistakenly interpret them as a single connected image or text block. Consequently, the redaction tool snaps to the entire recognized block instead of a single line.
Can I resize an auto-generated redaction box after drawing it?
In most PDF editors, if the redaction markup was generated by directly highlighting text, you cannot resize it by dragging its borders. You must delete the markup and draw a new one manually using the precision drawing method.
Are PDF redactions truly permanent?
Yes. Once you apply the redactions and save your document, the software permanently removes the selected text and image data from the file's code. Drawing a black box using basic shape tools does not permanently remove the data; you must use dedicated redaction tools.




