VaultDocs
6 min read

How to Redact a PDF on Windows Without Adobe Acrobat

Permanently redact PDFs on Windows using free, offline tools. Step-by-step methods with qpdf, LibreOffice, and PDF-XChange that actually work.

Adobe Acrobat Pro costs $23/month and most users need redaction once or twice a year. The good news: Windows has several free, offline alternatives that perform genuine redaction—not cosmetic black boxes that leave text intact underneath.

This guide covers three methods ranked by reliability, plus verification steps to confirm your redactions actually destroyed the underlying data.

Why most "free" redaction fails

Before diving into tools, understand what breaks:

The black rectangle problem: Drawing a black shape over text in most PDF editors leaves the original text fully intact. Anyone can select it, copy it, or remove the shape. This includes annotations in Foxit Reader, shapes in Microsoft Edge's PDF markup, and "highlight" tools set to black.

The print-to-PDF workaround myth: Printing a PDF to a new PDF sometimes flattens annotations, but inconsistently. Some drivers preserve layers. Some preserve metadata. You cannot rely on this.

Hidden data survives: Author names, edit timestamps, embedded fonts with subset names, XMP metadata, and previous versions can all persist even after visual redaction.

Genuine redaction requires either:

  1. Rasterizing the page (converting to image, destroying all text)
  2. Using a tool that explicitly removes text objects from the PDF structure
  3. Both, plus metadata stripping

Method 1: qpdf + Ghostscript (most reliable, command-line)

This combination handles everything: flattening, rasterization, and metadata removal. Both tools are free, open-source, and run entirely offline.

Installation

Download qpdf from the official GitHub releases page. Download Ghostscript from ghostscript.com. Add both to your system PATH, or run commands from their installation directories.

Step-by-step workflow

1. Create a working copy:

copy sensitive.pdf working.pdf

2. Rasterize to images (destroys all selectable text):

gswin64c -dNOPAUSE -dBATCH -sDEVICE=png16m -r300 -sOutputFile=page_%03d.png working.pdf

This converts each page to a 300 DPI PNG. Text becomes pixels—no longer searchable or selectable.

3. Redact the images:

Open each PNG in Paint, Paint.NET, or GIMP. Use the rectangle tool with a solid fill (not a shape layer) to cover sensitive areas. Save and overwrite.

4. Reassemble into PDF:

gswin64c -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=redacted.pdf page_*.png

5. Strip metadata:

qpdf --linearize --remove-unreferenced-resources=yes redacted.pdf final.pdf

For aggressive metadata removal, also run:

qpdf --empty --pages redacted.pdf -- --linearize final_clean.pdf

This rebuilds the PDF from scratch, dropping orphaned objects.

When to use this method

Use qpdf + Ghostscript when the document contains highly sensitive data (SSNs, financial records, legal discovery), when you need to redact many pages, or when you cannot risk any text surviving. The guide on How to Permanently Delete Text From a PDF covers similar principles.

Method 2: LibreOffice Draw (GUI, free, offline)

LibreOffice Draw can open PDFs, edit them as vector documents, and export flattened results. It's less reliable than rasterization but faster for simple redactions.

Installation

Download LibreOffice from libreoffice.org. Install the full suite or just Draw.

Step-by-step workflow

1. Open the PDF in LibreOffice Draw:

File → Open → select your PDF. Each page imports as a separate Draw page with editable objects.

2. Delete sensitive text objects:

Click directly on text blocks to select them. Press Delete. This removes the text from the document structure—not just covers it.

3. Optionally add black rectangles:

If you need visual indication of redaction, use Insert → Basic Shapes → Rectangle. Set fill to solid black, no outline. Position over the now-empty area.

4. Export as PDF with flattening:

File → Export as PDF. In the dialog:

  • Uncheck "Create PDF form"
  • Check "Archive (PDF/A-1a)" for maximum compatibility
  • Click Export

5. Strip metadata separately:

LibreOffice embeds its own metadata. Use qpdf or exiftool afterward:

qpdf --linearize --remove-unreferenced-resources=yes output.pdf final.pdf

Limitations

LibreOffice sometimes misinterprets complex PDF layouts. Fonts may substitute. Scanned documents (image-based PDFs) won't have selectable text objects to delete—you'll need Method 1 instead.

Method 3: PDF-XChange Editor (GUI, freemium, offline)

PDF-XChange Editor's free tier includes genuine redaction tools, not just annotation. It's the closest experience to Acrobat Pro without paying.

Installation

Download from tracker-software.com. The free version watermarks some advanced features but not basic redaction.

Step-by-step workflow

1. Open your PDF and access redaction tools:

Go to Protect → Redaction → Mark for Redaction.

2. Select content to redact:

Click and drag to mark areas. The tool highlights them in red. You can also use "Search and Redact" to find all instances of a term (useful for SSNs or names).

3. Apply redactions:

Click "Apply Redactions" in the toolbar. Confirm the warning dialog. This permanently removes the underlying text—not reversible.

4. Remove metadata:

File → Document Properties → Description. Clear all fields. Then File → Document Properties → Custom. Delete any custom properties.

5. Save with sanitization:

File → Save As. In the dialog, click "Options" and enable "Remove unreferenced data" if available.

Verification

PDF-XChange includes a "Content" panel (View → Panes → Content) that shows the actual PDF structure. After redaction, the original text objects should be gone, not just covered.

Stripping metadata: the forgotten step

All three methods require explicit metadata removal. PDFs can contain:

  • Author, title, subject, keywords (visible in Properties)
  • Creation and modification timestamps
  • Software identifiers ("Created with Microsoft Word")
  • XMP metadata (embedded XML)
  • Incremental saves (previous versions of the document)

The guide on Remove Hidden Data From a PDF Before Sending It covers this comprehensively. For Windows specifically, exiftool handles XMP:

exiftool -all= -overwrite_original final.pdf

Download exiftool from exiftool.org. It's a single executable, no installation required.

Verify your work

Never trust that redaction worked. Always verify.

Text selection test:

Open the final PDF in any reader. Try to select text in redacted areas. If you can highlight anything, redaction failed.

Search test:

Use Ctrl+F to search for terms you redacted. Any hits mean the text survived.

Hex editor inspection:

Open the PDF in a hex editor (HxD is free for Windows). Search for strings you redacted. PDFs store text in various encodings, so search for partial matches too.

Structure inspection:

In PDF-XChange, use the Content pane. In qpdf:

qpdf --show-object=all final.pdf

Look for text streams containing your redacted content.

Metadata check:

exiftool final.pdf

Review every field. Author, Creator, Producer, and timestamps should be empty or generic.

Key takeaways

  • Black rectangles drawn over text are not redaction. The text remains selectable and searchable underneath.
  • Rasterization (converting to images) is the most reliable method. It destroys text at the pixel level.
  • qpdf + Ghostscript handles everything for free, offline, with no file size limits.
  • LibreOffice Draw can delete text objects directly but struggles with complex layouts.
  • PDF-XChange Editor offers Acrobat-like redaction tools in its free tier.
  • Metadata stripping is mandatory. Use qpdf or exiftool after every redaction.
  • Always verify with text selection, search, and structure inspection before sharing.

For Mac users, the companion guide How to Redact a PDF Offline on a Mac (Securely) covers Preview and command-line alternatives. The principles—rasterization, structure removal, metadata stripping, verification—apply identically across platforms.

Keep reading