Skip to content
TabShedKitsMy desk

Redacting a PDF So the Text Cannot Be Copied From Under the Black Box

Updated 5 min readBy

Why black boxes do not hide text, how real redaction works, how to find emails and card numbers automatically, and what to check before you send.

Redact PDFBlack out text in a PDF for good
Open Redact PDF
On this page
  1. Covering is not removing
  2. How the tool does it
  3. Step by step
  4. Using Find matches well
  5. Scanned PDFs
  6. A checklist before you send
  7. What redaction does not cover
  8. A worked example: sharing a bank statement with a landlord
  9. Protected PDFs
  10. After redacting
  11. Privacy
  12. FAQ

Every few years someone publishes a court filing or an internal report with the sensitive parts blacked out, and a reader selects the black area, copies it and pastes the text underneath. The box was a drawing placed over the words; the words were still in the file. That is the problem redaction exists to solve, and it is the reason a rectangle in a PDF editor is not redaction. The Redact PDF tool removes the content for real, in your browser, and this guide explains how it works and how to use it safely.

Covering is not removing

Cover with a boxReal redaction
What is in the file afterwardsThe original text and the boxPictures of the pages with the area painted black; the text underneath is gone
Can you copy the hidden text?Usually yesNo
Search finds the hidden words?YesNo
Fine forCosmetic changesAnything confidential

How the tool does it

Each page that has a box is turned into a flat picture with the black boxes painted in. The hidden text, its copy and search layer and everything underneath are no longer in the file. Metadata such as title and author is cleared too. Pages without a box stay as they were, with their text. This is the safest method, and it has a visible cost: a redacted page is an image, so you cannot select or search text on it any more.

Step by step

  1. Drop your PDF or choose it. The pages open in a viewer.
  2. Mark what to remove: drag on a page to draw a box, or press Find matches to mark emails, phone numbers, card numbers, IDs or any word you type. Untick matches you want to keep.
  3. Press Redact and save PDF. Every page with a box is rebuilt with the area burned in black.

Using Find matches well

The finders are pattern-based, which makes them fast and imperfect. They can miss an unusual phone format or an ID with extra spaces, and they can flag a number that is not private, such as a reference number that looks like a card. Treat the result as a first pass:

  1. Run the finders for the types you care about, and then type specific words such as a surname, an address or a company name; a typed word is matched wherever it appears.
  2. Look through the list and untick matches that should stay.
  3. Scroll the pages and draw a box over anything the finders missed: signatures, photos, handwritten notes and text in images are not found by pattern.

Scanned PDFs

Finding matches needs selectable text, and this tool does no OCR. On a scan there is no text to find, so draw the boxes by hand. A scan is also already a picture, so a box painted over it removes the pixels underneath in the saved file, which is exactly what you want.

A checklist before you send

  1. Reopen the saved file, not the one you were editing. Select all on a redacted page and copy; paste into a text editor. Nothing from the black areas should appear.
  2. Search for a redacted word. On the redacted pages, the search should find nothing. On non-redacted pages, search for each name and number you meant to remove; if it appears, you missed one.
  3. Check page edges, headers and footers. Private details often hide in footers and page headers, such as a name in a running header.
  4. Look at images. Photos, logos, stamps and signatures contain information that no text finder sees.
  5. Check the file name. Do not name the file after the person you removed.

What redaction does not cover

  • Other copies. The original file still exists on your computer, in your downloads and in any email you sent earlier. Redaction produces a new file; it does not change the old ones.
  • Context. If the black box covers a name, but the text around it says "the defendant, who lives at 12 Elm Street", the information is still there.
  • Pages without a box stay exactly as they were. Draw a box, even a small one, on any page that holds something you want gone.

A worked example: sharing a bank statement with a landlord

The landlord needs to see your income and regular payments, not your account number, your other transactions or your address history. Open the statement and run Find matches for card numbers and for the word you type, your account number as it appears on the page. Scan the list: if a match is a harmless reference, untick it. Then draw boxes over the transactions that are none of the landlord's business. Save, reopen the result and run the checklist: copy a redacted area into a text editor, search for the account number, check the header and footer of every page. Only then send the file, and delete the temporary copies you do not need. The unredacted statement stays on your own device where it belongs.

Protected PDFs

You cannot redact a PDF while it needs a password to open. Save an unprotected copy first with Unlock PDF if you have the password.

After redacting

If the file is large because pages are now pictures, PDF Compressor is not the right fix, since it does not recompress images. Instead, send only the necessary pages with Split PDF. If you must restore searchable text on the redacted pages, run the file through OCR PDF: the black areas stay black, and the visible text becomes searchable again.

Privacy

Everything happens in your browser, so the document you are trying to protect is never uploaded. That matters most for redaction, because the unredacted file is exactly the one you should not send anywhere.

FAQ

Is the text really removed?

Yes. Pages with a box become images with the black painted in.

Why is a redacted page not searchable?

It is an image now. That is the price of safe removal.

Will it find every phone number?

No; check the list and draw boxes for anything missed.

Can it find text in a scan?

No, draw boxes by hand.