Control over AI
Blog
AI DLP 7 min read

Why a black box over text is not redaction

A PDF is made of layers. A black rectangle goes on the drawing layer; the text stays in the text layer. Select, copy, paste, and it is back.

Document with blacked-out passages on screen
Quick answer

A PDF has a text layer and a drawing layer. Draw a black rectangle in a PDF reader and it lands on the drawing layer. The text underneath stays in the text layer: selectable, copyable, and just as readable to search engines and AI tools. The same holds for a black highlighter in Word and for text behind an image. Real redaction removes the underlying content and then flattens the file. This is not an exotic failure: Paul Manafort's lawyers made exactly this mistake in a 2019 court filing, and journalists read the hidden text within hours.

01

A PDF has separate layers: drawing over text does not remove the text

02

Select and paste retrieves whatever sits under a black box

03

Highlighter in Word and text behind an image stay just as readable

04

AI tools read the text layer, so hidden text travels with the upload

05

Real redaction removes the content and then flattens the file

In January 2019, Paul Manafort's lawyers filed a document with a US federal court. The sensitive passages were blacked out. Within hours journalists had simply read them: the text was still under the black bars and could be selected and pasted.

That was not a careless lawyer or broken software. It was a misunderstanding about how a PDF is built, and that misunderstanding turns up daily among people who are actively trying to be careful.

A PDF is made of layers

A PDF is not a picture of a page. It is a set of instructions: draw this character here, this line there, this image at that position.

Two things sit in it simultaneously:

  • The text layer. Which characters exist, in which font, at which coordinates. This is what you select when you drag your mouse across the page, and it is what search engines and AI tools extract.
  • The drawing layer. Shapes, lines, images, boxes. Everything drawn.

Draw a black rectangle over a name in a PDF reader and you have added something to the drawing layer. Nothing was removed. The name sits exactly where it sat, still selectable.

What you did was make the text invisible to the eye. Not to the machine.

The same mistake in other clothes

The pattern repeats in every tool people actually use:

  • Black highlighter in Word. Highlighting is formatting. The text remains. Strip the formatting or copy it out and the content is back.
  • White text on a white background. Invisible, entirely present.
  • Pasting an image over the text. The image sits above, the text below.
  • Hiding columns in a spreadsheet. Hidden is not gone. One click restores them.
  • A shape over content on a slide. Same story, and it exports to PDF intact.

What these share: the action feels final because the result looks final.

Why this lands harder with AI tools

With a document you email to a colleague, someone has to deliberately select and paste to find the mistake. That rarely happens.

With an AI tool it happens automatically. The tool extracts the text layer in order to summarise or search it. To the extraction process, the black rectangle is a shape to be ignored. The name underneath comes through in full.

And you will not notice, because the answer probably does not mention the name. You asked for a summary, not for names. What you sent is not visible in what you got back. See also what happens when you upload a PDF to a chatbot.

What does work

Three steps, in this order.

Use a real redaction function. PDF editors have a dedicated function that removes the underlying content rather than covering it. Look for "redact", not for the drawing tools.

Flatten the document afterwards. Many editors have a separate step that rebuilds the file without its editing history. Without it, a previous version can sometimes be recovered.

Verify the result. The step everyone skips and the one that decides the outcome. Open the file, select all, copy, paste into an empty text editor. What appears is what the document actually contains. Then search that output for a name or number that should have gone.

Thirty seconds, and it is the only way to know you are not looking at a picture of safety.

There is one more layer no redaction function shows you: the data that is not on the page but is in the file. See what stays in a PDF after you remove the text.

FAQ

Common questions

Why doesn't a black box over text work?

Because a PDF is layered. The rectangle goes on the drawing layer and the text stays in the text layer. Visually nothing shows; technically nothing was removed. Selecting, copying and pasting brings the text straight back.

Is a black highlighter in Word any safer?

No, it is the identical mistake. Highlighting is formatting, not deletion. Strip the formatting or copy the text and the content returns. The same applies to white text on a white background and to text behind an image.

How do you redact a PDF properly?

Use the redaction function of a PDF editor, which actually removes the underlying content, then apply the step that flattens or rebuilds the document. Verify by selecting the text and pasting it into an empty document.

Does this also fail with AI tools?

Yes, and it is less visible there. An AI tool reads the text layer. Upload a document with a black box over a name and the model receives the name underneath, with nothing in the answer to tell you it happened.

How do I check my redaction worked?

Open the file, select all, copy, and paste into an empty text editor. What appears is what the document contains. Then search that output for a name or number that should have been removed.