A real redaction removes the words from the file. A black box only hides them from your eyes, and anyone can get them back by selecting the area and pasting it. The two look identical on screen, so the only way to know which you have is to test the file. Here is what we measured, and three checks you can do yourself.
What we measured
We made an invented two-page bank statement with the account number ACCT 4417-9081-7263 on page 1, then hid it in several ways and tried to get it back with a standard text extraction (pypdf, an independent Python library). The full method and every other result are in our PDF tools test.
| Method | Looks redacted? | Account number extractable? | Page 1 text left | File size |
|---|---|---|---|---|
| No redaction (original) | No | Yes | 977 characters | 34.3KB |
| Black rectangle drawn over the number | Yes | Yes | 977 characters | 34.3KB |
| Black rectangle, then Compress | Yes | Yes (original kept) | 977 characters | 34.3KB |
| Black rectangle, then Flatten | Yes | Yes | 977 characters | 32.8KB |
| PDFWhisk Redact, one box | Yes | No | 0 characters (page is an image) | 242.4KB |
Three of the four "redacted" files gave the number straight back. The drawn rectangle sits in the page's drawing instructions on top of the text, but the text itself is still in the file, in order, ready to copy. Compressing did not help because a typed statement is smaller than any picture of it, so the compressor returned the original untouched. Flattening did not help because it only converts form fields.
The Redact tool's copy was different in kind. Page 1 was replaced with a picture of the page with the box painted in: no text layer at all, and the pixels under the box measured 0 out of 255 for brightness, which is solid black with nothing faint underneath. Page 2, which had no box, was copied exactly and kept all 903 characters of searchable text.
Why a black box fails
A PDF page is a list of drawing instructions: put these letters here in this font, draw this rectangle there. A shape tool, a highlighter set to black, or a black text box simply adds one more instruction at the end. Viewers draw it last, so it covers the number on screen and on paper. Nothing removes the earlier instruction that writes the number, so copy and paste, search, screen readers and text extraction tools all still read it.
The Information Commissioner's Office treats this as a cause of accidental data breaches. Its redaction guidance warns that the information remains in the electronic file if it is only covered by a shape, and suggests converting the document to a simple image format and back to PDF as one way to remove what lies underneath. That conversion is what PDFWhisk's Redact tool does, for the pages you mark.
There is a subtler problem with tools that delete only the words under the box and leave the rest of the line as text. Researchers showed that the exact positions of the surrounding characters can give away the length and even the identity of a redacted name (Bland, Iyer and Levchenko, 2022). When the whole page becomes an image, there are no character positions left to analyse.
Three checks for any redacted PDF
1. Select and paste
Open the redacted copy, press Ctrl+A (Cmd+A on a Mac) on the page, copy, and paste into a plain text editor such as Notepad or TextEdit. If the hidden words appear, the redaction failed. On a page that PDFWhisk redacted, nothing can be selected at all, because the page is an image. On a phone, long-press the text near the box: if a selection handle appears and runs under the black area, assume the words are there.
2. Search for the hidden words
Use the viewer's Find (Ctrl+F or Cmd+F) to search for part of what you hid, such as the last four digits of an account number. A match in the black area means the text is still in the file. This is the quickest check when you have a long document with many boxes.
3. Check the details that aren't on the page
Open the file's properties (File > Properties in most desktop viewers, or the info button on a phone) and look at the title, author and subject. A document title often contains a name or case reference. PDFWhisk's Redact clears the title, author, subject and keywords on the copy it makes. Bookmarks, comments and attachments can also carry text. Redact builds a new file without the original's bookmarks or attachments; pages without a box are copied as they are, including any comments on them, so remove comments you don't want to share.
How to redact properly with PDFWhisk
- Open Redact PDF and choose your file. It is processed on your device; nothing is uploaded.
- Drag a box over each thing to hide, page by page. Cover the whole line height, including descenders (the tails on g, p and y).
- Press Redact and download. Each page with a box becomes an image; pages without a box are copied unchanged.
- Run the three checks above on the copy, then send the copy, never the original.
Expect redacted pages to be larger and not searchable: in our test one redacted page took a 34.3KB statement to 242.4KB. If that is too big for an upload form, run the redacted copy through Compress PDF; compression can't bring hidden text back, because there is none left on those pages.
More files today? Free covers 2 tasks a day and files up to 50MB. For unlimited tasks and bigger files, Pro passes start at £1.49 for 24 hours. See Pro options → One-off payment, no subscription, and your files still stay on your device.
When a black box is fine
A drawn box is safe only when the file never leaves you as a PDF: you print it and hand over paper, or you share a screenshot or photo of the page rather than the PDF. As soon as the PDF itself is emailed or uploaded, treat any box that wasn't made by a real redaction tool as not there.
Common redaction mistakes
- Using a highlighter or a black text colour. Black-on-black text prints as a solid bar but copies perfectly.
- Redacting a page but forgetting a repeat. Account numbers often appear in a header on every page, or in a summary table at the end. Search for each item before you send.
- Leaving the name in the file name. "Smith-J-statement-redacted.pdf" undoes a good redaction. Rename the copy.
- Trusting a preview. An email preview or thumbnail shows the box; it says nothing about the text underneath. Test the downloaded file.
Sources
- Information Commissioner's Office, How do we avoid an accidental breach when redacting information? (checked 22 November 2026)
- Bland, Iyer and Levchenko, Story Beyond the Eye: Glyph Positions Break PDF Text Redaction, arXiv 2206.02285 (checked 22 November 2026)
- PDFWhisk benchmark,
tools/bench/results-2026-11-22.json(run 22 November 2026)