How to Redact a PDF So the Text Is Really Gone

A black rectangle in a PDF can look perfect and hide nothing at all. Here is why, how to redact properly with or without special software, and how to check the result.

A PDF is not a picture. Most PDFs contain real text, positioned on the page, plus drawings and images layered on top. When you draw a black rectangle over a sentence in a PDF editor, you usually add a shape on top of the text. The text is still there underneath, and anyone can select it, copy it, and paste it somewhere else.

A well-known failure

In January 2019, lawyers for Paul Manafort filed a court document with several passages covered by black bars. The bars were only drawn on top of the text, and reporters recovered the hidden passages by copying and pasting them. Failures like this happen to companies and governments regularly, and they are almost always the same mistake.

Three ways that work

1. Use a real redaction tool

Professional PDF editors such as Adobe Acrobat Pro have a dedicated Redact tool. You mark the areas to remove, then apply the redactions, which deletes the underlying text and images rather than covering them. Many of these tools can also remove hidden information such as metadata, comments, and earlier versions. Drawing a shape or highlighting in black is not the same thing.

2. Convert the pages to images first

If you do not have a redaction tool, turn each page into a picture, then cover the sensitive parts. Export or screenshot each page as an image, open it in our pixelate image tool, choose Selected areas with the Solid box effect, cover the text, and download. A picture of a page has no hidden text layer, so whatever you cover is gone. Combine the images back into a PDF if you need one.

3. Print and scan

The old-fashioned method still works: print the document, cover the text with a thick marker or tape, check it against the light, and scan it. It is slow, but there is no digital layer left to recover.

The ten-second test

  • Open the redacted PDF and try to select the text under a black box, then paste it into a note.
  • Use the search function to look for a word you redacted.
  • If either finds anything, the redaction failed. Do not send the file.

Other things a PDF can leak

  • Metadata. The author name, organisation, and editing software are stored in the file properties.
  • Comments and tracked changes carried over from a word processor.
  • Hidden layers and form fields that are not visible on screen.
  • Images inside the PDF, which may be higher resolution than they look, or contain their own location data.

Try it yourself

Our pixelation tool runs entirely in your browser. Nothing is uploaded, nothing is stored, and there is no signup.

Open the pixelate tool