Redact PDF Desk

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

FindingWhat it meansWhat to do
Text under a black boxThe box is drawn on top; the words are in the fileRedact again from the original
Hidden or white textCopyable text that isn't visible: an OCR layer, white text or text under a white boxRedact again; make sure the copy has no text layer
Image detail under a boxA box covers part of an image that is still whole in the fileRedact again so the image itself is changed
Earlier version with deleted textAn incremental save kept the old contentSave as a new file, or redact again
Title or author in propertiesMetadata names the person or matterRemove the properties, or redact again
Comments or form valuesNotes and values travel with the fileFlatten 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 PDF Desk

Redact PDFs in your browser. The copy is rebuilt from page images, so nothing under the black boxes comes along.

Redact a PDF

Questions

How do I check if a PDF redaction worked?
Drag across each black box, copy and paste into a text editor; search for the words you removed; and check the document properties, comments, form fields and attachments. The redaction checker on this site does all of this and also looks for earlier saved versions and text hidden under boxes.
Can black boxes in a PDF be removed?
If they were drawn on top of the content, yes: the box is a separate object that can be deleted or moved, and the text underneath can usually be copied without touching it. A proper redaction changes the content itself so there is nothing underneath.
Does printing to PDF remove hidden text?
Not reliably. Printing to PDF usually keeps the page's text, including the text under black boxes, and often turns form values into ordinary text. Rebuilding the pages as images, as our redaction tool does, removes it.