Skip to main content
BoringPDF

How to redact a PDF properly (and why black boxes fail)

Drawing a black box over text only hides it: the words are still in the file and can be copied, searched or uncovered. Real redaction deletes the content under the box. Use a redaction tool, apply it, then check the downloaded copy by searching for what you removed.

Updated

Why black boxes do not work

A PDF page is built from layers of content: text, images and drawings. A black rectangle added with an editor or annotation tool is one more layer on top. The text underneath is untouched, so anyone can select it, copy it, search for it, or simply move the rectangle.

The same goes for black highlighter, white boxes, white text and cropping. Crop PDF, for example, changes the visible page area; content outside the crop box is hidden, not removed.

Leaks of exactly this kind have happened in published court filings and official reports, where covered names and figures were copied straight out of the document.

What real redaction removes

When you apply redactions in Redact PDF, the saved copy changes for good. The text under each marked area is deleted rather than covered. Image pixels under the area are blanked, so part of a photo or a scanned signature disappears from the image itself, and lines and shapes that touch the area are removed.

A black box is drawn where the content was, so readers can see that something was redacted. The document's properties, such as title, author, subject, keywords, creator, producer and dates, are cleared too. Your original file is not changed: you download a new, redacted copy.

How to redact a PDF

  1. Open Redact PDF and add your file.
  2. Search for words or numbers, or use the built-in patterns for email addresses, phone numbers and card numbers. Click Add on each match you want to remove.
  3. Draw boxes over anything search cannot find, such as signatures, photos, stamps and handwritten notes.
  4. Review the queued redactions and remove any you do not want.
  5. Click Apply Redaction and download the redacted PDF.
Redact PDF with an account number found by search and queued for redaction
Searching for the account number finds it on the page; Add queues it.
Result screen confirming one secure redaction was applied
After Apply Redaction, download the redacted copy.

Scanned documents need boxes, not search

Search only finds real text. In a scanned PDF every page is a picture, so a search finds nothing to redact. Draw boxes over the sensitive areas instead; the pixels under them are blanked.

To find every mention of a name in a long scan, run OCR PDF first so the text becomes searchable, then search and redact.

Check the redacted copy before you share it

  • Search the downloaded PDF for each word or number you removed. Nothing should be found.
  • Try selecting and copying text around each box.
  • Check every page, including headers, footers and the last page, where account numbers often repeat.
  • Check what sits outside the page content: the file name, bookmarks, attachments and form fields. Rename the file if the name itself is sensitive.

Extract Text shows the page text left in the file at once, which makes a fast final check; bookmarks, attachments, form fields and metadata need a separate look. There is more on reviewing output in Checking important results.

Redaction and passwords do different jobs

Redaction removes what nobody should see. A password limits who can open the rest. If the redacted file still contains private information, add a password with Protect PDF before you send it, and share the password separately.

Questions

Can redaction be undone?

Not in the redacted copy, because the content is deleted from it. Keep your unredacted original somewhere safe if you will need it later.

Does it work on scanned PDFs?

Yes. Draw boxes over the areas to remove and the image pixels under them are blanked. Run OCR first if you need search to find text in the scan.

Is my document uploaded while I redact it?

No. Redact PDF runs in your browser, so the document, and the content you remove, stay on your device.