Failed redactions: why black boxes don't work and how to test a PDF
A redaction that only looks right is worse than none: it tells everyone exactly where the secrets are. This is how redactions fail, what has happened when they did, and how to check a PDF in two minutes.
Redactions fail when the sensitive text is covered instead of removed: a black highlight in Word, a rectangle drawn on a PDF, or a redaction mark that was never applied. The words stay in the file, so copy-and-paste, search or text extraction reveals them. Test every PDF before it leaves: copy, search, extract text and check hidden data.
Why black boxes and highlighting fail
A PDF page is a stack of instructions: draw these characters here, draw this image there, draw this rectangle on top. The screen shows the result of the whole stack. Software that reads the file, from the copy command to a search engine's indexer, reads the characters directly and never asks whether something is drawn over them.
The common ways it goes wrong:
| Method | What actually happens | How it is defeated |
|---|---|---|
| Black highlight or black font in Word, saved as PDF | Text is converted with everything else; only its color changes | Copy and paste, search |
| Rectangle or shape drawn over text | An annotation or drawing sits on top | Copy and paste; delete the shape |
| Redaction marked but not applied | Marks are only proposals until applied | Copy and paste; the marks can be removed |
| Image placed over text | The image hides the text on screen only | Copy and paste, text extraction |
| Cropped page or image | Content outside the crop is kept in the file | Reset the crop box; extract the image |
| Hidden layer or white text | Content is invisible but present | Show layers, select all, extract text |
| Text removed, metadata left | Title, comments, attachments or earlier versions keep the information | Read document properties, comments and attachments |
The last row catches careful people. Even a perfect redaction tool does not touch the file's hidden data unless you also sanitize it; see what metadata is in a PDF.
Documented redaction failures
These incidents were reported at the time by established news organizations. They are well known because they are typical.
Paul Manafort court filing, 2019
In January 2019, lawyers for former Trump campaign chairman Paul Manafort filed a response to the special counsel in federal court in Washington with several passages blacked out. Reporters found that the hidden text could be revealed by copying it and pasting it into a new document; it included allegations that Manafort had shared campaign polling data with a business associate the government linked to Russian intelligence. The Columbia Journalism Review described how a reporter needed only to "copy and paste some of the redacted text."
TSA screening manual, 2009
In December 2009 it emerged that a Transportation Security Administration screening procedures manual had been posted on a federal contracting website with sensitive passages digitally redacted. The redaction was done incorrectly, and readers were able to strip it away, exposing details such as screening equipment settings. IEEE Spectrum reported that "the redaction was incorrectly done." The TSA said the posted version was outdated.
US military report on the death of Nicola Calipari, 2005
The US military's report into the 2005 shooting of Italian intelligence officer Nicola Calipari at a checkpoint in Baghdad was released as a PDF with classified portions blacked out. Readers recovered the hidden text by copying it into a word processor, exposing the names of soldiers involved, unit locations and the report's censored recommendations. The Register called it a "simple copy-and-paste."
Across all three, the problem was the same: the document showed black boxes, and the text was still in the file. None needed hacking skill to read.
How to test a PDF for failed redactions
Run these on the exact file you will send, after Bates numbering and any final save. Two minutes per file is cheap insurance.
- Copy and paste. Select a line that runs through a redaction box, copy it (Ctrl+C) and paste it into Notepad or TextEdit. If redacted words appear, stop.
- Search for what you removed. Press Ctrl+F and search for a redacted name, number or term. A proper redaction returns no match. Searching for a pattern you redacted, such as the last four digits of an account, is a good catch-all.
- Extract all the text. Export the PDF to plain text from your PDF editor, or with the free Poppler tools run
pdftotext produced.pdf out.txt. Search the text file. This catches text under images and in hidden layers. - Try to move the boxes. Open the PDF in an editor and click a redaction box. If it can be selected, moved or deleted, it is an annotation or drawing, and the text beneath is probably intact.
- Look at the hidden data. Open document properties (Ctrl+D in Acrobat and Acrobat Reader), the comments pane, attachments and bookmarks. Our PDF metadata viewer lists the Info dictionary and XMP without uploading the file.
For scanned pages there is no text to copy, so tests 1–3 prove little. Check instead that the box is burned into the image (test 4) and that no OCR text layer was added on top of the scan.
How to avoid failed redactions
- Use a tool that removes content, and apply the marks. If you work without Acrobat, the options are in how to redact a PDF without Adobe.
- Prefer tools that rebuild redacted pages as images for high-stakes material. Nothing from the original page survives. BatesBench, PDF24 and LibreOffice's redacted export all work this way.
- Sanitize hidden data in the same pass. See how to remove metadata from a PDF.
- Label and log every redaction so a reviewer can check each one against the reason given; see redaction codes.
- Make testing a release step, done by someone other than the person who redacted.
Frequently asked questions
How do you read redacted text?
If the redaction was done properly, you cannot: the text is no longer in the file. Text is readable only when it was covered rather than removed, for example by a black highlight or an unapplied redaction mark. Copying and pasting from under the box, or searching for a word, shows whether that happened.
Can you remove a redaction from a PDF?
A true redaction cannot be undone, because the underlying content has been deleted. A black rectangle drawn as an annotation can be selected and deleted in any PDF editor, which is exactly why it is not a redaction.
How do I check if a PDF is properly redacted?
Copy text from across each box and paste it into a plain text editor, search for a redacted word, extract the full text of the file, and try to move a box in a PDF editor. Then check bookmarks, comments, attachments and document properties.
Why is black highlighting not a redaction?
Highlighting changes the background color behind the characters; the characters stay in the document and in any PDF made from it. Anyone can copy them, search for them or change the highlight color back.