Papyrio

June 23, 2026

How to Permanently Redact Text from a PDF

Hiding text with a black box in a PDF editor doesn't always remove it. Here's how to permanently redact sensitive content so it can't be recovered.

The Risk of Fake Redaction

A common mistake: drawing a black rectangle over sensitive text in a PDF editor. The text is visually hidden, but it's still in the file. Anyone can select the text, copy it, search it, or extract it with a script. Multiple government documents have been accidentally released this way — black boxes that look like redactions but aren't.

What Proper Redaction Does

Real redaction removes the content from the file entirely. The text data is deleted — not covered, not obscured, deleted. After proper redaction, selecting the blacked-out area returns nothing. The content is gone from the PDF structure.

How to Redact a PDF Permanently

Upload your PDF to Papyrio's Redact PDF tool. Type the words or phrases to redact. The tool uses PyMuPDF's redaction engine to find every match across all pages and remove the text permanently, replacing it with a solid black box. Download the redacted file.

How the Search Works

The search is case-insensitive — entering 'John Smith' also redacts 'JOHN SMITH' and 'john smith'. All occurrences across every page are redacted in one pass. Add multiple terms at once to process the entire document in a single operation.

After Redacting

Verify the redaction by attempting to select or copy the blacked-out text in a PDF reader. If you can select it, the redaction was visual only — the original was not properly processed. Papyrio's engine permanently removes the content, so selection returns nothing.