Why Black Boxes Don’t Redact a PDF (and What Does)

Drawing black rectangles over text in a PDF or Word leaves the text in the file, ready to copy. Here’s why it happens, how to check, and how to redact properly.

3 min read ·

Covering text with a black box looks like redaction, but in most PDF editors, in Word, and in annotation tools, the text is still there underneath — anyone can select it, copy it, or search for it. Courts, governments and companies have leaked names and secrets exactly this way. Real redaction removes the text from the file. Redact PDF does that by rebuilding each redacted page with the boxes burned in.

Why the text survives

A PDF page is built in layers. Text is stored as characters with positions; a black box drawn on top is just another shape in a higher layer. The viewer paints the box over the letters, so they're invisible on screen — but the characters are still in the file.

That's why:

  • Selecting and copying the "hidden" area pastes the original text into an email or a document.
  • Searching with Ctrl+F finds the hidden words.
  • Deleting the box in any PDF editor reveals everything.
  • Text extraction tools — including the ones search engines use — read the text as if the box wasn't there.

The same happens when you:

  • Highlight text in black in Word and save as PDF.
  • Draw a filled rectangle with a PDF annotation or markup tool.
  • Use white-out or a coloured box to "cover" something.

How to check a redacted PDF

Before you share any redacted document — and when you receive one you must not leak — test it:

  1. Search for a word you know was hidden. If the viewer finds it, the redaction failed.
  2. Select across a black box and paste into a text editor. If text appears, it failed.
  3. Extract the text with PDF to Text and read through it. Hidden passages show up immediately.

It takes a minute, and it's the only way to be sure.

How to redact properly

Proper redaction deletes the underlying content. With Redact PDF:

  1. Add the PDF.
  2. Search for names and numbers and click Mark all, or drag boxes over areas.
  3. Click Apply redaction.

Every page with a box is rebuilt as a flat image with the black areas burned in; the original characters on those pages no longer exist anywhere in the file. Pages you didn't touch keep their normal, selectable text. Document properties such as the author are cleared as well.

Then run the three checks above on the result — you'll find nothing.

The "print to PDF" and screenshot workarounds

People sometimes try to fix a covered-text PDF by printing it to a new PDF or taking screenshots. Results vary:

  • Print to PDF often keeps the text layer and the box, so the text is still extractable.
  • Converting pages to images with PDF to Image does remove the text — but you lose searchable text on every page, not just the redacted ones, and you have to rebuild the PDF afterwards.

Redact PDF only flattens the pages that need it, which keeps the rest of the document searchable and accessible.

Covering versus redacting: when each is fine

Covering is fine when nothing secret is underneath — fixing a typo, hiding an old date before typing a new one. That's what the white-out tool in Add Text to PDF is for. The moment the covered information is private — names, account numbers, health details, trade secrets — use real redaction.

Don't forget what isn't on the page

Even a perfectly redacted page can be undone by the rest of the file:

  • Document properties may list the author or a client name.
  • File names often include the very name you redacted.
  • Bookmarks, comments and attachments can contain sensitive text.
  • Other pages may repeat the information — search the whole document.

Frequently asked questions

Is Redact PDF's result really irreversible?

For redacted pages, yes: the characters are replaced by an image of the page with black areas, so there's nothing left to recover. Keep your original if you might need it later.

Is the document uploaded?

No. Redaction runs in your browser.

Tools mentioned in this guide

← All guides