How to redact a PDF properly, so hidden text cannot be recovered

Updated · 4 min read

Redaction means removing confidential information from a document before sharing it: a client’s name, an account number, a home address, a signature or a photo. Done badly, it is one of the most common causes of accidental data leaks. Documents published with black boxes drawn over text have repeatedly turned out to be readable by anyone who copied and pasted the “hidden” words.

This guide explains why that happens, how to redact a PDF properly and how to check your work before you send the file.

Why a black box is not redaction

A PDF page is made of layers of content drawn one on top of the other. Drawing a black rectangle, highlighting text in black or putting a sticker-like annotation over it only adds another layer. The text underneath is still in the file: it can be selected, copied, found with a search, read by screen readers and search engines, or revealed by simply moving or deleting the box.

Real redaction removes the content itself. After redaction, the letters, shapes and pictures under the box no longer exist in the file, so there is nothing left to recover.

Step by step

  1. Open the PDF in the Redact PDF tool. The document is processed on your device and never uploaded.
  2. Choose Redact, then drag over each piece of information to remove. With the keyboard, press Enter to place an area in the middle of the page and adjust it from there.
  3. Go through every page. The panel tells you how many areas are marked and warns you when a page will be saved as a picture.
  4. Download the PDF. Everything under the areas is removed from the file and the areas stay black.
  5. Check the downloaded file as described below before you share it.

What PDFancy removes

  • The letters under each area are taken out of the file. The rest of the line stays in place, so the layout does not move.
  • Shapes under an area, and the links, comments and form fields that touch it, are removed too.
  • Where an area covers a picture, that page is saved as a picture: what was under the box is gone for good, and the text on that page can no longer be selected.

The Cover tool is different: it only hides content under a white box, which is fine for tidying a page but never for confidential information.

Easy-to-miss places

Sensitive information often hides outside the obvious spot. Before you redact, go through this list:

  • Every occurrence: a name may appear in the heading, the body, a table and the footer of each page.
  • Headers, footers, page stamps and margin notes.
  • Signatures, handwritten initials and photos of ID documents.
  • Comments and annotations, which some readers hide by default.
  • Document properties such as title, author and subject, visible in any reader’s properties window.
  • The file name itself, which often contains a person’s name.

How to check a redacted file

  1. Open the downloaded file in another PDF reader, not in the editor you used.
  2. Use the reader’s search (Ctrl+F or Cmd+F) to look for each redacted word or number. It should not be found.
  3. Try to select the text under a black area and paste it into a text editor. Nothing from the removed content should appear.
  4. Check the document properties and rename the file if needed.

Tips

  • Redact a copy and keep the original in a safe place, since redaction cannot be undone in the downloaded file.
  • Make the boxes slightly larger than the text so the tops and tails of letters are covered too.
  • Do not try to keep the length of a removed name visible: a box sized exactly to a short word can hint at what it was.
  • If a whole page is confidential, delete it with Organize pages instead of covering it.
  • For a document that only certain people may read in full, password protection may be what you need instead.

Frequently asked questions

Can redacted text be recovered from a PDFancy file?

No. The covered letters, shapes and pictures are removed from the file itself, not hidden. There is nothing underneath the black area to reveal.

Why can I no longer select the text on one page?

One of your areas covered a picture, so the page was saved as a picture to make sure what was under the box is gone. Other pages keep their selectable text.

Does redaction work on scanned documents?

Yes. A scan is a picture, so the redacted page is saved as a picture with the covered part removed.

Is my document uploaded to be redacted?

No. Redaction runs entirely in your browser, on your device.