Redaction failures appear in the news every year. A government PDF, a corporate filing, a court exhibit — all leaked because someone drew a rectangle instead of removing content. Real redaction is irreversible by design, and it requires more than just covering pixels.
Black Box vs True Redaction
| Approach | What it does | Reversible? | Verdict |
|---|---|---|---|
| Drawn rectangle / annotation | Overlays a shape on the page | Yes — delete the annotation | Unsafe |
| Highlighted with black | Adds an annotation only | Yes — copy text from underneath | Unsafe |
| Hidden layer (OCG) | Marks content non-visible | Yes — toggle layer visibility | Unsafe |
| True redaction | Removes content from the stream | No | Safe (combine with sanitize) |
| Rasterize page | Replaces page with a flat image | Visible sensitive pixels remain readable and may be OCRed | Not redaction by itself |
A Safe Redaction Workflow
- OCR first. Run OCR on scanned pages so the redaction tool can see and target the hidden text layer.
- Mark redactions. Use a redaction-aware tool to select text, regions, or by pattern (SSN, email, phone).
- Apply redactions. This step physically removes the content. Once applied, it cannot be undone.
- Sanitize the document. Strip metadata, embedded scripts, hidden layers, comments, form data, and obsolete object versions.
- Save a fresh, sanitized output. Confirm that the application performs a full rewrite rather than an incremental update; a Save As label alone is not proof.
- Verify. Open the saved file, search for known redacted strings, inspect properties, and check that nothing comes back.
Metadata: The Quiet Leak
Even after every visible word is gone, metadata often still leaks. The XMP stream may contain the original title, author, or even a description that summarizes the redacted text. Bookmarks and document outlines may reference the old text. Other occurrences of sensitive text can remain in attachments or hidden OCR text; font glyph availability alone does not reveal the original wording. Form fields keep default values. Comments preserve discussion threads. Every serious sanitize pass scrubs these.
When to Rasterize Instead
Rasterization alone is not redaction: sensitive pixels remain visible and can be read or OCRed. An image-based workflow must permanently replace every sensitive region with solid pixels, then create a fresh PDF containing only the processed images, without source pages, OCR layers or attachments. Inspect every output page and its metadata. This loses searchable text and accessibility structure.
A Safe Redaction Workflow
For anything legally or commercially sensitive, follow this order — a missed step can leave sensitive information in the output:
- Never use a black rectangle or highlighter as redaction. The text under a drawn box is still selectable and copyable — this is a known failure mode.
- Use a true redaction tool that removes the underlying content from the content stream, not just covers it.
- Sanitize metadata afterward — XMP title/author, bookmarks, comments, form defaults, link targets, and OCR text layers can all still spell out what you removed.
- Export a fresh, sanitized PDF (verify that it is not an incremental save), so earlier revisions aren't recoverable from the file history.
- Verify on the output: try to select and copy where the redaction was, search for a known sensitive word, and check Document Properties. Also inspect images, other occurrences, OCR text, attachments and metadata; search alone cannot prove removal.
Mark Documents Before Sharing
Apply a "CONFIDENTIAL" watermark on top of sensitive PDFs entirely in-browser.
Watermark PDF →