How to Redact Information in PDF: Complete Guide (Permanently Remove Sensitive Data)

6 min read
How to Redact Information in PDF: Complete Guide (Permanently Remove Sensitive Data)

How to Redact Information in PDF: Complete Guide

You have a contract, legal filing, or confidential report that contains private data – a social security number, a bank account, a trade secret, or a patient's name. Simply drawing a black box over the text does nothing; the hidden content remains in the file and can be extracted. Real protection requires redaction: the permanent, irreversible removal of sensitive information. This guide covers everything from professional tools to free offline solutions, and includes metadata sanitization and verification steps.


What Is Redaction? (And How It Differs from Hiding)

Redaction permanently deletes sensitive content and replaces it with a blank space or black bar. Once redacted, the original data cannot be recovered by any tool, making it legally compliant for GDPR, HIPAA, and FOIA requests.

Hiding (Masking) – such as adding a black rectangle or setting text color to white – only covers the content. The text remains inside the PDF structure. Recipients can copy, remove the shape, or convert the file to Word to reveal the hidden information.


What Information Should You Redact?

  • Personal Identifiable Information (PII): Social Security numbers, driver's licenses, passport numbers, dates of birth, home addresses.
  • Financial data: Bank account numbers, credit cards, tax IDs, salary details.
  • Legal & contractual data: Settlement sums, attorney-client notes, trade secrets.
  • Medical records (HIPAA): Patient names, medical record numbers, treatment details.
  • Business confidential: Customer lists, pricing strategies, internal codes.
  • Metadata: Author names, revision history, hidden comments, form fields, attached files.

Method 1: Redact Using Adobe Acrobat Pro (Professional, Most Reliable)

Adobe Acrobat Pro is the standard for legal and enterprise redaction.

  1. Open your PDF in Adobe Acrobat Pro.
  2. Click Tools > Redact > Redact Text & Images.
  3. Mark content: drag a rectangle over text/images, double‑click a word, or use Find and Redact for automatic redaction of specific phrases (e.g., all SSNs).
  4. Click Apply Redactions – this action is permanent.
  5. Save the redacted file with a new name (e.g., `document_redacted.pdf`).
  6. Remove metadata: Tools > Redact > Sanitize Document > remove hidden information.

Method 2: Redact Using Free Desktop Software (Offline, Secure)

If you do not have Adobe, these tools work offline and keep your data local.

PDF-XChange Editor (Free version, Windows)

  1. Open PDF, select Protection > Mark for Redaction.
  2. Draw over the sensitive areas.
  3. Click Apply All Redactions and save. (The free version adds a small watermark, but redaction is secure.)

LibreOffice Draw (Free, cross‑platform)

  1. Open PDF in Draw (each page becomes a drawing).
  2. Insert > Shape > Rectangle, fill with black, and place over text.
  3. Export as PDF (File > Export As > Export as PDF).
  4. Enable Archive (PDF/A) and Flatten options.

Warning: This is not true redaction; the text may still be selectable. Use only for non‑critical files.


Method 3: Online Redaction Tools (Quick, Non‑Sensitive Files Only)

Never upload confidential documents to online tools. Use only for test files.

  • Sejda Redact PDF (free tier): 50 MB, 200 pages, auto‑delete after 5 hours.
  • SmallPDF Redact PDF (free trial, then paid): Intuitive but leaves watermark in free version.
  • PDFescape (online, free tier): 10 MB, 100 pages, requires flattening.

How to Redact Scanned PDFs (Image‑Based Documents)

Scanned PDFs can have both an image and a hidden OCR text layer. Redacting the image does not automatically remove the text layer.

  1. In Adobe Acrobat Pro: Redacting visible text also redacts the underlying text layer. This is the safest method.
  2. In PDF‑XChange Editor: After redaction, use Flatten or Sanitize Document to remove the OCR layer.
  3. Alternative: Print the PDF as an image‑only PDF (File > Print > Save as PDF) before redaction.

Always test a redacted scanned PDF by pressing Ctrl+F and searching for a redacted word. If found, the text layer remains – re‑sanitize.


Removing Metadata and Hidden Data

Even after redacting visible content, metadata can leak information. Remove it using:

  • Adobe Acrobat Pro: Tools > Redact > Sanitize Document > Remove Hidden Information.
  • ExifTool (free command line): exiftool -all= input.pdf -overwrite_original
  • Our compress PDF tool: Strips most metadata during compression.

Comparison Table: Redaction Tools

The following table compares the most common redaction tools by key features:

Tool Price Platform Metadata Removal Batch Processing Privacy
Adobe Acrobat Pro ~$15/month Win/Mac ✅ Yes (Sanitize) ✅ Yes Local (offline)
PDF-XChange Editor (free version) Free (watermark on save) Windows only ⚠️ Limited ❌ No Local (offline)
LibreOffice Draw Free Win/Mac/Linux ❌ No ❌ No Local
Sejda (online) Free tier Web ❌ No ❌ No Files uploaded – not private

Tools for PDF Management – DonePDF Utilities

After redaction, you may find these tools helpful for further processing:



Master every aspect of working with PDFs through our comprehensive guides (organized by category). Each link leads to a detailed tutorial covering one specific topic.

Introduction & Basics

Format Comparisons

Conversion Guides

Editing PDFs

Page Management

Compression & Optimization

Security & Signatures

Scanning and OCR

Use Cases & Best Tools


Conclusion – Master PDF Redaction Today

Redacting a PDF is not about hiding – it is about permanently removing sensitive information. Use dedicated redaction tools (Adobe Acrobat Pro, PDF-XChange Editor), always work on a copy, sanitize metadata, flatten the document, and test the result. Never rely on black boxes or highlighting. With this guide, you can confidently redact any PDF and share it without worrying about data leaks.

Frequently Asked Questions

What is the difference between redaction and simply covering text with a black box?

Redaction permanently deletes the underlying text, images, or data. The content is gone – cannot be recovered, selected, copied, or extracted by any means.

Black box covering (or any shape) simply adds a colored rectangle on top of the text. The text remains fully present in the PDF structure. Recipients can:

  • Select and copy the text by dragging over the black area.
  • Remove or move the black box to reveal the text.
  • Extract the text via OCR or conversion to Word.

Always use dedicated redaction tools. Never rely on black boxes for sensitive information.

How do I redact a PDF for free?

You can redact a PDF for free using these methods:

  1. PDF-XChange Editor (free version, Windows only): Open PDF, select "Protection" > "Mark for Redaction", draw over sensitive areas, click "Apply All Redactions", and save. The free version adds a small watermark but redaction is secure and offline.
  2. Sejda (online, free tier): Upload PDF, mark text or areas, apply redaction, download. Limits: 50 MB, 200 pages, 3 tasks per hour. Do not upload sensitive documents.
  3. LibreOffice Draw (free, cross-platform): Open PDF, draw black rectangles over text, export as PDF/A and flatten. Warning: This is not true redaction; text may remain selectable. Use only for non-critical files.

For true redaction of confidential documents, use PDF-XChange Editor offline or Adobe Acrobat Pro (paid).

Can I redact information in a scanned PDF?

Yes, but extra steps are required. Scanned PDFs are images. They may also contain a hidden searchable text layer (OCR).

  1. In Adobe Acrobat Pro: Redacting visible text also redacts the underlying text layer automatically. This is the safest method.
  2. In PDF-XChange Editor: Redaction applies only to the visible image. After redaction, go to Document > Flatten or use Sanitize Document to remove the OCR layer.
  3. Alternative – before redaction: Print the scanned PDF as an image-only PDF (File > Print > Save as PDF) without preserving text. Then redact the image-only PDF.

Always test a redacted scanned PDF by pressing Ctrl+F and searching for a redacted word. If found, the text layer remains – re‑sanitize.

How do I remove hidden metadata after redaction?

PDF metadata can leak author names, creation dates, revision history, hidden comments, and form field data even after visible redaction. Remove metadata using:

  • Adobe Acrobat Pro: Tools > Redact > Sanitize Document > Remove Hidden Information. Select all categories (metadata, comments, form fields, bookmarks, attachments, hidden layers) and click OK.
  • Our compress PDF tool: Automatically strips most metadata during compression – quick and effective.
  • ExifTool (free command line): Run exiftool -all= input.pdf -overwrite_original to erase all metadata.
  • Manual alternative (simple but limited): Print the PDF to a new PDF (File > Print > Save as PDF) – this removes metadata but may reduce quality.

After sanitizing, verify by opening the PDF in Notepad++ and searching for old author names or hidden text.

How do I know if my redaction was successful?

Test the redacted PDF thoroughly before sharing:

  1. Visual inspection: Zoom in and confirm all sensitive areas are properly blacked out.
  2. Try to select text: Open in Adobe Reader or Chrome. Drag over redacted areas – if text highlights or cursor changes to I‑beam, redaction failed.
  3. Try to copy text: Select an area around the redaction, copy to clipboard, paste into Notepad. If redacted text appears, redaction failed.
  4. Try to convert to Word: Use our PDF to Word tool. If redacted text appears in the Word document, redaction failed.
  5. Search for keywords: Press Ctrl+F and search for a redacted word. If found, the text remains in an OCR or metadata layer – run sanitization.
  6. Check metadata: Open Document Properties (Ctrl+D). If author name, creation date, or other sensitive metadata appears, run sanitize.

If any test reveals hidden text, redaction was incomplete – redo using proper tools and sanitize.

What types of information should I redact before sharing a PDF?

Before sharing a PDF, consider redacting these common types of sensitive data:

  • Personal Identifiable Information (PII): Social Security numbers, driver's license numbers, passport numbers, dates of birth, home addresses, phone numbers, email addresses.
  • Financial information: Bank account numbers (checking, savings), credit card numbers (except last 4 digits), tax IDs, salary details, investment account numbers.
  • Legal and contractual data: Settlement sums, trade secrets, attorney-client privileged notes, internal case numbers, non-disclosure clauses.
  • Medical records (HIPAA): Patient names, medical record numbers, health plan beneficiary numbers, treatment dates, diagnosis codes, provider names.
  • Business confidential: Customer lists, pricing strategies, unreleased product names, internal project codes, employee performance reviews.
  • Metadata: Author name (e.g., document creator), company name, edit history, hidden comments, form field defaults, attached files, tracked changes.

When in doubt, redact more rather than less. You can always provide additional information later if needed.

Can I redact large batches of PDFs automatically?

Yes, for batch redaction you need professional software with automation features:

  • Adobe Acrobat Pro (paid): Use Action Wizard. Create a custom action: Open → Redact (with predefined search patterns, e.g., all SSN or credit card numbers) → Sanitize → Save. Then apply the action to an entire folder. This processes all PDFs automatically.
  • PDF-XChange Editor (paid version, not free): Supports batch redaction with custom pattern search.
  • Command line with Ghostscript or QPDF: Not straightforward for redaction (requires scripting and pattern files); for advanced users only.
  • Commercial solutions: Kofax Power PDF, Nuance Power PDF, or ABBYY FineReader offer batch redaction with search patterns.

For most users, redacting one PDF at a time with Adobe Acrobat Pro is sufficient. If you regularly handle hundreds of pages, invest in batch automation.

Does redaction affect file size?

Redaction typically slightly increases file size in most cases. Here is why:

  • When you redact text, the tool removes the original content and replaces it with a solid graphic (black bar or white rectangle). This new graphic occupies space in the PDF structure.
  • If the redacted text was previously compressible (e.g., repeated words), its removal may reduce size slightly, but the replacement graphic often adds a small overhead.
  • For scanned PDFs (image-based), redaction replaces pixels of the image – file size remains nearly the same.

To reduce file size after redaction: Use our compress PDF tool. Compression does not remove redaction or weaken security.

Overall, redaction adds minimal size (a few KB per redaction). The security benefit far outweighs any negligible file size increase.

What is the difference between redaction and flattening?

Redaction permanently removes sensitive content. The original text, image, or data is deleted and replaced with a solid bar. Redaction cannot be undone. It is used to protect confidential information.

Flattening merges all layers of a PDF (text, images, annotations, form fields, signatures) into a single layer. Flattening does not remove content – it just consolidates it. Flattening is often done after redaction to ensure that no hidden or layered content remains accessible. It also reduces file size and prevents further editing.

Example workflow: Redact sensitive text → Sanitize metadata → Flatten the PDF → Save. Flattening locks in the redaction so no underlying data can be separated.

In Adobe Acrobat Pro, flattening can be done by printing to PDF (File > Print > Save as PDF) or using the Preflight tool. In PDF-XChange Editor, use Document > Flatten.

Can I undo redaction after saving?

No – true redaction is permanent and irreversible. Once you apply redaction and save the PDF, the original content is deleted from the file structure. There is no "undo" after saving, and no tool can recover the redacted information.

This is by design – redaction would be useless if it could be undone. Therefore:

  • Always work on a copy of the original PDF. Keep the original unredacted file in a secure location (encrypted drive or offline storage).
  • Do not redact the only copy of a document unless you are certain you will never need the original version again.
  • Name your files clearly: Use suffixes like `_REDACTED` to avoid confusing the redacted version with the original.

If you need to change what is redacted, you must go back to the unredacted original and create a new redacted version.