Skip to content

Explainers

Why black boxes do not redact a PDF

A black box on a PDF is a shape sitting on top of the page. The text it covers is still in the file, so anyone can select, copy or search for it. Highlighting in black, whiting out, and hiding a layer fail for the same reason. Real redaction deletes the content and leaves only the black. This guide explains how the failure happens, where else the information leaks, and how to test your own file.

Updated · 6 min read

Signavos: send a PDF for signature, pay only per document. Credits never expire.Try it free

Why a box does not remove anything

A PDF page is built from layers of drawing instructions: put this text here, draw this rectangle there. Editors that let you add a rectangle, a highlight or a text box add a new instruction to the pile. They do not touch the old ones. The page looks redacted because the black rectangle is painted last, but the instruction that places the name is still in the file.

That is why the same trick works against you. Select all and copy, and the text comes out, because selection reads the text instructions and ignores what is painted over them. Search finds it. Screen readers read it. Moving the box away shows it.

Fake redaction versus real redaction

Common methods and whether they hide the text
MethodWhat it really doesText still in the file?
Black rectangle drawn on the pagePaints a shape over the textYes
Black highlightAdds an annotation with a dark colourYes
White rectangle over textPaints white over itYes
Changing the text colour to match the pageMakes the text invisibleYes
Hiding a layerSwitches off display of a layerYes, in the layer
Deleting the text in an editor, then saving over the fileRemoves it from the page, if the editor does it properlyOften gone from the page, but earlier saved versions can remain in the file
Screenshot or print to image, then back to PDFTurns the page into a picture, with the box baked inNo, but the quality is worse, and you must make sure the box was part of the picture
A redaction tool that burns boxes into a picture of the pageRebuilds the page as a picture with the box in blackNo

The last two rows are the ones that work. The page becomes a flat picture and the text instructions are gone. The free redact PDF tool takes the picture approach: every page with a box is rebuilt from a picture with the boxes burned in black.

Other places the information leaks

Even with the visible text properly removed, a PDF can still give a name away elsewhere.

  • Document metadata. Title, author and dates can contain the name you hid on the page. A file called "Smith-settlement.pdf" with the title "Smith v Jones" leaks twice.
  • Comments and annotations. Notes written in the margin, with names in them, travel with the file.
  • The same text elsewhere. A name redacted in the body and left in a header, a footer, a table or an appendix is still there.
  • Bookmarks and outlines. A table of contents entry can spell out what the page hides.
  • Attachments. A PDF can carry other files inside it.
  • Form fields. Filled-in values are stored apart from the page.
  • Earlier saved versions. Some programs append changes to the file, which can leave old content inside.

What hidden information is in a PDF goes through these one at a time. The redact tool removes metadata, bookmarks, attachments, scripts and the form from the whole document, and it rebuilds marked pages so comments and hidden content on them do not survive. A page you did not mark is copied as it is, with its text, so mark every page that needs it.

Test a redacted PDF in five steps

  1. Open the file in a viewer and drag across each black area. If a selection highlight appears over the text or the characters count as selected, text is still there.
  2. Press select all on the page, copy and paste into a plain text editor. Look for any name or number you meant to remove.
  3. Use the viewer's search for those words. A hit on a redacted page means a failed redaction.
  4. Open the document properties and check title, author and subject.
  5. Look at the comments, bookmarks and attachments panels.

Test the file you are about to send, not the working copy. When a PDF came to you already marked up as redacted and the stakes are high, run the same test before relying on it.

The honest trade-offs of real redaction

True redaction has a price. Redacted pages become pictures, so their text can no longer be selected, searched or read by a screen reader, and the file grows. Text inside scanned pages or pictures needs a hand-drawn box, because the tool has no OCR and searches only real text. Choose the 150 dpi default for smaller files or 300 dpi for sharper pages.

It is also permanent in the copy you save. Keep your original, because you cannot recover the hidden text from the redacted copy. That is the intention.

This is general information, not legal advice. Rules on redacting court filings, public records, health data and personal data differ by place and by body. Follow the method and verification steps those rules require.

Redact it properly, then send it

The how to redact a PDF guide has the full steps. In short: open the redact PDF tool, drag boxes or use "Mark all" on a word, download, then run the test above. It runs in your browser, your file is not uploaded, and it needs a free Signavos account (no card).

Redact before the document is signed, because a changed file will not match the checksum on its Certificate of Completion. When the copy is final, send it for signature with Signavos. One credit covers one send, and credits never expire.

Frequently asked questions

Can you copy text from under a black box in a PDF?
Usually yes, if the box is a shape drawn over the page. The text is still in the file, so select all, copy and paste reveals it. Real redaction removes the text.
Does highlighting text in black redact it?
No. A highlight is an annotation on top of the page. The text underneath can still be selected, copied and searched.
How can I tell if a PDF was redacted properly?
Try to select the black areas, search for the hidden words, copy and paste the whole page into a text editor, and check the properties and comments. If nothing shows up, the redaction held.
Does printing to PDF remove hidden text?
Printing flattens a page, but a box that was drawn as a separate annotation may not print. Check the result with the same copy and search test. A tool that burns the box into a picture is more reliable.
Does the free redact PDF tool fix this?
Yes for pages you mark: they are rebuilt from a picture with the boxes burned in black. It has no OCR, so on scanned pages you must draw the boxes by hand, and it does not touch text on pages with no boxes.
Is removing the metadata enough?
No. Metadata is one leak among several. The visible text, comments, bookmarks and attachments also need handling, and the redact tool clears the document-level data for you.

Send your next document without a subscription.

Upload a PDF, place the fields, send. Your recipient signs without an account and you pay per signature. Nothing renews and credits never expire.

Create a free account