How to Check a Redacted PDF for Leaks (and Fix a Failed Redaction)
Why black boxes often hide nothing, the places data survives in PDFs, how to test a redacted file, and how rasterising pages makes redaction permanent.
&c=%230f766e&k=security)
How to Check a Redacted PDF for Leaks
Every year, court filings, government reports and company documents are published with redactions that anyone can undo by copying the text or deleting a box. The mistakes are simple and avoidable. This guide explains where redaction goes wrong and how to check and fix a file with the PDF Redaction Leak Checker.
Why black boxes fail
Redaction means removing information. Many people instead draw a black rectangle over the text, use a black highlighter, or set black as the background behind black text. On screen the result looks redacted. In the file the text is still there. Copying the area, searching the document or deleting the rectangle reveals it.
Places data survives
Text under boxes is the best-known leak, but not the only one:
- Annotations used as boxes can be moved or deleted in any reader.
- Redaction marks that were never applied. Professional tools mark areas first and remove the text only when you apply the redactions. Forgetting that step leaves everything in place.
- Document properties and XMP metadata, such as the author's name, the original title, the software used and sometimes editing history.
- Earlier versions. Some programs save edits by appending them to the end of the file. The previous version, before redaction, is still inside.
- Attachments, hidden layers and scripts.
How the checker finds leaks
The checker renders each page, then looks at every piece of text. If the area where a word sits is almost entirely dark on the rendered page, that word is under a black box and still in the file. It also inspects annotations, metadata, attachments, scripts, layers and the number of saved versions.
The report lists every word still under a box with its page, which is often sobering.
How the fix works
The reliable fix for a page with leaks is rasterisation: the page is replaced by a picture of itself. The picture shows the black boxes, and the text that was under them no longer exists anywhere in the file. You choose the resolution; 200 dpi is a good balance of clarity and size.
The metadata option clears document properties, XMP, attachments, scripts and open actions. Saving a fresh copy also removes earlier versions.
After fixing
Rasterised pages cannot be searched. If you need searchable text, run OCR afterwards, then search for the redacted names and numbers to make sure they do not appear.
Good redaction practice
- Redact in the source document where possible, by deleting the text, then export to PDF.
- If you must redact a PDF, use a tool that removes content, and apply the redactions.
- Remove metadata and earlier versions.
- Check the final file with a leak checker.
- Search the final file for each redacted term.
- Keep an unredacted original securely, with a record of what was removed.
Example
A 12-page disclosure has black boxes on three pages. The checker finds 19 words still under them, including a name and an account number, the author's name in the properties and three saved versions in the file. Rasterising the three pages and clearing metadata produces a file where none of the redacted words can be found.
Why scanning is not a fix
Some people print a redacted document and scan it again. That does remove the text layer, but it also lowers quality, and if the black marker on paper was thin, a scanner can pick up text through it. Rasterising the digital page at a known resolution is cleaner and repeatable, and you can check the result.
Limits
The checker looks for text under dark boxes. Text hidden under white boxes is found by the hidden content finder. Neither tool decides what should be redacted; that is a legal judgement. This guide is general information, not legal advice. Files are processed in your browser and not uploaded.


&c=%23b45309&k=from-pdf)
