Published August 12, 2026 · 9 min read

In 2019, a Florida law firm filed a court document with "redacted" information covered by black rectangles. A journalist copied the text from the PDF, pasted it into a text editor, and read every "redacted" word. The black boxes were visual overlays — the underlying text was fully intact. This is not a rare mistake. Most people who "redact" a PDF are drawing shapes on top of content, not removing it. The text remains selectable, searchable, and extractable. This guide explains why that happens and how to redact a PDF so the information is genuinely gone.

How PDF text actually works

A PDF is not a flat image. It is a structured document format with multiple layers:

  • Text layer: The actual characters, positioned by coordinates. This is what Ctrl+A selects, what Ctrl+F searches, and what copy-paste extracts.
  • Vector graphics layer: Lines, rectangles, and shapes drawn on top of or beneath the text. A black rectangle lives here.
  • Image layer: Scanned pages or embedded photos. Text in images is not selectable unless OCR has added a hidden text layer.
  • Metadata layer: Author name, creation date, software used, revision history, and sometimes previous versions of the content.

When you draw a black rectangle in a PDF editor, you are adding a shape to the vector graphics layer. The text layer is untouched. The rectangle obscures the text visually, but the characters still exist in the file's internal structure. Anyone can select them, copy them, or extract them with a script.

Why naive redaction fails

Here are the most common "redaction" methods that do not actually remove information:

Method, What it does, Why it fails
MethodWhat it doesWhy it fails
Black highlight / markerApplies a semi-opaque overlayText is fully selectable underneath; often the highlight is semi-transparent
Drawing a rectangle shapePlaces a vector rectangle over the textText layer intact; Ctrl+A still selects the hidden words
White-out in a word processor, then exportHides text visually before PDF exportSome exporters embed the full text in the PDF structure regardless of visual hiding
Changing font color to whiteMakes text invisible against white backgroundText is still present and selectable; changing background color reveals it
Screenshot / print to imageRasterizes the page so text becomes pixelsDestroys text searchability for the whole document; OCR can recover text; metadata may survive

What real redaction does

Permanent redaction is a destructive operation. It does not hide content — it removes it from the file structure. Specifically, proper redaction:

  • Removes the text objects from the content stream at the specified coordinates. The characters no longer exist in the file.
  • Removes underlying images in the redacted region, so no pixel data remains beneath the black box.
  • Draws an opaque black rectangle as a visual indicator that content was removed.
  • Strips metadata that could reveal the original content (author names, keywords, revision history).
  • Flattens the file so no previous document versions remain accessible through incremental updates.

After proper redaction, selecting all text (Ctrl+A) will not select the redacted region. Searching for a redacted word returns zero results. Extracting text programmatically yields nothing from the redacted area. The file size typically decreases because content was removed, not just covered.

Step-by-step: permanent redaction with LoveMyFile

LoveMyFile's PDF redact tool performs true content removal entirely in your browser. The file never uploads to a server, which matters when the document you are redacting is itself confidential.

  1. 1Open the redact tool and drop your PDF. The file loads into your browser's memory. No network request is made — verify this in DevTools → Network if you want confirmation.
  2. 2Navigate to the page containing sensitive content. Use the page thumbnails or page number input to jump directly to the relevant section.
  3. 3Draw redaction regions over the content to remove. Click and drag to create a rectangle over each piece of sensitive information — names, SSNs, account numbers, privileged text.
  4. 4Repeat across all pages. For multi-page documents, work through each page systematically. Do not rely on find-and-replace alone — visually scan each page for contextual information that could identify the redacted party.
  5. 5Apply the redaction. The tool removes the underlying text and image data, places opaque black rectangles, and strips metadata. The operation is irreversible by design.
  6. 6Download the redacted PDF. Save the output file. The original remains unchanged on your disk if you need it for your own records.

How to verify your redaction worked

Never assume redaction succeeded. Verify it:

  • Select-all test: Open the redacted PDF, press Ctrl+A (or Cmd+A on Mac). If text selection highlights the area behind a black box, the text is still there. Properly redacted regions will not select.
  • Search test: Press Ctrl+F and search for a word you know you redacted. Zero results means the text was removed. Any match means it was not.
  • Copy-paste test: Select the area around the black box and paste into a plain text editor. If any characters appear, redaction failed.
  • File size check: Compare the redacted file to the original. A meaningful size reduction (proportional to the amount of content removed) indicates data was actually deleted. If the file is the same size or larger, something is wrong.
  • Metadata inspection: Open File → Properties (in Acrobat or a metadata viewer). Check for author names, keywords, or revision history that reference the original content.

The metadata problem

Redacting visible text is only half the job. PDF metadata can expose the very information you are trying to protect:

  • Author field: May contain the name of the person who created the document, revealing who was involved.
  • Keywords / subject: Some applications embed document summaries that reference sensitive content.
  • Incremental updates: PDFs can store previous versions of the content. An "edited" PDF may contain the original unredacted text in an earlier revision layer.
  • Embedded attachments: Some PDFs contain attached files (like the original Word document) that still hold all the unredacted text.

LoveMyFile's redaction process addresses metadata by producing a clean output file without carrying forward the original document's metadata baggage.

Batch redaction for multi-page documents

Legal productions, medical records, and financial disclosures often span dozens or hundreds of pages. Redacting them one region at a time is impractical. A systematic approach:

  1. 1Identify patterns. If the same SSN, name, or account number appears on every page, you know what to look for. Use Ctrl+F to locate all instances first.
  2. 2Work page by page in a single session. The redact tool maintains your session across pages. Mark all regions on page 1, move to page 2, and continue. Apply all redactions at the end.
  3. 3Use consistent region sizes. If you are redacting the same field in the same position on every page (like a header), keep your rectangle dimensions consistent for a clean production.
  4. 4Verify a sample. After applying, spot-check 3–5 pages using the verification tests above. For a 200-page document, checking every page is ideal but a systematic sample catches most failures.

Common mistakes that undo good redaction

  • Redacting the body but not the header/footer. Case numbers, party names, and attorney information often appear in page headers. Check every region of the page.
  • Forgetting hyperlinks. A URL in the text may contain a name or identifier. Redacting the visible text but leaving the hyperlink target intact leaks the information.
  • Using the highlight tool instead of the redact tool. In Adobe Acrobat, the highlighter and the "Mark for Redaction" tool are different. Only the latter removes content. The former is a visual annotation.
  • Saving over the original. Keep the unredacted original in a secure location. You may need it for your own records, and you cannot undo redaction once applied.

When redaction is not enough

In some situations, redaction alone does not solve the problem. If a document's very existence is sensitive (for example, the fact that a particular communication occurred), redacting the content but producing the document still reveals that the communication took place. In those cases, consult with the requesting party or the court about whether the document should be withheld entirely and logged on a privilege log rather than produced in redacted form.

The privacy advantage of local redaction

There is an irony in using a cloud-based redaction tool: you upload the unredacted document — containing all the sensitive information — to a third-party server in order to remove that sensitive information. The server now holds a copy of the very data you are trying to protect. If the redaction is for a legal production, a regulatory submission, or a confidential business transaction, that upload is a self-defeating step.

LoveMyFile's redact tool processes everything in your browser. The unredacted file never leaves your machine. The redacted output is generated locally and downloaded directly. No server, no upload, no third-party copy of your sensitive document.

Disclaimer: This article explains technical redaction methods and does not constitute legal advice. Redaction requirements vary by jurisdiction, court rules, and regulatory context. Consult a qualified attorney for guidance on your specific production obligations.