Whiteout in a PDF Does Not Delete Text: How to Redact Safely
A white or black box over PDF text only hides it; the words can still be copied or searched. Learn how to remove sensitive details properly before sharing.
The short answer
Covering text in a PDF with a white box (or a black box) hides it on screen but does not delete it. The original words are still in the file, so anyone can select, copy or search them. The Whiteout tool in Edit PDF works this way: it draws a white rectangle on top of the page. That is fine for correcting a typo, but not for removing an account number or address before sharing. To remove text for real, flatten the page into an image after covering it: convert the edited PDF with PDF to JPG, then rebuild it with JPG to PDF.
Why a box does not remove the text
A PDF page is built in layers. The text you see is stored as characters with positions, and anything you add later, such as a rectangle, a highlight or a stamp, is drawn on top. When you save, the original characters stay exactly where they were; the new shape simply sits over them.
PDF readers hide the covered words visually, but other tools ignore the box:
- Selecting and copying the area picks up the hidden text.
- Ctrl + F search finds the covered words.
- Screen readers and text extraction read them aloud or export them.
- Converting to Word or text brings them back as normal text.
There have been real cases where confidential details in court filings and official reports were exposed this way. Assume anyone who receives the file can uncover the text.
What the Edit PDF Whiteout tool is good for
The editor has several modes, including Add text, Highlight, Whiteout ("cover and retype") and Add image. Whiteout is designed for visual corrections:
Typed text is saved in the standard Helvetica font. Stick to English letters, numbers and common punctuation: characters such as the rupee sign (₹) or Devanagari script cannot be encoded in that font, and the download will not be created. Write "Rs" instead of ₹.
The edited file looks right when printed or viewed, which is what matters for a filled-in form or a corrected date. The old text is still underneath, so do not use Whiteout alone to hide anything sensitive.
How to redact properly in the browser
This method turns each page into a picture, which leaves no text layer at all.
Step 1: Cover the sensitive parts
Step 2: Turn the pages into images
At this point the covered text no longer exists anywhere: the JPG contains only the pixels you could see, including the white boxes.
Step 3: Rebuild the PDF
Each page now has a page size equal to the image's pixel size, which is about twice the original page dimensions. It still views and prints normally; print with "Fit to page" if needed. The details are explained in why JPG to PDF pages are not A4.
Step 4: Test the result
Before sending the file, try to recover what you removed:
Trade-offs of flattening
Turning pages into images is reliable, but it has costs:
- The PDF is no longer searchable and text cannot be copied, even the parts you did not hide.
- Screen readers cannot read it, which matters for accessibility.
- The file is usually larger than a text-based PDF, because every page is a full image. Compress the JPGs or the final file if a size limit applies.
- Form fields and links stop working.
If you need searchable text in the shared copy, the alternative is a dedicated redaction tool, such as the Redact feature in Adobe Acrobat Pro, which deletes the underlying text and replaces it with a filled box. A box drawn with an ordinary editor, including Microsoft Word's shapes, is not redaction.
Other places information hides
Even a well-redacted page can leak details from elsewhere in the file. Flattening with the steps above removes all of these, because the new PDF is built only from page images:
- Document properties: author name, title and software used.
- Comments and form fields typed into the original.
- Bookmarks and attachments inside the PDF.
- Text hidden off the visible page or in white-on-white.
Common mistakes
- Using a highlight in black. The Highlight mode is semi-transparent, so the text shows through. Use Whiteout.
- Covering only the first occurrence. Account numbers often appear in a header, a footer and a table. Search the original PDF for each item before you start, so you know every page it appears on.
- Sharing the Step 1 file by mistake. The file from Edit PDF ends in
_edited.pdfand still contains the text. Share only the rebuilt PDF. - Redacting a photo instead. If your document is an image, such as an Aadhaar card photo, use the Aadhaar Mask Tool or the method in blacking out personal details in a photo.
All three tools in this workflow run in your browser, so the PDF and its page images are processed on your device rather than uploaded.
Frequently asked questions
Does a white box in a PDF remove the text underneath?
No. The box is drawn on top. The original text stays in the file and can be selected, copied or found with search.
How do I permanently remove text from a PDF for free?
Cover it with Whiteout, convert the PDF to JPG images, then rebuild a PDF from those images. The new PDF has no text layer.
How can I check that redaction worked?
Search the new PDF with Ctrl + F for a covered word and try selecting text. Nothing should be found or highlighted.
What are the downsides of flattening a PDF into images?
The PDF is no longer searchable or accessible to screen readers, links and form fields stop working, and the file is usually larger.
Put this guide into practice with our free online tool — no signup required.
Open tool