Privacy & Security

How to Redact PII From a PDF
Without Adobe Acrobat

Three free methods for permanently removing sensitive information from PDFs — no $240/year subscription required.

7 min read·Updated Feb 2026

Redacting a PDF sounds simple — draw a black box over the sensitive bit, save, done. The problem is that in most PDF tools, that black box is just a visual layer sitting on top of the original text. The text is still in the file, selectable and copyable by anyone who receives the document. Real redaction permanently removes the data. Here's how to do it for free.

The Black Box Trap

If you open a PDF in Preview (Mac), a basic PDF viewer, or even some online tools and draw a shape over text, the underlying text is not deleted. Anyone can open the file, click Edit > Select All, and paste the "redacted" content into a text editor. Always verify your redaction by testing it after saving.

Method 1: LibreOffice Draw (Free Desktop — Most Reliable)

LibreOffice is a free, open-source office suite that runs on Windows, Mac and Linux. Its Draw component can import PDFs and export them as flattened files with redactions baked in.

  1. Download LibreOffice from libreoffice.org if you don't have it
  2. Open the PDF — right-click the file → Open With → LibreOffice Draw
  3. Select the Rectangle tool from the toolbar (or press R)
  4. Draw a rectangle over the text you want to redact
  5. Fill it black — right-click the rectangle → Area → select black fill, no border
  6. Export as PDF — File → Export as PDF → click Export
  7. Verify the redaction — open the exported PDF, try to select and copy the covered text

Important: Use Export as PDF, not Save or Save As. Saving preserves the editable layers. Exporting flattens everything into a single layer, which is what makes the redaction permanent.

Pros: Free, fully local, no upload, works on any OS, reliable permanent redaction when exported correctly.
Cons: PDFs with complex formatting may render imperfectly. Not ideal for scanned/image-based PDFs.

Method 2: PDFgear (Free Desktop — Easiest)

PDFgear is a newer free PDF editor for Windows and Mac with a cleaner interface than LibreOffice for PDF-specific tasks. It includes a dedicated redaction tool.

  1. Download PDFgear from pdfgear.com
  2. Open your PDF in PDFgear
  3. Go to EditRedact
  4. Drag to select the text or area to redact
  5. Click Apply Redactions
  6. Save the file

Pros: Clean interface, purpose-built redaction tool, easy to use.
Cons: Windows and Mac only, requires installation, newer product so less battle-tested than LibreOffice.

Method 3: Foxit PDF Editor Free Tier

Foxit PDF Editor has a free tier that includes basic redaction. It's a desktop application for Windows and Mac.

  1. Download Foxit PDF Editor from foxit.com (free tier)
  2. Open your document
  3. Go to ProtectMark for Redaction
  4. Select the content to redact
  5. Click Apply Redactions

Pros: Purpose-built redaction workflow, widely used in legal and enterprise settings.
Cons: Free tier has limitations, some features require paid upgrade.

What About Online Tools?

There are several browser-based PDF redaction tools — iLovePDF, Smallpdf, Redactable and others. They work, but they all upload your file to their server for processing. For documents containing:

...uploading to a third-party server creates a privacy and compliance risk. Stick to desktop tools for sensitive documents.

For Text Logs and Code: Use the Log Sanitizer

If what you're trying to redact is a text-based log file, stack trace, or code snippet rather than a formatted PDF, a desktop PDF editor is overkill. ResourceCentral's Log Sanitizer automatically detects and replaces emails, IPs, API keys and tokens in plain text — entirely in your browser, nothing uploaded.

How to Verify Your Redaction Worked

Always test before sending. After saving/exporting your redacted PDF:

  1. Open the exported file (not the original)
  2. Try to click and select text in the redacted area
  3. Press Ctrl+A (Select All) and Ctrl+C (Copy)
  4. Paste into a text editor — the redacted text should not appear
  5. Try Ctrl+F (Find) and search for a word you redacted — it should return no results

If the text is still selectable, the redaction is only visual and the document is not safe to share.

Quick Comparison

Tool Cost Uploads file? Ease
LibreOffice Draw Free ❌ No ⭐⭐⭐
PDFgear Free ❌ No ⭐⭐⭐⭐⭐
Foxit PDF Editor Free tier ❌ No ⭐⭐⭐⭐
Adobe Acrobat Pro $239.88/yr ❌ No ⭐⭐⭐⭐⭐
Online tools (Redactable etc) Free/paid ✅ Yes ⭐⭐⭐⭐⭐

FAQ

Can I redact a scanned PDF (image-based)? +

Yes, and it's actually easier. Scanned PDFs are images — drawing a black rectangle over the area truly hides it since there's no underlying text layer to worry about. Just make sure you flatten the image when saving. The risk of text surviving redaction is primarily with text-based PDFs, not scanned ones.

Does Mac's Preview app redact properly? +

No. Preview does not have a proper redaction tool. Drawing shapes over text in Preview leaves the underlying text intact. Do not use Preview for redacting sensitive documents — use LibreOffice Draw or PDFgear instead.

Is redaction the same as deleting pages? +

No. Redaction removes specific content from within a page while keeping the rest of the document intact. Deleting a page removes the entire page. Redaction is used when you need to share a document with certain information removed — like a contract with salary figures blacked out, or a medical record with patient identifiers removed.