Can a redaction be removed from a PDF?
Sometimes, and that is the problem. A black box that was only drawn over the text comes off in seconds. A redaction that deleted the text can't be removed by anyone, because there is nothing left underneath. Here is how to tell which kind you have, and how to fix the weak kind before you send the file.
The short answer
| How the text was hidden | Can it be removed? | What is still in the file |
|---|---|---|
| A black rectangle, shape or drawing placed on top | Yes | All of the original text |
| A black highlighter, a black text background, or text recolored to white | Yes | All of the original text |
| Redaction areas that were marked in an editor but never applied | Yes | All of the original text |
| A box drawn over a scanned page | Yes, the box can be lifted off | The picture of the words, and any hidden text layer added by OCR |
| A real redaction: the text was deleted, then a box drawn | No | Nothing |
| A page printed and rescanned, or saved as an image, with the box already on it | No | Nothing |
Three checks: is the text still under the box?
Run these on your own file before you share it. None of them needs special software.
- Copy and paste. Open the PDF in any viewer, press Ctrl+A to select the whole page, copy, and paste into a text editor. If the hidden words show up in the pasted text, they were only covered.
- Search. Press Ctrl+F and search for a word or number you know is behind the box. A match that lands on the black box means the text is still there.
- Open it in an editor. Open the file in PdfMonster and use Find on the hidden word, or tick the kinds of personal data to look for. Anything listed under a black box is still in the file. Nothing is uploaded when you do this.
For a scan, the first two checks find nothing either way, because a scan has no text. Zoom in instead and ask how the file was made: if someone drew boxes onto a scanned PDF in an editor, the picture under each box is intact.
Why a redaction covers the text but doesn't remove it
A PDF page is a stack of separate objects: pieces of text, images and shapes. Drawing a box adds one more object on top of the stack. It doesn't touch what is below. That is why these common methods fail:
- A shape or pen tool was used instead of a redaction tool. Rectangles, lines and freehand strokes are drawings. They hide; they don't delete.
- The text was highlighted in black in a word processor and then exported to PDF. The export keeps both the characters and the black background.
- Redactions were marked but not applied. Some editors make redaction a two-step job: mark the areas, then apply them. A file saved between the two steps contains only marks.
- The PDF was “printed to PDF” to lock the boxes in. Many print drivers keep the text as text, boxes and all.
- The scan has an OCR layer. Scanning software often adds invisible, searchable text behind the picture. A box over the picture leaves that layer searchable.
How to fix a redaction that only covers the text
The good news about a weak redaction is that the text is still there to be deleted properly. You can repair the badly redacted file itself; you don't need the original.
- Open the PDF on the Redact PDF page.
- Use Find to list the text hiding under the boxes: type the name or number, or tick phone numbers, emails, card numbers and account-like numbers. Press Redact N selected.
- For anything Find doesn't list, pick Redact (X) and drag over the old black box. Text under your new box is deleted even though the old box is in the way.
- Press Download. The message tells you how many text objects were removed from the PDF.
- Run the three checks above on the downloaded file. Copying and searching should now turn up nothing.
Two cases need one more step. If the page is a scan, deleting text isn't enough because the words are part of the picture. And some PDFs keep text inside grouped “form” objects that can't be taken apart; PdfMonster warns you when one lies under a redaction and its text could not be removed. In both cases, or whenever the checks still find text, flatten the page to an image after redacting, as described under redacting a scanned PDF.
When the text was really removed
If the three checks find nothing and the page isn't a layered scan, the redaction is real and no tool can reverse it, whatever it promises. The characters are no longer in the file. The only way back is the original document, so:
- if you made the redaction yourself, go back to the copy you kept before redacting;
- if someone sent you the file, ask the sender for an unredacted version. They chose what to hide, and it's theirs to release.
Removing a redaction you added by mistake
In PdfMonster, a redaction is only a mark until you download. Press Ctrl+Z to undo the last one, or select the mark and press Delete. After you download, the text is gone from that file, which is why it's worth keeping the original untouched and redacting a copy.
If you receive a badly redacted document
Finding that the text under someone else's black boxes can be copied doesn't make that information yours to use. It was meant to stay private, and in legal, medical and business settings there are often rules about what to do next. The safe response is to stop, tell the sender what you noticed, and let them send a corrected file.
Related: How to redact a PDF properly · Checklist before you send a PDF