Skip to content

Your black boxes might not be hiding anything: how to redact a PDF properly

By Shubham · 28 September 2026 · 3 min read

Every few years a story makes the news: a court filing, a government report or a company document is published with sensitive parts blacked out, and within hours people have read every hidden word. Nobody hacked anything. They simply selected the text under the black boxes and pasted it into a text editor.

It's an easy mistake to make, and it's worth understanding why it happens.

Why a black box isn't redaction

A PDF page is built in layers. Text sits on the page as real characters. When you draw a black rectangle over some text, you add a new shape on top. On screen, the text disappears. In the file, it's still there underneath, completely intact.

That means anyone can:

  • Select the area and copy the "hidden" text
  • Search the document and find the hidden words
  • Open the file in an editor and delete or move the black box
  • Convert the PDF to Word, where the box and text often separate

The same applies to highlighting text in black, using white-out in a PDF editor, or covering things with a sticky note annotation.

What proper redaction does

Real redaction removes the content itself. When you redact an area properly:

  1. The text characters in that area are deleted from the file.
  2. Any images or graphics under the area are cut out.
  3. A solid box is drawn in their place to show something was removed.

After that, there's nothing to copy or uncover, because the information isn't in the file anymore.

Redact PDF works this way, and it automatically checks the result after applying redactions to confirm the content is gone.

The other places secrets hide

Even proper redaction of the visible page can miss information stored elsewhere in a PDF:

Metadata. Document properties often include the author's name, the organisation, the software used, creation dates and sometimes the original file path, like C:\Users\priya\Clients\Confidential\…. Use Remove PDF Metadata. Our redaction tool clears metadata as part of the process.

Bookmarks and headings. A bookmark titled "Settlement with Sharma family" will happily survive the redaction of every mention of the Sharma family on the pages.

Comments and annotations. Reviewers' comments may quote the very text you've removed.

Attachments and hidden layers. Some PDFs carry embedded files or hidden layers.

For a thorough cleanup before publishing, Sanitize PDF removes hidden content like scripts, attachments and metadata in one go.

Scanned documents are a special case

In a scanned PDF, the text is part of an image, not real characters. Drawing a box over the image hides it on the page, but depending on how the box was added, the full image may still sit underneath.

Proper redaction cuts that part out of the image itself. Also note that searching for a word won't find it in a scan, because there's no text to search. To use text search, run the document through OCR PDF first, then search and redact. Or draw redaction boxes manually.

A checklist before you share a redacted document

  1. Search for every sensitive term, not just the ones you remember. Names, account numbers, phone numbers and addresses often appear more than once, including in headers and footers.
  2. Apply proper redaction, not boxes or highlights.
  3. Test it. Open the redacted file, try to select and copy text in the blacked-out areas, and search for a redacted word. You should find nothing.
  4. Check metadata, bookmarks and comments.
  5. Keep the original separate and clearly named, so you never send the wrong version by accident.

When you need it

Redaction isn't just for lawyers. Everyday situations include:

  • Sending a payslip to a landlord without revealing your PAN or bank account number
  • Sharing a medical report with an employer that only needs the fitness conclusion
  • Publishing a sample contract with client names removed
  • Posting a screenshot of a bill for a complaint without your customer ID

Hiding information should actually hide it. A box drawn on top of text doesn't.


More guides

All guides · All tools