How to redact a scanned PDF: image, OCR text and checks

Can't redact a scanned PDF? Its pages are images. Learn how to tell if a PDF has OCR text, redact the image and OCR layer, then check the exported copy.

You can’t redact a scanned PDF like a typed document because each page is a picture: there are no words to select or search until OCR adds a hidden text layer. To redact it, mark the area on the page image, make sure the redaction also removes any OCR text underneath, then reopen the exported copy and check both the pixels and search.

A search can miss a name that is still clearly visible in the scan, and the reverse is also true: a box over the image can leave the recognized words in the file. This checklist is for preparing an authorized copy you intend to share. It is not a way to recover someone else’s concealed information.

Why can’t I redact a scanned PDF?

Most redaction problems with scans come from one of four causes:

  • There is no text layer. Text-based redaction and “find and redact” look for words. On an image-only page there are none, so the tool selects nothing or reports no matches.
  • The page is one large image. A text selection cannot isolate a name inside a picture. You need area redaction: draw a zone over the region of the image and apply it.
  • Only one layer was redacted. After OCR, the page holds the visible image and an invisible text layer. Redacting the words can leave the pixels readable; covering the pixels can leave the words searchable.
  • The file restricts editing. A document’s security settings or a digital signature can disable changes. Ask the owner for an unrestricted source rather than working around the restriction.

The underlying method is the same as for any PDF: mark, apply, save a new copy, then inspect that copy. The general steps for redacting a PDF before sharing cover it in order. A black shape placed on top of a scan is not redaction; the difference is explained in black rectangle or PDF redaction: what actually changes.

PDFRedactLab handles scanned pages as images: OCR helps it locate names, contact details and identifiers, you review every marked zone visually, and it exports a redacted copy. The PDFRedactLab review steps for text, scans and hidden information show how each check fits in.

How to tell if a PDF has OCR text

Before choosing a method, find out what each page contains. Use ordinary viewer controls:

  1. Select a line. Switch to the text cursor and drag across a sentence. If whole words highlight, the page has a text layer. If the selection draws a rectangle or grabs the whole page, it is probably image-only.
  2. Search a visible word. Pick a plain, clearly printed word. A match highlighted in the right place suggests usable OCR. A match highlighted in the wrong place means the text layer is misaligned with the image.
  3. Copy and paste. Copy a paragraph into a plain text editor. Garbled characters, missing lines or “R-O24” instead of “R-024” show how reliable the recognition is.
  4. Zoom in. Typed text stays sharp at high zoom; scanned text turns grainy. A sharp cover followed by grainy annexes means a mixed document.

Check every page, not only the first. A dossier can combine a typed cover, scanned letters and photographs. A failed search is a clue, not a diagnosis: the page might be image-only, poorly recognized or encoded in an unexpected way. Test ordinary words as well as the actual target: if basic text is not found, a missing name is weak evidence.

Redact the page image, not just the words

On a scanned page, the information a reader sees lives in the pixels. Draw the redaction zone over the image region that holds the detail, wide enough to cover its edges, descenders and any stamp or handwriting overlapping it. Then apply the redaction so the image itself is changed, not just covered by a shape.

Look for details that search cannot represent: handwritten notes, signatures, photographed badges, embossed stamps and numbers inside a background image. A phone number may also appear with different spacing or split across two lines. These need visual review whatever the OCR result.

Keep a separate original. Review each zone at a readable zoom before applying it, then confirm that useful context, such as a date or a project reference the recipient needs, has not been removed by accident.

Remove the hidden OCR text layer

OCR adds searchable text behind the image so that you can find and copy words. It helps locate known names, but it also creates a second place where the name exists. If the redaction removes only the pixels, the redacted text is still searchable: a search on the exported copy finds the word, and you can copy it out. This is the step of OCR redaction that is easiest to miss.

Choose a redaction method whose documentation says it removes both the image content and the text under the zone. If you cannot confirm that, test it on a fictional page first: redact a known word, export, then search for it and try to select it.

Two practical cases:

  • Misaligned OCR. When the recognized words sit slightly off the visible text, a zone drawn on the image can miss the hidden word. Extend the zone or redact the search result as well as the image area.
  • OCR after redaction. If the recipient needs searchable text, you can run OCR again on the redacted copy. This also works as a check: if recognition reads anything inside a redacted zone, pixels are still visible there. If it reads nothing, that proves only that the OCR found nothing.

Mixed pages: typed cover, scanned annexes

Many real files combine both kinds of page, so plan the review page by page instead of reaching a single verdict for the whole document. This fictional four-page dossier illustrates a review plan, not a test result. The recipient needs the project instructions and date, but not the private contact details or handwritten signature.

Page in the fictional dossierObserved contentReview and acceptance decision
1: digital coverSelectable project reference and nameRedact the name as text; keep the reference only if authorized
2: clear scanned letterPrinted instructions and private addressRun OCR on a working copy, verify ordinary words, redact the address pixels and its recognized text
3: faint scanned appendixIdentifier R-024 could be recognized as R-O24Inspect visually; do not clear the page because exact search misses it
4: photograph of a noteHandwritten signature and dateRedact the signature as an image area; keep the readable date if required

For page 3, searching only R-024 might find nothing because zero became the letter O. Searching a known variant can help locate the region, but it does not prove the rest of the appendix was read correctly. Mark the page as unresolved until its contents can be understood from the scan or a clearer authorized source. Do not silently drop it from the outgoing dossier to get a clean-looking result.

Before release, compare all four input pages with the output: no page lost, no unexpected blank page, and the required date and instructions still readable.

Check the exported copy, not the editing view

If you are concerned that a PDF redaction could be reversed, check the exact file you intend to send, after reopening it. These checks catch incomplete removal from the page image or the text layer.

Check on the exported copyWhat it showsWhat it does not prove
Zoom in on each redacted area and its edgesNo visible trace remains in the pixels you inspectedThat the text layer is empty
Search for the removed value and its variantsThe text layer no longer holds that spellingThat other spellings or the pixels are gone
Select and copy text across the zoneNo hidden word sits under the redactionAnything on an image-only page
Search a word you kept on the same pageSearch works on that page, so an empty result means somethingThat every page was recognized
Check properties, comments and attachmentsInformation outside the page was reviewedThat the visible page is clean

If you can still see, find or copy the excluded value, correct the redaction and repeat the checks on a new export. Record which checks you completed before sending the copy. A blank search cannot, on its own, establish that the redaction is irreversible. Information outside the page needs its own pass: the checklist for PDF metadata, comments and attachments matches each category to a control.

When a search with no results proves nothing

An empty search is only meaningful when search demonstrably works on that page. On an image-only export, no word can be found, so a blank result is expected and says nothing about the pixels. On a poorly recognized page, the name may be stored with a different spelling.

Treat an empty result as inconclusive unless a word you kept on the same page is found and highlighted in the right place. Even then, it covers the text layer only. Complete the visual review in every case, and check that any change in searchability or accessibility suits the recipient.

When to pause the handoff

Pause when a page cannot be read, the exported output differs unexpectedly, the redaction method for images is unclear, or the document contains material you cannot inspect. Record the limitation without repeating the sensitive value in a new shared note. A good review makes uncertainty visible; a successful OCR job is not proof of complete redaction or anonymization.

Frequently asked questions

Why can't I redact a scanned PDF?

A scanned page is a picture, so there is no text to select or search. Use area redaction on the page image, or run OCR first if you need to find words, then redact both the pixels and the recognized text.

How can I tell if a PDF has OCR text?

Try to select a line with the text cursor and search for a word you can see. If the word is found and highlighted in the right place, the page has a text layer. If nothing can be selected, the page is probably image-only.

Does redacting a scanned PDF remove the OCR text?

Only if the redaction covers both layers. A box drawn on the image can leave the invisible OCR words in the file, and removing the OCR words can leave the pixels readable. Check the exported copy for both.

Should I run OCR before or after redacting a scanned PDF?

Run OCR on a working copy before redacting if you need search to locate names. After redaction, run it again only if the recipient needs searchable text, and check that the redacted areas return no recognized words.

Why is redacted text still searchable in my scanned PDF?

The OCR text layer usually sits behind the image. If the redaction only covered the picture, the hidden words remain and search still finds them. Redact the area again with a method that removes the text layer and export a new copy.

A thoughtful last step before sharing a PDF.

See the fictional review example

Request access to PDFRedactLab

Leave your professional email to get access to PDFRedactLab.

Submitting sends your email and visit context to BankStatementLab’s infrastructure for PDFRedactLab. No account, payment or automatic email is triggered. Privacy.