How to Verify a Redacted PDF Before You Send It
A redacted PDF can look perfect and still contain every word you blacked out. The quickest test takes ten seconds: drag across a black box, copy, and paste into a text editor. If words appear, the PDF isn't redacted; the box is only drawn on top.
That test catches the most common failure, but not all of them. Below are the checks worth doing on any redacted PDF before it leaves your hands, and what each result means. To run all of them at once, drop the file into the redaction checker. It works in your browser, so the file isn't uploaded.
Why redactions fail
A PDF page is a list of drawing instructions: draw this text here, this image there, then a black rectangle on top. Most "redactions" that leak only added the last instruction. The text and images underneath are still in the file, along with things that were never on the page at all:
- Document properties. Title, author, subject and keywords. The title is often the original file name, such as the client's name.
- Comments. Reviewer notes, their author names, highlights and stamps.
- Form fields. Typed values, including fields that are hidden.
- Earlier versions. Many editors save changes by appending to the end of the file. Text deleted in a later save is still inside, in the earlier version.
- OCR text layers. Scanned pages often carry invisible text so they can be searched. A box drawn on the scan doesn't touch that text.
- Attachments embedded in the PDF.
The checks
1. Copy and paste across every box
In your PDF reader, select across the black box and the words on either side of it, copy, and paste into a plain text editor. Anything between the surrounding words is text that is still there. Do this on a scanned page too: if you can select words at all, the scan has an OCR layer.
2. Search for what you removed
Use the reader's search (Ctrl+F or Cmd+F) for a name or number you redacted. A hit on a blacked-out spot means the text is still in the file. Search won't find words inside images, and some readers skip invisible text, so a clean search alone isn't proof.
3. Look at the document properties
In Adobe Acrobat Reader: File > Properties. In Preview on a Mac: Tools > Show Inspector. In Chrome's PDF viewer: the menu, then Document properties. Check the title, author, subject and keywords.
4. Open the comments and attachments panels
Comments, their authors and attached files are listed in side panels in most readers. A redaction mark that was placed but never applied also shows up as a comment, and the content under it hasn't been removed.
5. Click through the form fields
If the PDF is a form, every field keeps its value in the file. Hidden fields aren't shown at all; the checker lists every field with a value.
6. Look for earlier versions
Open the PDF in a plain text editor and search for %%EOF. Each one marks the end of a saved version. More than one usually means incremental saves, and the earlier version can be restored by cutting the file after the earlier marker. (A "fast web view" file normally has two, and that alone isn't a problem.) The checker opens each earlier version for you and lists text that was later deleted.
What the findings mean
| Finding | What it means | What to do |
|---|---|---|
| Text under a black box | The box is drawn on top; the words are in the file | Redact again from the original |
| Hidden or white text | Copyable text that isn't visible: an OCR layer, white text or text under a white box | Redact again; make sure the copy has no text layer |
| Image detail under a box | A box covers part of an image that is still whole in the file | Redact again so the image itself is changed |
| Earlier version with deleted text | An incremental save kept the old content | Save as a new file, or redact again |
| Title or author in properties | Metadata names the person or matter | Remove the properties, or redact again |
| Comments or form values | Notes and values travel with the file | Flatten or remove them |
When the redaction failed
Don't try to patch the bad copy. Go back to the original and redact it with a method that removes content instead of covering it. Our redaction tool does that by rebuilding every page as an image in a new PDF, so none of the items above come along. Then run the new copy through the checker again, with the names and numbers you removed in its word list.
What no checker can promise
A checker can find text, data and image detail that is still in the file. It can't read a name that is part of a scanned image or a photo, or know which words you meant to remove. Look at every page of the final copy at full size before you send it, and keep the unredacted original on file.
To see what the checks find on a real failure, download the sample files: the same fictional agreement unredacted, covered with black boxes, and properly redacted.
Redact PDFs in your browser. The copy is rebuilt from page images, so nothing under the black boxes comes along.