A white rectangle being placed over a line of PDF text in an online editor, with the original text still present underneath

How to Whiteout or Cover Text in a PDF (and Why It's Not Redaction)

A practical guide to whiting out or covering text in a PDF, when a cover box is the right call, and why it never counts as redaction for sensitive data.

To whiteout text in a PDF, open the file in an online editor, add a rectangle shape over the text you want to hide, set its fill to match the page background (usually white), then resize it to cover the words and download the file. The box hides the text visually. Be aware the original characters can still sit underneath, so this is not redaction and should never be used for sensitive data.

Key takeaways

  • Whiteout is a cover box, not a delete: you lay a filled rectangle over the text so it is hidden from view, but the underlying characters often remain in the file.
  • Match the box color to the background, or the patch will stand out as an obvious gray or off-white block against the page.
  • It is fine for cosmetic hiding like covering a watermark, an old logo, or a stray mark on a flat image, where nothing private is at stake.
  • It is dangerous for sensitive data, because anyone who copies the page text or moves the box can read what you tried to hide.
  • For anything confidential, use real redaction, which removes both the cover and the content underneath so there is nothing left to recover.
  • If the text is editable, deleting it outright is cleaner than covering it, leaving no hidden layer behind.

What "whiting out" text in a PDF really means

Whiting out borrows its name from the correction fluid you brushed over typos on paper. The digital version works the same way: you place an opaque shape, usually a white rectangle, on top of the text so it can no longer be seen. The page looks like the words are gone. They are not gone, they are covered.

This is the single most important thing to understand before you use the technique. A PDF stores its content in layers. When you add a cover box, you add a new object on top of the existing text. The text characters underneath are still part of the page. Your eyes see a blank patch; a computer reading the file's text stream still sees every original word.

That distinction is harmless when you are hiding something cosmetic, and genuinely risky when you are hiding something private. The rest of this guide walks through how to do it cleanly, where it is the right tool, and the exact moment you should stop and reach for redaction instead.

How do I white out text in a PDF?

Here is the direct path using an online editor. You upload the file, drop a rectangle over the text, color it to match the page, and download.

  1. Open your PDF in the editor. Go to the PDF editor and upload your file. It opens in the browser with every page ready to edit.
  2. Find the text you want to hide. Scroll to the word, line, or block you want covered.
  3. Add a rectangle shape. Choose the shape or rectangle tool and draw a box over the text. It does not need to be perfect yet.
  4. Set the fill color. Change the rectangle's fill to white, or to whatever color the page background actually is. Turn off any border or outline so the box has no visible edge.
  5. Resize to cover the text completely. Drag the handles so the box fully overlaps every character, with a small margin so no stray pixels of the original letters peek out.
  6. Check it against the background. Zoom in. The patch should blend in so a reader cannot tell anything was covered.
  7. Save and download. Export the file. The cover box is now baked into the document and travels with it.

That is the whole task for a cosmetic cover. The harder questions are matching a non-white background, and knowing when this approach is not safe enough for what you are hiding.

The catch: the text is still there underneath

This is the part nobody warns you about until it is too late, so it is worth being blunt.

A white box does not remove anything. It paints over the text the way a sticker covers a label on a box; lift the sticker and the label is still there. With a PDF, there are several easy ways to "lift the sticker":

  • Copy and paste the page text. Select the area and paste it into a document. The hidden words come straight through, because the characters were never deleted.
  • Use Ctrl+F (Cmd+F on Mac) to search. Search for a word you covered. If it is still in the file, the search finds it under your box.
  • Open the file in another editor and move or delete the box. The shape is just another object; remove it and the original text is fully visible again.
  • Extract text programmatically. Anyone with basic tools can pull the raw text stream, which ignores cover boxes entirely.

So a whiteout is a visual disguise, not a deletion. For a watermark, a decorative element, or a typo on a scanned image, that is perfectly fine, because there is nothing to recover that matters. For a name, an account number, a salary, or a medical detail, it is a false sense of security that has caused real data leaks when documents were shared assuming the covered text was gone.

When whiting out is actually the right tool

Despite the warning, covering text has legitimate uses. It shines in exactly the cases where the text is not real, selectable text and where nothing sensitive is involved.

The classic example is a scanned page or a flattened graphic. If your PDF is an image of a document, there are no characters to delete, so you cannot edit or remove the text the normal way. Covering an unwanted mark, a faint watermark, or an old stamp with a matching box is the fastest fix, and since the "text" is just pixels in a picture, there is no hidden character stream to leak. The cover genuinely is the end of the story.

It is also handy for quick layout cleanup: hiding a page number that no longer fits, blanking an outdated logo on a flat banner, or masking a coffee-stain artifact on a scan. In all of these, you are hiding visuals, not secrets.

The rule of thumb is simple. Ask: "If someone recovered what is under this box, would I care?" If the answer is no, whiteout is a fine, fast choice. If the answer is yes, stop and use redaction. For editing genuine text rather than hiding it, deleting the word or line outright is cleaner still, since it leaves no covered layer behind at all.

Matching the box to a colored or textured background

A white box on a white page is invisible. A white box on a cream, gray, or patterned background is a glaring rectangle that announces "something was hidden here." Getting the color right is most of the craft.

  1. Identify the real background color. Zoom in on the area next to the text. Many "white" documents are actually a faint off-white or cream, especially scans.
  2. Sample or match the color. Set the rectangle fill to that exact shade rather than pure white. Even a small mismatch is obvious against a large blank margin.
  3. Remove the border. A box with an outline is a dead giveaway. Set the border to none so only the fill shows.
  4. Mind textures and gradients. If the background has a pattern, a faint texture, or a color gradient, a flat box cannot blend in perfectly. In that case, cropping or editing the image is a better route than a cover box.

For anything with a busy background, accept that a cover box may always look slightly patched, and weigh whether covering is worth that visible seam. Sometimes removing the underlying object or re-exporting the graphic is the cleaner answer.

Whiteout vs. delete vs. redact: choosing correctly

People reach for "whiteout" when they often mean one of three different actions. Picking the wrong one either looks messy or, worse, leaves private data exposed. This table is the heart of the decision.

ActionWhat it doesText really gone?Best for
Whiteout / coverLays a filled box over the textNo, still underneathCosmetic hiding on scans, watermarks, flat graphics
DeleteRemoves the characters from the page contentYesEditing real, selectable text; typos, stale lines
RedactRemoves the visible mark and the content beneathYes, securelyAny sensitive or confidential data before sharing

Whiteout is the right call only when the thing underneath does not matter. It is fast, forgiving, and works even on image-based pages where nothing else can.

Delete is the right call when the text is genuine, editable text and you want it truly gone with no hidden layer. There is no box to mismatch and nothing to recover.

Redact is the serious option for confidential text. Proper redaction strips both the mark and the characters under it, so a copy-paste or text extraction returns nothing. If you are hiding an ID number, a home address, or financials, do not trust a white box; walk through how to permanently redact sensitive information in a PDF and verify the result by trying to select or search for the value afterward.

Platform variations

You can place a cover box on almost any device, but what each tool can and cannot do varies. Here is the honest summary.

PlatformHowHides text?Removes underlying text?
Online editor (any device)Add rectangle, fill to match, downloadYesNo (use a redaction tool for that)
Adobe Acrobat Pro (paid)Edit tools cover; Redact tool removesYesOnly with the dedicated Redact feature
Mac PreviewMarkup, draw a filled rectangleYesNo, the text stays underneath
Microsoft Word (if PDF opens editable)Insert a shape over the textYesNo, and conversion may shift layout
Mobile (built-in viewers)Annotation, add a shapeYesNo, cover only

The pattern is clear: nearly every tool can cover text, but only a true redaction feature actually removes what is underneath. Free, built-in viewers give you a cover box at best, which is fine for cosmetic hiding and unsafe for secrets. A browser-based editor behaves the same across Windows, Mac, iPhone, and Android, so the steps do not change when you switch devices.

Making the cover permanent (and flattening it)

Adding a box and seeing the text vanish on screen is only part of the job. The cover has to be saved into the file, and ideally flattened, so it does not move or come off later.

In a dedicated editor, the rectangle becomes part of the page when you export, so a normal download locks it in. Two points are worth remembering. First, finish the export step; if you close the tab without downloading, your cover is not saved. Second, even after saving, a cover box remains a separate object that another editor can select and move, which is exactly why it does not count as redaction. Flattening the page merges the box into the page image so it is harder to nudge, but flattening still does not delete the text characters in the underlying stream, so it is not a security measure either.

A short, accurate note on privacy, since you are uploading a file. An online editor processes your document on a server to make the edit, and files are not kept long-term. That is normal for browser-based editing. It is also a reason to use proper redaction rather than a cover box for anything you would not want recovered, regardless of where the editing happens.

A worked example

Say you have a scanned one-page flyer with an old "SPECIAL OFFER" badge in the corner that no longer applies, plus a faint watermark across the middle. Both are part of the scanned image, so there is no text to delete. You open the file in the PDF editor, draw a rectangle over the badge, and set its fill to the same cream shade as the paper with the border turned off, so the corner looks clean. You do the same over the watermark, zooming in to confirm no edges of the original show through. Because the whole page is an image, there is no hidden text stream to worry about, so covering is genuinely the end of it. You download the file and the flyer looks untouched. If that badge had instead been a customer's account number on a real-text document, you would have stopped and used redaction instead.

FAQ

How do I white out text in a PDF?

Open the PDF in an online editor, choose the rectangle or shape tool, and draw a box over the text you want to hide. Set the box fill to white, or to the exact background color of the page, and turn off its border. Resize it so it fully covers every character, then save and download. Remember the original text often remains underneath, so use this only for cosmetic hiding, never for sensitive information.

Is whiting out text the same as redacting it?

No, and the difference is critical for private files. Whiting out lays a box over the text but leaves the actual characters in the document, so anyone can copy, search, or move the box to recover them. Redaction removes both the visible mark and the content beneath it, so nothing is left to recover. Use a cover box for cosmetic hiding only, and proper redaction for any confidential data like ID numbers, salaries, or addresses.

Can someone still read text I covered with a white box?

Often yes. If the covered text was real, selectable text, the characters stay in the file underneath the box. Someone can select and copy the area, search for a word with Ctrl+F, or open the file in another editor and simply move or delete the box to reveal it. Text extraction tools ignore cover boxes entirely. For anything that would matter if recovered, use redaction instead of a white box.

When is whiting out actually safe to use?

Whiteout is safe when nothing private is at stake and the text is part of an image. Covering a watermark, an old logo, a stray mark, or a page number on a scanned or flattened page is fine, because there is no hidden character stream to leak; the "text" is just pixels. Ask yourself whether you would care if someone recovered what is under the box. If not, covering is a quick, valid choice.

My background isn't pure white. How do I match it?

Zoom in on the area beside the text and look at the true background color, which is often a faint cream or gray rather than pure white, especially on scans. Set your rectangle's fill to that exact shade instead of white, and remove the border so no outline shows. If the background has a texture or gradient, a flat box will never blend perfectly; in that case editing or re-cropping the image is a cleaner fix than a cover box.

Usama Ramzan
Written byUsama RamzanFounder, Online PDF Edits

Usama Ramzan is the founder of Online PDF Edits, a browser-based PDF editor built to change text, images, and tables in existing PDFs without breaking their fonts, spacing, or multi-page layout. He writes about practical PDF editing, document workflows, and the engineering behind layout-safe editing.

Recommended reading

View all articles →