Guides / Redact PDF
How to redact a PDF properly, and why black boxes often fail
Redact PDFPermanently black out private details. Free, and your file never leaves your device.Open toolBefore you share a bank statement, salary slip, court document or ID copy, you may need to hide part of it: an account number, an Aadhaar number, a name, a salary figure. The obvious way, drawing a black box over it, often doesn't work. This guide explains why, how to redact properly, and how to check the result yourself.
Why black boxes fail
In most PDFs, the text is stored as real characters. When you draw a black rectangle with a PDF editor, a markup pen or a "highlight" in black, the rectangle is added as a new layer on top. The characters are still underneath. Anyone who receives the file can:
- drag across the black area, copy, and paste the hidden words into WhatsApp or Notepad;
- press Ctrl+F and search for them;
- open the file in an editor and simply move or delete the box.
This happens to professionals too. In January 2019, a court filing by lawyers for Paul Manafort in the United States had black boxes that could be copied out, revealing details the filing was meant to hide. The American Bar Association's Judges' Journal listed it among embarrassing redaction failures that spring. The lesson: a page can look redacted while the words are still in the file.
Other ways that don't work: covering text with a white box, changing the text colour to white, or using the highlight tool in black. All of them leave the text in place.
What proper redaction does
Real redaction removes the information from the file, not just from view. Redact PDF does it like this: you mark what to hide, then each marked page is redrawn as an image with the black boxes burned in, and the original text on that page is left out of the new file. Afterwards, the tool checks the new file to confirm that the text you marked can't be found in it.
Redact a PDF, step by step
- Open Redact PDF and choose your file.
- To find text, type it in Find text (separate several items with commas, like Ramesh Kumar, 50100123456789), or tick presets: Email addresses, Phone numbers, Card numbers, PAN numbers and Aadhaar numbers. Click Find and mark.
- Go through the pages with the arrows. Every match has a box. Tap ✕ on a box that shouldn't be there.
- Draw extra boxes by dragging on the page: over photos, signatures, QR codes, or anything search didn't find. Turn Draw off when you want to scroll with your finger on a phone.
- Choose the Quality of redacted pages: Good (150 dpi), High (200 dpi, the default) or Print (300 dpi).
- Click Redact and download. A message confirms how many pages were redacted and whether the check passed.
Because it runs in your browser, the unredacted document, the very thing you're trying to protect, never goes to a server.
What gets found automatically
| Preset | Finds | Watch out for |
|---|---|---|
| Email addresses | name@example.com style text | Emails split across two lines |
| Phone numbers | 10 to 13 digit numbers, with or without +91, spaces or dashes | Landlines written with brackets in unusual ways |
| Card numbers | 13 to 19 digit numbers that pass the card checksum | Masked cards like XXXX 1234 are already safe |
| PAN numbers | Five letters, four digits, one letter (ABCDE1234F) | PAN written in lower case |
| Aadhaar numbers | 12 digits, in groups of 4 or together | The QR code on an Aadhaar also holds details; draw a box over it |
Presets are a starting point, not a guarantee. Always look at every page before you click Redact.
Scanned documents
A scan is a picture with no text inside, so search and presets find nothing on it. That isn't a bug: there is no text to find. Draw the boxes by hand over everything you want to hide. The scan's pixels under the boxes are replaced with black, so the hidden part is truly gone.
Check the result yourself
- Open the redacted PDF in Chrome, Edge or Preview.
- Drag across a black box, copy, and paste into Notes or Notepad. Nothing from under the box should appear.
- Press Ctrl+F (Command+F) and search for a word or number you hid. It should find nothing.
- Zoom in to 300% on the edges of each box. No letters should peek out.
Other places your secrets hide
Text on the page isn't the only place a PDF holds information:
- Metadata, bookmarks and old saved versions: the title and author fields, a bookmark called "Ramesh salary", or an earlier version of the file kept inside it. Redact PDF copies the pages into a brand-new file, so these don't come along. Other tools may keep them; if you redacted elsewhere, clean the file with Remove PDF metadata.
- Unmarked pages: pages you didn't mark keep their text. If you're unsure what a page might hold, tick Redact every page as an image (safest), or use Rasterize PDF to turn the whole document into images.
- The file name: rename Ramesh_Kumar_salary_slip.pdf before sending.
Redact, delete or watermark?
- Redact when part of a page must stay hidden but the rest must be seen, such as a statement with the account number blacked out.
- Delete pages when whole pages aren't needed. See deleting pages from a PDF.
- Watermark when the details must stay readable but you want to limit misuse, like an ID copy for a landlord. See watermarking ID documents.
One caution: some offices require complete, unedited documents, such as bank statements for a visa or loan. Redacting them can get an application rejected. Ask first if you're not sure.
Side effects to expect
Redacted pages become images, so text on those pages can't be selected or searched any more, and the file may get bigger. If size matters, run the result through Compress PDF. Pages you didn't mark stay exactly as they were.
Quick answers
Does drawing a black box over text in a PDF hide it?
Usually not. Most editors add the box as a separate layer on top. The text underneath is still in the file, and anyone can select it, copy it, or delete the box. Proper redaction removes the text itself.
How do I check if a redaction worked?
Open the redacted PDF, press Ctrl+A or drag across the blacked-out area, copy, and paste into a text editor. Also press Ctrl+F and search for a word you hid. If nothing appears, the text is gone.
How do I hide my Aadhaar number in a PDF?
Open Redact PDF, tick the Aadhaar numbers preset and click Find and mark. Check the marks on each page, then click Redact and download. To show only the last four digits, draw the box over the first eight digits by hand instead.
Why can't I select text on the redacted pages anymore?
The redacted pages are redrawn as images with the black boxes burned in, which is what removes the hidden text. Pages you didn't redact keep their normal text.
Can redaction be undone?
Not from the redacted file, which is the point. Keep your original private copy in case you need it again.
Tools used in this guide
More guides
- Why you should watermark ID copies before sharing themA copy of your ID can be reused for loans, SIM cards and accounts. A simple watermark saying who it's for and why makes misuse much harder.
- How to merge PDF files on iPhoneTwo free ways to combine PDFs on an iPhone without installing an app: the built-in Files app, or a browser tool that keeps your files on the phone.
- How to merge PDF files on a MacCombine PDFs on a Mac for free with Preview or a Finder Quick Action, with no software to install, plus how to fix the order afterwards.
- How to merge PDF files on Windows for freeWindows has no built-in way to combine PDFs. Here's how to merge them for free without installing software or uploading your files.