How to Redact a Scanned PDF: Removing Text from Images & OCR Layers
Scanned PDFs often contain both a page image and a hidden OCR text layer. Learn how to search, mark, and permanently redact both layers in a scanned PDF.
When you open a born-digital PDF created in Microsoft Word, every letter has an exact font and coordinate in the file's text stream. When you open a scanned PDF—like a clinic intake sheet, a signed lease, a police report, or a legacy fax—you are looking at a grid of pixels.
That difference trips up two groups of people: those who try to use Ctrl+F on an unindexed scan and assume a name isn't in the packet because search returned zero results, and those who redact a "searchable scan" without realizing it has a hidden text layer sitting behind the page image.

"Sanitization of digital documents containing both raster imagery and associated text layers requires removing the targeted information from the visual bitmap as well as purging any corresponding Optical Character Recognition (OCR) text streams and metadata." — NIST Special Publication 800-88 Rev. 1, Guidelines for Media Sanitization
Understand the two types of scanned PDFs
Before you mark a single box, check which kind of scan you are holding:
Scan Type | How it behaves when you try to highlight text | What redaction must remove |
|---|
1. Image-Only Scan (Raw scanner output) | Cursor cannot highlight individual words; Ctrl+F finds nothing even when words are clearly visible on the page | The target pixels inside the page bitmap, plus file metadata |
2. Searchable "Sandwich" Scan (Image + Hidden OCR) | You can highlight words and copy-paste them, even though the page looks like a slightly grainy paper scan | Both the visible pixels on the bitmap and the invisible OCR text stream aligned underneath |
Why "Sandwich PDFs" cause accidental data leaks
Most office multifunction copiers (Ricoh, Canon, Xerox) and mobile scanner apps automatically run OCR and save a sandwich PDF: the visible scanned image sits on top, and an invisible text layer (PDF text rendering mode 3 Tr) sits underneath so you can search the file.
If someone exports a scanned page as an image, paints a black box in a basic photo tool, and drops it back over the existing page stream—or uses a weak PDF editor that only deletes one layer—either the pixels remain visible or the invisible OCR text remains copyable. A proper PDF redaction workflow must eliminate both.
Step-by-step: How to redact a scanned PDF properly
Run local OCR first if the scan is not searchable. If you have a multi-page image-only scan, run it through SillyPDF's Searchable Layer OCR Engine (powered by Tesseract.js v5 WASM in your browser) so you can search for names, dates, and account numbers across the packet.
Use search to find candidates—never to clear a page. Once OCR finishes, run automated PII detection or keyword search in the PDF Redaction Studio. Remember that OCR routinely misreads poor-quality faxes, stamps, and tables (for example, reading 555-0199 as 55S-O199). An empty search result never proves a scanned page is clean.
Draw manual redaction boxes over handwriting, signatures, and photos. OCR engines rarely capture cursive handwriting, doctor initials, wet-ink signatures, or ID photos. Use the crosshair region tool in /redact-pdf to draw boxes directly over those areas on every page.
Check box margins for ascenders and descenders. On skewed scans, a single straight box might clip the end of a slanted line or leave the loop of a handwritten g or y exposed. Pad your selection box by a few pixels on all four sides.
Apply the burn pass and export. When you export from SillyPDF's Redaction Studio, each page is rendered and burned directly in the pixel buffer and written into a brand-new PDF container with zero surviving OCR text streams or revision history.
Verify both pixels and text streams on the exported copy. Run the 5 checks in our guide on how to check if a PDF is properly redacted to confirm that neither visual remnants nor hidden text survived.
Tip: Chain OCR + Redaction + Sanitization in one workflow
If you regularly process scanned FOIA packets, medical records, or vendor invoices, open the Chained PDF Workflow Studio. You can wire Searchable OCR → PII Redaction → Metadata Scrubber → Bates Stamping into a single reusable recipe stored in your browser cache, so the output of each step feeds directly into the next with zero cloud uploads.
FAQ
Why can't I select or search text in my scanned PDF to redact it?
Because a raw scanner output is just a photograph of paper wrapped in a PDF container—it has no character data yet. You can either draw rectangular redaction boxes directly over the image regions in /redact-pdf, or run /ocr-pdf first to add a searchable text layer so you can find keywords across pages.
If I run OCR on a scanned PDF, does that text stay hidden underneath my redactions?
Not if you apply redaction properly. When you export a redacted PDF in SillyPDF's Redaction Studio, the burn pass overwrites the target coordinates directly in the page pixel buffer and builds a fresh PDF container with zero underlying text streams left behind.
Can automated search find every sensitive word in a scanned PDF?
No. Even the best OCR engine can misread a smudged "8" as a "B" or skip handwritten margin notes and signatures entirely. Use OCR and automated PII detection to speed up your first pass, then visually inspect every page.
How do I redact a 50-page scanned packet without doing every step manually?
Open SillyPDF's Chained PDF Workflow Studio and run a chain: Smart Scan Deskew → Searchable Layer OCR → Global PII Redaction → Public Release Metadata Scrubber. Each step's output PDF automatically feeds into the next tool locally in your browser.