How to redact a PDF properly (and why black boxes aren't enough)
Published · 3 min read
Short answer
Use a real redaction tool, not a drawing tool. Open Redact PDF, let it find emails, phone numbers, card numbers and IDs, add any other words or areas, and download. Redacted pages are rebuilt so nothing under the black boxes survives. Then check: try selecting or searching for the hidden text.
Redacting means permanently removing information from a document before you share it: an account number on a bank statement, a client's name in a case study, a home address on a form. Getting it wrong can be worse than not redacting at all, because the document looks safe while the information is still there.
Why a black box isn't redaction
A PDF is made of layers. When you draw a black rectangle over text, with a PDF editor's shape tool, a highlighter set to black, or in Word before exporting, the box sits on top of the text. The text itself is still in the file. Anyone can select it, copy it, search for it, or simply remove the box.
This mistake has made headlines many times. In 2019, lawyers for Paul Manafort filed a court document in which the "redacted" passages could be revealed simply by copying and pasting them, and journalists did exactly that within hours.
Black boxes are not the only way information leaks. PDFs can also hide:
- Document properties such as the author's name, the company, and the original file name.
- Invisible text layers in scanned documents, added by OCR so the scan is searchable.
- Bookmarks, comments and form fields that repeat the information you redacted on the page.
How to redact a PDF permanently
- 1Open Redact PDF and add your document.
- 2Review what it found. PDFLoft automatically looks for email addresses, phone numbers, card numbers, IBANs and national ID numbers, and validates numbers with check digits so it does not flag random digits. Skip anything you want to keep.
- 3Search for other words to remove, such as a person's name or a company, and every match is marked.
- 4Draw boxes over anything else, such as a signature, a photo or a logo.
- 5Apply the redaction and download the new PDF.
What happens to your document
Every page that has a redaction is replaced by an image of itself with the areas blacked out. No text, drawing or image data from under the boxes survives, because there is nothing under them anymore. The document is then rebuilt from scratch, so the original bookmarks and document properties are not carried over either.
The trade-off: text on redacted pages can no longer be selected or searched. Pages without any redactions are kept exactly as they were.
Check your redaction before you send it
Whatever tool you use, take thirty seconds to verify the result:
- Search for it. Open the redacted PDF, press Ctrl+F (Cmd+F on Mac) and search for a word you removed. There should be no results.
- Try to select it. Drag across a black box. Nothing should highlight.
- Copy and paste. Select all the text on the page (Ctrl+A or Cmd+A) and paste it into a plain text editor. The removed information must not appear.
- Check the properties. Look at the document properties in your PDF reader, or use Edit Metadata, to make sure no author or title gives away what you hid.
Why redact in your browser
There is an irony in uploading a document to a website so you can remove the sensitive parts: the full, unredacted original has now been sent to a server you do not control. PDFLoft does all the work on your device, so the original never leaves it. Read more about how to check whether an online PDF tool uploads your files.
Frequently asked questions
- Can redacted text be recovered?
- Not from a PDF redacted with PDFLoft. The redacted pages are rebuilt as images, so the original text is no longer in the file at all.
- Does it work with scanned documents?
- Yes. You can draw boxes over any area of a scanned page. Automatic detection relies on the text in the PDF, so it finds things in scans only when they have a text layer from OCR.
- Is redacting enough to comply with GDPR?
- Redaction is one tool for sharing documents without exposing personal data, but compliance depends on your situation. Ask your data protection officer or a legal adviser.