Sign in

How to redact a PDF properly (and why whiteout isn't enough)

6 min read, updated

Quick answer

Drawing a black or white box over text only hides it: the words are still in the file and can be copied, searched or extracted. To redact properly, cover the sensitive areas and then save a version where every page is converted to an image, or use a dedicated redaction tool that deletes the underlying content. Then check the result by searching for the words you removed.

How to redact a PDF properly

  1. 1
    Find everything sensitive

    Search the PDF for each name, number and term you need to remove, and note every page it appears on.

  2. 2
    Cover it

    In the PDF editor, use Whiteout with a white or black fill to drag a box over each item.

  3. 3
    Turn on Secure flatten

    Open the menu next to Download, tick Secure flatten and download. Every page is rebuilt as an image with your boxes burned in.

  4. 4
    Verify the result

    Open the new file, try to search for and select the covered words, and run it through PDF to Text, which should find nothing.

  5. 5
    Send the right file

    Rename the redacted copy clearly and make sure that's the one you send, not the original.

Why a box over the text isn't a redaction

A PDF page is built in layers. When you draw a box with a highlighter, a shape tool or whiteout, you add a new object on top; the text underneath is still in the file, in the same place, unchanged. Anyone who receives it can:

  • drag-select across the box and paste the hidden text into another app;
  • search the document for a word and land right on the covered spot;
  • run a text-extraction tool, or simply delete the box in any PDF editor.

Court filings, government reports and company documents have leaked exactly this way: the black bars looked convincing on screen, but the text underneath could be copied out. The same applies to pictures. A box over a photo of an ID card leaves the whole photo in the file.

Sensitive details also hide in places you can't see on the page:

  • Scanned PDFs with OCR: many scanners add an invisible text layer so the scan is searchable. Covering the image does nothing to that hidden text.
  • Document properties: the title, author and subject fields can contain names or case numbers. You can view and clear them with Edit PDF Metadata.
  • Comments, bookmarks, form fields and attachments, plus earlier versions of content that some apps keep when a file is edited and saved repeatedly.
  • The file name itself.

Redacting with whiteout and Secure flatten

The PDF editor handles this in two steps: cover, then flatten. Use the Whiteout tool to drag boxes over everything sensitive. The fill can be white, off-white or black. Black is the conventional redaction look and makes it clear something was removed; white is neater when you're simply stripping personal details before sharing. Then open the menu next to Download, tick Secure flatten and download.

Secure flatten renders every finished page, boxes included, as a high-resolution image (about 180 DPI) and builds a brand-new PDF from those images. Nothing from the original survives except the pictures of the pages: no text layer, no hidden OCR text, no content under the boxes, no form fields, bookmarks or attachments, and the original document properties aren't carried across. It all happens in your browser, so the unredacted document is never uploaded, which matters for exactly the kind of file people redact.

The trade-offs of flattening

  • Text is no longer selectable or searchable anywhere in the document, not just under the boxes. That's the price of certainty.
  • File size usually goes up for text documents, because page images weigh more than text. If it's too big to send, run it through Compress PDF on Strong; it stays image-only.
  • Fine print is slightly softer than the original sharp text, though 180 DPI reads and prints well.
  • Links and fillable fields stop working, so fill in any forms before you redact.

If the recipient needs searchable text, the alternative is a dedicated redaction tool that deletes the covered text and image data while leaving the rest of the page as text. Adobe Acrobat Pro's Redact tool is the best-known, and it's a paid product. With no software at all, printing the pages, blacking out the text with an opaque marker and rescanning also works, provided the marker truly hides the print when held up to a light.

How to check a redaction worked

Never assume. Check the file you're about to send:

  1. Open the redacted copy (the new download, not your original) in a different PDF reader, such as your browser.
  2. Press Ctrl+F or ⌘+F and search for a word or number you removed. It shouldn't be found; after Secure flatten nothing in the file is searchable.
  3. Drag-select across a covered area, copy and paste into a note. Nothing should paste.
  4. Run the file through PDF to Text. It should report that no text was found.
  5. Zoom in on each box and make sure it fully covers the text, including the tails of letters such as g and y.

Common redaction mistakes

  • Missing repeats: a name redacted on page 1 but left in a header, a footer or a signature block on page 9. Search for every term before you start, not just afterwards.
  • Boxes that are too tight: a sliver of the top or bottom of a word can be enough to guess a short name or number. Make boxes a little larger than the text.
  • Leaving revealing context: a covered name next to an uncovered job title, email address or initials isn't really hidden.
  • Using a dark highlight: on screen it can look like a bar, but it's still a see-through mark over intact text. Use whiteout or a filled rectangle, then Secure flatten.
  • Sending the wrong file: the editor names the download after the original with -edited added. Rename it clearly, for example contract-redacted.pdf, and keep the unredacted original somewhere safe.

Frequently asked questions

No. Whiteout covers content visually, but the text or image underneath stays in the file. It only becomes a redaction when the page is flattened to an image, as Secure flatten does.

If the redaction was just a box drawn on top, usually yes, by copying the text or deleting the box. If the page was flattened to an image or the content was removed with a true redaction tool, the covered text is gone.

Either works once the pages are flattened. Black is the convention for legal and official documents because it shows something was removed; white is tidier for simply removing personal details.

It builds a new PDF from page images, so the original title, author and other document properties are not carried over. Do check the file name, which you choose yourself.

Yes, and you should still use Secure flatten. Many scans carry an invisible OCR text layer that a box on top doesn't remove.

Not with Secure flatten, which turns every page into an image. For that you need a dedicated redaction tool that deletes only the covered content, such as the one in Adobe Acrobat Pro.

Tools used in this guide

Related guides