How to Redact a PDF Properly (and Why Black Boxes Fail)
Drawing a black box over text leaves the words in the file. Three ways to redact a PDF so the content is really gone, and five checks to run before it leaves your hands.

To redact a PDF properly, the hidden content has to be removed from the file, not covered up. There are three ways to do that: delete it in the source document and make a fresh PDF, use a redaction tool that deletes whatever is under the mark, or turn the page into an image so there is no text left to recover. Then check the result before it leaves your hands: copy and paste, search, and clear the file's metadata.
The rest of this guide explains why the obvious method fails, how each of the three working methods behaves, and a short checklist you can run on any redacted PDF, whichever tool you use.
Why black boxes fail
A PDF page is usually two things stacked together: what you see, and a text layer that makes the words selectable and searchable. Drawing a black rectangle with a highlighter, a shape tool or an annotation only adds something on top. The words underneath are still in the file.
That is exactly what happened in January 2019, when lawyers for Paul Manafort filed a response in federal court with passages covered by black bars. Reporters selected the "redacted" text, pasted it into a new document, and read it. The filing was corrected afterwards, but by then the contents were in the news.
Two other traps catch people who are being careful:
- Scanned PDFs often have an invisible text layer. Many scanners and phone apps run OCR and hide the recognised text behind the page image. Painting over the image leaves that hidden text intact.
- Annotations can be moved or deleted. A box added as a comment or shape can be dragged aside by anyone with a PDF editor.
Three methods that actually work
1. Remove it at the source
If you have the Word document, spreadsheet or EHR export the PDF came from, delete the sensitive content there and make a new PDF. This is the most reliable method because the information never reaches the PDF at all.
Before you export, accept or reject any tracked changes and delete comments: they travel with the document and can survive into the PDF. Then clear the document's properties (author, company, title), which may name people you just removed from the text.
2. A redaction tool that deletes content
Real redaction tools treat a mark as an instruction to delete. The Redact tool in Adobe Acrobat Pro, for example, removes the marked text and images when you apply the redactions, and its sanitize option strips hidden information such as metadata. The difference from a drawn box is that, after applying, there is nothing under the mark to copy.
3. Flatten the page to an image
Once a page is pixels, there is no text layer to copy, search or extract. Painting over the sensitive part of the image and saving it removes it for good. The trade-off: the page is no longer selectable or searchable, and the file gets larger. This is how 1FileTool redacts, described below.
Check it before it leaves
Run these five checks on every redacted PDF, whatever tool produced it:
- Copy and paste. Select all on each redacted page, copy, and paste into a plain-text editor. Nothing you redacted should appear.
- Search. Use Find (Ctrl+F or Cmd+F) for a name, number or phrase you removed.
- Look at the properties. File › Properties (or Document Properties) shows the title, author and subject. A PDF whose title is the patient's or client's name is not redacted.
- Look for the extras. Comments, bookmarks, attachments and form fields can all carry text that never appears on the page.
- Zoom in on the edges. At high zoom, make sure every character is fully covered, including descenders and the first and last letters.
What has to come out
What counts as sensitive depends on why you are redacting:
- US federal court filings. Federal Rule of Civil Procedure 5.2 limits filings to the last four digits of a Social Security, taxpayer-identification or financial-account number, the year of an individual's birth, and a minor's initials. Many state courts have similar rules.
- Medical records shared for research or teaching. HIPAA's Safe Harbor method lists 18 identifiers that must be removed for data to count as de-identified, including names, geographic units smaller than a state, all dates except the year, phone and fax numbers, email addresses, SSNs, medical record and health-plan numbers, account and licence numbers, device identifiers, URLs, IP addresses, biometric identifiers and full-face photos.
- Financial and tax documents. Social Security numbers, account and card numbers, and anything else you would not want on a stranger's desk.
Doing it offline with 1FileTool
1FileTool is a desktop app that does the PDF side of this on your own computer, with no upload. Here is exactly what it covers and what it does not.

- Detect PII (free) scans a PDF's text and lists every email address, phone number, US Social Security number written as ###-##-####, card number, IBAN and IP address, with the page it is on.
- Auto-Redact PII (Pro) paints over every match and re-renders those pages as 200 DPI images. The text on those pages is destroyed, not hidden. Pages without a match are left as they were.
- Verify Redaction (free) re-scans the output and reports any extractable text or identifiers still in the file.
- PDF Metadata Remover clears the title, author, subject, keywords, creator and producer fields and resets the dates.
What it does not do yet, so you can plan around it:
- It does not detect names, dates of birth, street addresses or record numbers, and there is no tool yet for drawing your own redaction area. For those, use method 1 and remove them at the source.
- The redaction boxes are placed from the text layout, so open the redacted pages and run the zoom check above.
- "Replace source" is on by default, so the redacted file overwrites the original. Turn it off in Settings, or work on a copy, if you need to keep the unredacted version.
The step-by-step version, with a sample file, is in the tutorial Find and truly remove personal data from a PDF.
Why not use an online redaction tool?
Online tools work by receiving your file on their servers. For a lease or a recipe that is fine. For medical records, privileged client documents or tax returns, the upload itself is the disclosure you were trying to prevent, however quickly the service deletes the file. We looked at what two popular services actually do with uploads in Are online PDF tools safe for confidential files?.
If you handle these files every day, the pages for lawyers and doctors walk through full workflows.
FAQ
Can you unredact a PDF?
You can recover anything that was only covered: drawn boxes, highlights and annotations sit on top of text that is still in the file. You cannot recover content that was properly removed, because it is no longer there.
Does printing to PDF remove redactions safely?
Printing to PDF often flattens annotations, but it can keep the text layer, and it does not reliably remove hidden OCR text in scans. Treat it as unverified and run the copy-and-paste and search checks on the result.
Is it safe to redact a PDF in the browser?
Only if the tool processes the file in your browser rather than uploading it. A quick test: switch off Wi-Fi and try again. If it still works, the file is not being sent anywhere for that step.
How do I redact a scanned PDF?
A scan is an image, so painting over it works, but check for a hidden OCR text layer first: if you can select words on the scan, there is one. Flattening the redacted pages to images, or rescanning from a redacted paper copy, removes it.