How to Redact a PDF Properly: Why Black Boxes Alone Do Not Remove Text

To redact a PDF properly, remove the content from the file instead of covering it: a black box or white text leaves the words underneath that anyone can copy. Remove sensitive information at the source if you can, otherwise mark and apply redactions with a real redaction tool, clean metadata and other hidden data, save a new file, and verify with copy, search and extraction tests before sharing.
Compare PDF tools that offer true redaction and metadata cleaning.
Why a black box is not redaction
Drawing a black rectangle over text feels like redaction because the page looks clean. But a PDF is not a picture of a page; it is a structured file in which the text, the images and the shapes sit in separate layers. A rectangle is just another shape placed on top of the text. The words underneath are still in the file, and anyone can select, copy or search them.
Court guidance says this directly. A federal court page on redaction techniques warns that highlighting text in black, or placing a black box over the data, does not protect it, and that changing the text color to white is similarly ineffective. People have been caught out by this repeatedly, which is why courts publish warnings about it.
If you need to redact a PDF that will leave your organization, treat the black box as a drawing, never as a safeguard. What follows is a method that removes the underlying content, cleans the hidden data around it, and proves the result before you share the file.
What true redaction does differently
True redaction deletes the content from the file, not just from view. The characters or image regions you select are removed from the page content, and the area is replaced with a solid mark so that readers can see something was removed. After that, copying the area yields nothing, searching for the removed words finds nothing, and text extraction tools see no trace.

Most dedicated redaction tools work in two stages: you mark the content, then you apply the marks. Marking alone is only a preview. It is the apply step that does the deleting, which is why a half-finished job, with marks placed but never applied, is one of the most common failures. Always confirm that the apply step ran.
Redaction also has to reach beyond the visible page. The same federal court page explains that metadata is information about the document stored inside the file and can include the author's name and the location of the file on a server. It also notes that a cropped picture may still contain its full-sized version. Redaction that stops at the page surface can leave these behind.
Step 1: Decide exactly what has to go
Start with a written list, not a hunch. Redaction mistakes often come from missing an item rather than from a failed tool. Read the document with a short checklist of the information types that matter in your situation.
- Personal identifiers: names, home addresses, phone numbers, dates of birth
- Account and payment details: bank accounts, card numbers, reference numbers
- Government or tax identifiers
- Health, employment or other special-category information
- Commercial secrets: prices, margins, customer lists, strategy
- Names of informants, minors or other protected parties
- Information that appears more than once, in headers, footers, tables and footnotes
Search for each item as well as reading for it, because a name or number often appears in a place you did not expect, such as a page footer, a filename in a hyperlink or a caption under a chart. Keep the list with the file so a second reviewer can use it. The guide to anonymizing customer data before sharing is a good companion when the goal is to protect individuals.
Step 2: Prefer removing the content at the source
The simplest and safest redaction happens before the PDF exists. The federal court page puts it plainly: the best redaction method is to omit the information from the original document and save the redacted version under a new name. If you can edit the original word-processing or spreadsheet file, remove the sensitive text there, export a fresh PDF and check the result.
This approach avoids hidden layers because the information never reaches the PDF. It also removes the temptation to trust visual appearance. Keep the unredacted original in a restricted location and give the redacted copy a clearly different name, so nobody mixes up the two later. The naming habits in file naming and metadata standards can help, for example by adding a redacted status to the name.
When the source is not available, such as a scanned contract or a document from a third party, move on to marking and applying redactions inside a PDF tool.
Step 3: Mark, review and apply the redactions
Use a tool that offers real redaction, not drawing tools or highlighters. The federal court page mentions redaction features in Adobe Acrobat Professional and in Word, as well as commercial add-ons built for the purpose. Whatever you choose, follow the same sequence.

- Open a copy of the PDF, never the only original.
- Mark each item from your list, using search-based marking for repeated terms and manual marking for images and unusual cases.
- Review every mark on every page. Look for items that should have been marked but were not.
- Apply the redactions so that the underlying content is removed.
- Save the result as a new file with a clear redacted name.
- Close the file and reopen it to confirm the change persisted.
Resist doing the work by hand on long documents. Manual, one-item-at-a-time marking becomes error-prone over hundreds of pages. A post from a PDF software vendor makes the same point and recommends automated detection for patterns such as names, phone numbers and account numbers, especially in batches. Detection helps, but it is a first pass; a person still has to review the result.
Step 4: Handle scanned documents and hidden text layers
Scans add a twist. A scanned page is an image, so there is no text to delete, and a black box drawn over the picture might look like it works. The risk comes from the text layer that optical character recognition adds to make scanned pages searchable. That layer can sit invisibly behind the image and still contain every word you tried to hide.
Check whether a scanned PDF has a text layer by trying to select and search words on the page. If it does, make sure your redaction tool removes the hidden text as well as covering the image. If you are working from an image-only scan, redact the image area itself. Either way, test the output after applying, because the way tools treat recognized text varies.
When a document is only meant to be read, some teams export the redacted pages as flat images and then rebuild the PDF. This can reduce hidden-text risk, but it destroys searchability and accessibility, and metadata can still survive in the container, so it should not be your only step. For documents that need to stay usable for people who rely on screen readers, see sharing protected PDFs with screen-reader users.
Common redaction failures and quick fixes
| Failure | Why it happens | Fix |
|---|---|---|
| Black rectangle over live text | Drawing tool used instead of a redaction tool | Redo with a real redaction tool and verify |
| Marks never applied | Marking is a preview until the apply step runs | Apply, save as new, reopen and test |
| Hidden OCR text left behind | Scanned PDF has an invisible text layer | Remove the layer or redact the image and the text |
| Redacted original overwritten | Same filename reused | Always save to a new name |
| Metadata names the author or file path | Page redaction does not touch properties | Inspect and clear properties |
| Redacted words appear in comments | Reviewers quoted them | Delete comments |
| A repeated name missed in a footer | Only visible body text was reviewed | Search every sensitive term and use a second reader |
If a redaction mistake reaches someone it should not, treat it like a data incident: retrieve or revoke the file where you can, record what was exposed, and tell whoever needs to know under your own policies.
When to rely on tools and when to rely on people
Tools are good at repetition. Pattern-based detection can find every phone number in a long document faster than a person, and batch processing keeps the method consistent. People are better at judgment: recognizing that a combination of facts could identify someone, or that a nickname in a footnote refers to a protected individual.
Use both. Let a tool find candidates, let a person review and approve, and let a second person check the finished file with a written checklist. When choosing software for confidential work, look at where documents are processed, whether files are retained, and how redaction is applied. The guide to choosing a PDF editor for confidential documents covers those questions, and how to compare two PDF versions shows a way to confirm that only the intended changes were made.
A one-page checklist for your team
- Write the list of information that must be removed.
- Edit the source document if you have it; export a fresh PDF.
- Otherwise open a copy and mark every item with a real redaction tool.
- Review all marks, then apply them.
- Handle scanned pages and hidden text layers.
- Clear metadata, comments, attachments, bookmarks and layers.
- Save as a new file with a clear name.
- Run copy, search, extraction and properties checks.
- Have a second person review the file against the list.
- Share through a controlled link and file the original in a restricted place.
Frequently Asked Questions
Because the box is a shape placed on top of the page, not a deletion of the content beneath it. The characters remain in the file, so anyone can select, copy or search them, or paste the area into another program. Real redaction removes the underlying text and images from the file rather than covering them, which is why it must be applied and then verified.
Sources and Further Reading
This guide draws on the pages below. Vendor documentation and standards change, so check the current version before relying on a detail.
- NJ District Court: Personal Identity and Metadata Redaction Techniques (njd.uscourts.gov)
- Nutrient: PDF Redaction Verification Guide (nutrient.io)
- Foxit: Redacting Sensitive Data in PDFs Mistakes (foxit.com)
Related Articles

About the Author: Mohamed Siraj
Mohamed is the founder of SecureTools.live. He leads the team in building secure, compliant, and privacy-first directory tooling for software teams, finance professionals, and enterprise security leaders worldwide.
