Blacking out text in a PDF only works when the text under the box is removed from the file. Most black boxes are a shape drawn on top, and the words underneath can still be selected and copied.
Why a black box isn’t enough
A PDF page is built in layers. The words you read are a text layer, and a black rectangle drawn in a PDF editor or a comment tool sits above it without touching it.
In January 2019 BuzzFeed News showed that copying the black bars in a court filing from Paul Manafort’s lawyers and pasting them elsewhere revealed the hidden text.
Black out text so it is removed
Use a tool that deletes what is under the box, not one that draws over it.
- Any browser, free. The PDF redactor lets you drag boxes or cover every match of a word. Each page is rebuilt as an image with the boxes burned in, so there is no text left to copy.
- Mac. Preview’s Redaction Selection tool removes the selected text. Apple notes that table of contents entries linking to redacted text are not removed.
- Acrobat Pro. Mark the text with the Redact tool, then select Apply. See how to redact in Adobe Acrobat.
- iPhone. Full Redact rebuilds each page from its pixels and checks the result before you share it.
Tools that only cover the text
These all leave the words in the file:
- Rectangle, shape and highlighter tools in Acrobat Reader, Preview’s Markup toolbar and Edge.
- Black highlighting or shading in Word, then saving as PDF. The text is still exported.
- Changing the text colour to black on a black background.
Each one passes a look on screen and fails a copy and paste.
Black out the same word everywhere
Names and account numbers tend to repeat, and missing one occurrence undoes the rest. Use a search and cover feature rather than drawing every box by hand.
In the free PDF redactor, type the word into the search box and select Cover matches. Acrobat Pro has the same idea in its Search and redact tool.
Test the blacked-out PDF
Open the saved file, select all the text and paste it into a note. If a word you blacked out appears, it is still in the file.
The PDF leak check does the same test for every page, and also finds metadata, bookmarks and earlier saved versions.