How to Redact Text from PDF Completely

Learn how to redact text from PDF documents properly. Prevent sensitive information from being recovered after redaction.

By PeacefulPDF Team

A journalist reached out to a company for documents. The company "redacted" sensitive information by adding black bars over the text. The journalist copy-pasted the text right through the bars. Oops.

That's what happens when you don't redact properly. Most people think black bars work. They don't. The text is still there, just covered up. Here's how to do it right.

Why "Covering Up" Doesn't Work

When you draw a black rectangle over text in a PDF, you're just adding a visual layer. The underlying text remains in the file. Anyone can:

  • Delete the black box in a PDF editor
  • Copy and paste the "hidden" text
  • Search for the text in the document
  • Use screen readers to access the content

Proper redaction removes the text completely, not just covers it.

How to Properly Redact Text from PDF

Here's how to do it the right way:

  1. Use a dedicated redaction tool like our PDF Redaction Tool
  2. Upload your PDF
  3. Select the areas you want to redact
  4. Choose "permanent removal" not just "cover up"
  5. Download your redacted document

Good redaction tools actually remove the underlying text, not just place a layer over it.

Methods That Work

1. Dedicated Redaction Tools

Use tools designed specifically for redaction. They remove text completely, not just cover it up.

2. Convert to Images, Then Back

Another method that works:

  1. Convert PDF to images with PDF to JPG
  2. Open the images in an editor
  3. Black out sensitive areas in the images
  4. Convert back to PDF with JPG to PDF

Since there's no text layer in the final PDF, there's nothing to recover.

3. Flatten the PDF

Flattening converts all content to a single layer. It removes the text layer entirely. Try our PDF Flatten Tool.

4. Print to PDF (With Redaction)

Some PDF printers let you add redactions before printing. The printed version won't have the underlying text.

What NOT to Do

Avoid these common mistakes:

  • Drawing black boxes — text remains
  • Using highlighters — still just a visual layer
  • Deleting pages — data might still be recoverable
  • Relying on "remove" functions — many just mark as deleted, don't actually remove

What to Check After Redaction

Before sharing a redacted document:

  1. Try to search for the redacted text — it shouldn't exist
  2. Try to copy/paste — should get nothing
  3. Open in different readers — some might show hidden content
  4. Use "print to image" and check — if you can read it, it's not properly redacted

Common Redaction Scenarios

Legal Documents

Names, addresses, account numbers, and personal details often need redaction in legal filings. This is critical — accidentally revealing information can harm people's privacy or compromise cases.

Government Records

When releasing FOIA documents, agencies must redact sensitive information. But badly redacted documents regularly make news because someone could read through the "black bars."

Business Documents

Financial reports, customer lists, and strategic plans often need partial redaction before sharing with partners or investors.

Medical Records

HIPAA requires protection of patient information. Proper redaction isn't optional — it's the law.

The Bottom Line

Redacting isn't hard, but it requires knowing what you're doing. The black bar approach almost never works. Use proper tools, verify the redaction, and when in doubt, convert to images. Your sensitive information will actually stay secret.