Skip to content
All Online Tools

How to redact a PDF properly, and why black boxes often fail

, 6 min read

To redact a PDF, the hidden text has to be removed from the file, not just covered up. Open Redact PDF, type the names, numbers or words you want gone (one per line), or mark areas such as a signature or a photo, and download the result. Every page with a redaction is rebuilt as a flat image with the black boxes burned in, so there is no text left underneath to copy. Then check the file using the steps at the end of this guide.

Why a black rectangle is not a redaction

A PDF page is built in layers. When you draw a black shape, add a black highlight or set the text color to black on black, you add a new layer on top, and the original text stays exactly where it was. Anyone who opens the file can select the hidden area, copy it and paste it somewhere else, or search for the word with Ctrl+F (Cmd+F on a Mac). Court filings and government reports have leaked this way more than once.

The same goes for documents that were "redacted" in Word or Google Docs by covering text with a shape and then exported to PDF. The shape and the text both end up in the PDF.

Real redaction does two things: it deletes the content under the box, and it leaves a visible mark so the reader knows something was removed.

How to redact a PDF for free in your browser

  1. Open Redact PDF and add your file. It is processed on your own device, which matters when the document holds the very details you are trying to protect.
  2. In Words or numbers to redact, type each item on its own line: a name, an account number, an email address. Matching ignores upper and lower case, and every occurrence on every page is blacked out.
  3. For things that aren't text, such as a signature, a photo or a stamp, use Areas to black out. Each line is a page number followed by the box's left edge, top edge, width and height, all as percentages of the page. For example, 2 60 85 30 8 covers a strip near the bottom right of page 2.
  4. Click Redact and download the new PDF.

A few details are worth knowing before you start:

  • Commas split terms. A comma is treated as a separator, so type 1234 5678 or the digits on their own, not 1,234.
  • Phrases that wrap onto the next line may not be found as one match. Redact the parts separately, for example the first name and the last name on separate lines.
  • Scanned PDFs have no text to search. If a search finds nothing, the page is probably a picture of a document. Use areas instead. Our guide on telling a scanned PDF from a real one takes five seconds.
  • Redacted pages become images. Text on those pages can no longer be selected or searched. Pages with nothing to redact are copied across unchanged.

If you have Adobe Acrobat Pro

Acrobat Pro has a dedicated Redact tool. Mark the text or areas, then click Apply; until you apply, the marks are only previews and the text is still there. Acrobat also offers to Sanitize the document, which removes metadata, hidden layers, comments and attachments. Use both. Recent versions of Preview on a Mac also include a Redact tool in the Tools menu.

What else can give the information away

  • Form fields. A filled-in form stores its answers separately from the page. Flatten the PDF first so the answers become part of the page, then redact.
  • Comments and sticky notes on pages you didn't redact are carried across. Delete them, or remove anything sensitive from them, before you share the file.
  • Document properties. The title, author and subject fields often contain a client's name or a case number. PDF Info shows them, and Remove PDF Metadata clears them. Our guide to hidden data in files covers the rest.
  • The file name. "Smith-divorce-settlement-redacted.pdf" undoes a lot of careful work.

Check the result before you send it

  1. Open the redacted PDF and press Ctrl+F (Cmd+F on a Mac). Search for each term you removed. There should be no results.
  2. Try to select the text where a black box is. Nothing should highlight.
  3. Select all the text on a redacted page, copy it and paste it into a plain text editor. The removed words must not appear.
  4. Zoom in on the boxes and confirm they cover the full height of the letters, including the parts that hang below the line.

Redaction and passwords solve different problems. Redaction removes information for everyone who sees the file. A password only controls who can open it, and our guide on what PDF passwords actually stop explains where that falls short.