How to Redact a PDF Properly (and Why Black Boxes Fail)
To redact a PDF properly you must remove the underlying text and images, not just cover them. A black box drawn on top of a sentence hides it on screen, but the original text usually remains in the file, where anyone can copy it, search for it or extract it.
Failed redactions have exposed confidential information in court filings and official reports for years. The US National Security Agency published guidance, Redacting with Confidence, precisely because covering text is not the same as deleting it.
Why covering text does not work
A PDF page is built in layers. Text is stored as characters with positions; images are stored as separate objects; shapes and annotations are drawn on top. When you add a black rectangle or a highlight, you add a new layer. The text underneath is still in the file, unchanged.
The same problem affects:
- Changing the text colour to black on a black background.
- Placing an image over the text.
- Redacting in a word processor, then converting to PDF, if the redaction was only visual.
- Scanned pages that have been run through OCR, which adds an invisible text layer beneath the image.
How proper redaction works
A real redaction tool deletes the content inside the marked area from the page itself, then draws the black box in its place. After the redaction is applied, there is nothing underneath to recover.
- Mark every area or search term to redact. For repeated names or numbers, use search-based redaction so no instance is missed. The Find and Redact tool does this.
- Apply the redaction so the content is removed, using Redact PDF.
- Remove hidden information: document metadata such as author and title with Remove Metadata, and comments, attachments and form data with Sanitize PDF.
- Save the result as a new file and keep the unredacted original secure.
How to check a redaction worked
Always test the redacted file before sharing it:
- Search. Open the PDF and search for a word you redacted. It should not be found.
- Copy and paste. Select the text around a redacted area and paste it into a plain text editor. The redacted words should not appear.
- Check metadata. Look at the document properties for names or titles you meant to remove. View Metadata shows them.
- Check attachments and comments. Hidden attachments and review comments can contain the very text you removed from the page.
For the highest assurance, some organisations also flatten or rasterise the redacted pages, turning them into images, with Rasterize PDF. This removes any remaining text layer, at the cost of making the text unsearchable.
Redact without uploading the original
The files that need redaction are, by definition, the ones you should not send to a stranger's server. Priya LifePDF's redaction tools run in your browser, so the unredacted document never leaves your device. You can confirm that yourself with our guide on how to check whether a PDF tool uploads your files.
Frequently asked questions
Does a black box redact text in a PDF?
No. A black box or highlight is an extra layer drawn on top of the page. The original text stays in the file and can usually be copied or searched unless a real redaction tool removes it.
How do I permanently remove text from a PDF?
Use a redaction tool that deletes the content inside the marked area and then applies the black box, and remove metadata, comments and attachments before sharing.
How can I check that a PDF is properly redacted?
Search the document for a redacted word, copy and paste text around the redacted area into a plain text editor, and check the document metadata. The redacted content should appear in none of them.
