Security & Privacy

Why Whiting Out Text in a PDF Doesn’t Actually Delete It

Why Whiting Out Text in a PDF Doesn’t Actually Delete It

Placing a white box over a bank account number, or editing a line so the old wording disappears, looks like removing information. On screen and on paper, it is gone. Inside the file, it usually isn't: the original text is still there, sitting underneath whatever covers it. This is one of the most common — and most consequential — misunderstandings about PDFs.

Why covered text survives

A PDF page is built in layers. When an editor adds a white rectangle or a replacement line of text, it typically adds a new layer on top rather than rewriting the content underneath. The original characters remain in the file's content stream, so anyone who selects and copies the area, opens the file in a different program, or extracts the text can often recover exactly what was covered.

This applies to our own editor too

We want to be direct about this. In Edit PDF, the whiteout tool and the edit-text tool both work by covering the original with a patch and placing your content on top. That's ideal for correcting a typo or hiding clutter on a document you're about to print, but covered text is hidden, not removed — so don't use either tool to redact something sensitive.

How to check whether text is really gone

  1. Open the edited PDF and try to select text across the covered area.
  2. Copy it and paste it into a plain text editor.
  3. If the original words appear, they're still in the file.

How to genuinely remove sensitive text

The reliable way to make covered text unrecoverable is to flatten the page into an image after covering it, so there's no text layer left underneath:

  1. Cover the sensitive area (for example with the whiteout tool in Edit PDF).
  2. Convert the pages to images with PDF to Image.
  3. Combine the images back into a PDF with Image to PDF.
  4. Repeat the copy-and-paste check above to confirm nothing remains.

The trade-off is that the whole page becomes an image: you can no longer select or search any of its text, and the file may get larger. For a document leaving your hands with something sensitive in it, that trade-off is usually worth it.

Other places hidden information hides

Covered text isn't the only leak. PDFs can also carry metadata such as the author's name, previous titles, comments and earlier revisions. Our guide on what metadata actually lives inside a PDF file covers what to look for before sending something externally.

When a professional redaction tool is the right answer

For legal, medical or regulated documents, use a dedicated redaction feature that is built to remove content and is documented as doing so, and follow your organisation's process. The flatten-to-image method above is a practical safeguard for everyday documents, not a substitute for a formal redaction workflow where one is required.

Why this mistake is so easy to make

Visually, covering text and deleting text produce an identical result on screen — the old wording is gone from view either way. There's no visual cue that one leaves the original underneath and the other doesn't, which is exactly why this misunderstanding persists even among people who are otherwise careful with sensitive documents.

A habit worth building for anything leaving your hands

Before sending any document where you've covered something sensitive, make the copy-and-paste check part of your routine, the same way you'd proofread the visible text. It takes under a minute and catches a mistake that could otherwise go unnoticed until it's too late to matter.

Why this risk is easy to underestimate

A document that looks completely clean to anyone viewing it normally can still carry the original text just one copy-and-paste away, which is exactly why this risk is so easy to underestimate — there's genuinely nothing visually wrong with the file to prompt a second look.

Why this is worth explaining to colleagues too

If you work with others who regularly send documents externally, sharing this specific risk is worth a brief mention, since it's the kind of mistake that's genuinely easy for anyone to make without realising, regardless of how careful they otherwise are.

Frequently asked questions

Does a white box over text delete it from the PDF?

Usually not. The original text normally remains in the file underneath the box.

Does Edit PDF's whiteout or edit-text tool remove the original?

No. Both cover the original; it's hidden, not removed. Don't use them for redaction.

How can I check whether covered text is still there?

Select across the covered area, copy, and paste into a plain text editor.

How do I make covered text unrecoverable?

Flatten the pages to images with PDF to Image, then rebuild the PDF with Image to PDF, and re-check.

What's the downside of flattening?

The text is no longer selectable or searchable, and the file may grow.

Is this enough for legal or medical documents?

Use a dedicated redaction tool and your organisation's process for regulated documents.

Are these tools free?

Yes, with no sign-up required.

Related guides

← Back to all posts

Keep reading