Redacting means removing information from a document for good, so that nobody who gets the file can read, search, copy or recover it. The trouble is that most PDF editors make it easy to do something that looks the same and is not: draw a black rectangle over the words. On screen the result is identical. Inside the file, the words are still there.
This page explains how to redact a PDF so the content is really gone, how to check your work before you send the file, and what else in a PDF can give away the thing you were trying to hide. If you just want it done, the free redact PDF tool works in your browser and never uploads the file.
Why a black box is not enough
A PDF page is not a flat picture. It is a stack of objects: lines of text, fonts, images, shapes. When you draw a filled rectangle in an editor, you add one more shape on top of that stack. The text underneath is untouched. Anyone can select it, copy it, search for it, or move the box out of the way.
The NSA's guide Redacting with Confidence puts it plainly: covering text with black rectangles, or highlighting it in black, works for paper but "is not effective, in general, for computer documents." It calls covering text with black "the most common mistake." We go through the details, and the other ways it fails, in why a black box doesn't redact a PDF.
Real redaction does one of two things:
- It deletes the content under the mark. Acrobat Pro's Redact tool and the Redaction Selection tool in Preview on a Mac work this way. The text objects are removed when the redaction is applied.
- It flattens the page. The page is turned into a picture with the black areas painted in, and a new PDF is built from those pictures. There is no text layer left at all, so there is nothing under the box.
How to redact a PDF in your browser, step by step
The redact tool on this site uses the second method. Here is the whole job:
- Open the PDF. Drop it on the redact PDF page or tap Choose a file. If the PDF has a password, the tool asks for it on the page. Plain images work too.
- Find every copy of what has to go. Type a name, account number or address into Find, step through each match, untick any you want to keep, and mark the rest at once. This matters more than people expect. The usual redaction miss is not the box itself; it is the name you covered on page 3 and forgot on page 19.
- Draw boxes for everything else. Drag over signatures, photos, handwriting or a whole paragraph. Click a mark to move or resize it, zoom to 200% for fine work, and use Cmd or Ctrl+Z to undo. Tick "draw on every page" for a header or footer that repeats.
- Pick a sharpness and download. Choose 150, 200 or 300 dpi. Each page is redrawn as an image at that resolution, your marks are filled solid black, and a new PDF is built from the images. Your original file is not changed.
The file is read into your browser's memory and processed on your device. The only network requests load the open-source pdf.js and pdf-lib libraries.
Other ways to do it
| Tool | How it removes content | Good to know |
|---|---|---|
| Adobe Acrobat Pro | Redact text and images, then Apply; deletes what is under the marks | Offers to sanitize and remove hidden information when you apply; saves a new file |
| Preview on Mac | Redaction Selection removes the selected text from view | Apple says it becomes permanent when you close the document, so redact a duplicate |
| Redact PDF tool on this site | Flattens every page to an image with the marks burned in | Free, no upload, finds every match for you; output is not searchable |
| A black rectangle, black highlight or markup pen in any editor | Does not remove anything | Not redaction; the text stays in the file |
Adobe's steps for Acrobat Pro are: All tools, Redact a PDF, Redact text and images, drag over what you want gone, then Apply. A dialog then lets you choose to sanitize the file as well, and you save the result under a new name. If you don't have Acrobat, the guide to redacting a PDF without Acrobat compares the free options in more detail.
Check your work before you send it
Whichever tool you use, test the output. It takes a minute and catches nearly every mistake.
- Search for what you removed. Open the redacted file, press Ctrl+F or Cmd+F and type the name or number. It should find nothing.
- Try to select under a box. Drag across a black area. If text highlights, it is still there.
- Copy and paste the whole page. Select all, copy, paste into a plain text note. Read what comes out.
- Scroll every page. Look for the copies Find could not see, such as a name inside a scanned signature or a number in a photo.
- Make sure you are looking at the new file. A common mix-up is checking the original by accident, or sending it.
What else in a PDF can give you away
Black boxes are the famous failure, but they are not the only one. The NSA guide also warns about images covered by separate black shapes, and about hidden information that travels with a document.
- Metadata. The author name, the program that made the file, and sometimes the title or subject. A title like "Smith settlement draft" can say more than the page does.
- Hidden text from scans. A scanned page that went through text recognition has an invisible text layer behind the picture. A box on the picture does not touch it.
- Comments, bookmarks and form fields. These can repeat a name you blacked out in the page text.
- The file name. "jane-doe-medical.pdf" undoes a lot of careful work.
Flattening deals with the first three at once, because the new file holds nothing but page images. Rename the file yourself. If you want to see what metadata a PDF carries before you share it, the PDF metadata viewer shows it on your device.
Honest limits of the flattening method
- The output is not searchable. There is no text layer, which is exactly why nothing leaks. If you need search back, run the redacted file through the image to searchable PDF tool afterwards. The redacted parts stay black.
- The file usually gets bigger. Page images take more space than text. A lower dpi gives a smaller file; 300 dpi is the sharpest.
- Find only works on text. A scan without a text layer is just a picture, so you draw the boxes by hand.
- The tool removes only what you mark. Check the preview before you download.
- Very large files. Everything happens in browser memory. The tool refuses files over 100 MB and warns that documents over 150 pages will take a while.
When redaction comes up
Most people redact a PDF for an ordinary reason: sending a bank statement to a landlord without the account number, sharing a medical bill with an employer, or handing over paperwork in a divorce. Before the file leaves your hands, it is worth reading how to share documents securely from an iPhone too, because a well-redacted file sent to the wrong address is still a problem.