How to redact a PDF
- Choose a PDF file or drop it on the box. Its first page appears with the tools beside it, or below them on a phone.
- Drag on the page to draw a black box over anything you want to hide: a signature, a photo, an address block or a whole table. Draw as many boxes as you need, on any page; the × on a box removes it.
- To hide the same thing everywhere, type it in Find text and press Find, or press Find emails or Find phone numbers. Every match on every page gets a box.
- Use ‹ and › to check each page. Undo takes back the last box or search.
- Press Redact PDF. The redacted copy downloads with -redacted added to its name, and your original file stays as it was.
Real redaction, not a black box on top
The most common redaction mistake is covering text instead of removing it. A black rectangle drawn in a PDF editor, a black highlight, or black shading in a word processor only sits on top of the words. The words are still in the file: anyone can select them and paste them somewhere else, find them with search, or delete the rectangle. Court filings, government reports and company documents have leaked secrets this way many times.
This tool removes what is under the boxes. Each page that has a box is drawn as a picture with the boxes painted in solid black, and that picture replaces everything that was on the page: its text, pictures, fonts, hidden layers, form fields and comments. None of it is left anywhere in the file. Pages without boxes aren’t touched at all, so their text stays sharp, selectable and searchable.
After the redacted copy is made, the tool reads it again, the way a PDF reader would, before it is saved. It checks that the redacted pages have no text left, and it searches the whole file again for everything you searched for, so you know nothing was missed.
What to redact
- Personal details: names, home addresses, dates of birth, email addresses and phone numbers in documents you share or publish.
- Numbers that unlock accounts: bank account and card numbers, Social Security and National Insurance numbers, passport and tax numbers.
- Signatures and photos on IDs, contracts and forms you send as proof.
- Confidential business details: prices, salaries, client names or terms in contracts and reports shared outside the company.
- Legal and public records: information that must be withheld before documents are filed in court, released under freedom-of-information rules or handed over in discovery.
Finding every match
Find looks for what you type on every page, without caring about capital letters, and it also finds words split across two lines. Find emails marks anything shaped like an email address, and Find phone numbers marks runs of 9 to 15 digits written with spaces, dashes, dots or brackets, such as +1 (555) 123-4567. That can include other long numbers, such as order numbers; remove those boxes with their × if they should stay.
Search works on the text a PDF has. Words that are part of a picture, such as a scanned page, a photo of a document or a chart, can’t be found this way: draw boxes over them by hand. Each box is made a little larger than the letters it covers, so no edge of a letter is left showing.
What the redacted copy looks like
Redacted pages keep their size and look, and the boxes show as solid black. Because they are pictures now, their text can’t be selected or searched; run the redacted copy through OCR PDF to make it searchable again, and only the words that are still visible are read. The quality setting controls how sharp those pages are: Standard (200 DPI) prints well, Sharp (300 DPI) suits small print, and Smaller file (150 DPI) is fine for reading on screen.
A document’s details, such as its title, author, subject and the app that made it, can also give away who wrote it or what it is about, so they are removed by default. Tags that help screen readers, which can repeat a page’s text, are removed too. Bookmarks and links that lead to the redacted pages keep working, while links on those pages are removed with the rest of what was on them.
Redacting a PDF on a phone
The tool works in Safari and Chrome on iPhone, iPad and Android. Tap Choose a PDF file and pick it from the Files app, Google Drive or your downloads, then draw boxes with your finger, or use Find, which is often quicker on a small screen. On an iPhone or iPad, the redacted PDF goes to the Files app under Downloads; on Android, to the Downloads folder.
If something goes wrong
- “Protected with a password or with editing restrictions”: remove the protection with Unlock PDF, redact the unlocked copy, then add a password again with Protect PDF if you need one.
- Find marks nothing: the page may be a scan or a picture of text. Draw boxes over the words instead.
- A box is in the wrong place: remove it with its × and draw it again, a little larger.
- The redacted copy is large: choose Smaller file (150 DPI), or make it smaller afterwards with Compress PDF.
- “Couldn’t be redacted”: a very long PDF with many redacted pages can run out of memory on a phone. Try a lower quality, fewer pages at a time, or a computer.
Privacy
The documents people redact are the most private ones, so this tool never uploads them. Your browser reads the file and writes the redacted copy on your device, and nothing about it, including what you searched for, is saved or sent anywhere.
Pages are drawn and checked with PDF.js by Mozilla (Apache 2.0 license) and its character maps, Foxit and Liberation fonts, color profiles and image decoders (JBIG2, OpenJPEG, qcms). The redacted copy is written with pdf-lib by Andrew Dillon (MIT license), which uses UPNG, standard fonts data and pako.
Frequently asked questions
Is my PDF uploaded?
No. Your browser reads the PDF, blacks out what you choose and writes the redacted copy on your own device, so nothing is sent to this website or anyone else. That matters most for the documents people redact.
Is the hidden text really gone, or just covered?
It is gone. Each page with a black box is replaced by a picture of the page with the box painted in, and everything that was on the page before (its text, pictures, fonts, form fields and comments) is taken out of the file. Copying, searching or editing the redacted copy can’t bring it back. After saving, the tool reads the new file again and tells you if anything you searched for is still in its text.
Why can’t I just draw a black rectangle in a PDF editor?
A rectangle drawn in most editors, or a black highlight, sits on top of the text. The text is still in the file, so anyone can select it, copy it or search for it, and many published documents have leaked that way. Redaction has to remove the text itself, which is what this tool does.
Can I still search and copy the rest of the redacted pages?
Not on the pages that have boxes, because they become pictures. Pages without boxes stay exactly as they were, with their text. To make the redacted pages searchable again, run the redacted copy through OCR PDF on this site: it reads the words in the pictures, and the blacked-out words aren’t there to be read.
Does it find text in scanned pages?
Searching works on the text a PDF has. A scanned page is a picture with no text, unless it was made searchable, so its words can’t be found by searching. Draw boxes over them by hand instead; the boxes black out pictures just as well as text.
Why can’t I redact my PDF?
A PDF with a password, or with restrictions on editing, keeps its pages encrypted, so they can’t be changed. Remove the protection first with Unlock PDF on this site. A damaged or partly downloaded file can’t be read either.