Redact a PDF
Drop a PDF, draw a box over what has to go or search for a name and box every copy, then download a file where the text under each box no longer exists. The PDF never leaves your browser.
How to use it#
- Drop a PDF onto the page area, or click it to choose one.
- Type a name or number into the search box and press Box every match to cover every copy of it at once. Tick Match as a pattern to find text by its shape instead, such as ACC-\d{6} for every account number written ACC- and six digits.
- To hide personal details, leave ticked the kinds to find under Find personal details (email addresses, phone numbers, card numbers, IBANs, and US Social Security numbers, all ticked to start with) and press Box them all.
- If some pages are scans, tick Also search scanned pages before searching, and both searches read those pages with OCR too. The Scanned pages figure says how many the file has.
- Scroll to each page with anything else to hide, and drag a box across it. On a touchscreen, hold a finger still on the page for a moment before dragging. Drag a box to move it, or a corner to resize it. Every box is listed beside the page; press one to go to its page.
- Select a box and press Backspace to remove it, or press its ✕ in the list. Clear removes every box, and Undo takes back the last change.
- To change how the file is written, press the button under Output: choose the resolution for redacted pages, and tick Keep redacted pages searchable if the words outside the boxes should still turn up in a search.
- Press Redact and download.
Why a black box is not enough#
Drawing a black rectangle over text in a PDF editor hides it from view and nothing more. The text is still in the file underneath the shape, so selecting across the box and pasting gives it back, and so does searching the document or opening it in a text extractor. Court filings and government reports have been published with redactions like this, and readers copied the hidden text straight back out.
This tool does not draw on top of the page. Every page with a box is drawn as a picture with the boxes painted into its pixels, and that picture replaces the page in a new file. The text, the fonts, and everything else that made up the old page are left out, so there is nothing under the black to recover.
Before the file is handed to you, the page opens it again and reads every redacted page for text. The download only starts once that check finds none, and the page says so. With Keep redacted pages searchable ticked, those pages hold recognised text on purpose, so the check changes: no text may sit over a box, and no word found only under a box may turn up anywhere in the file.
What the redacted pages lose#
A page turned into a picture looks the same but behaves like a scan. Its text can no longer be selected, searched, or copied, links on it stop working, and a screen reader has nothing to read. Only the pages with a box are changed this way. Every other page is copied into the new file exactly as it was, text and links included.
Tick Keep redacted pages searchable to get most of that back. Each redacted page is read with OCR after the black is painted in, and the words found are laid over it as invisible text, so search, copying, and screen readers work on the rest of the page again. Recognised text is close to the original but not always exact, and links on those pages still stop working.
The new file also leaves out the parts of a PDF that sit outside the pages: bookmarks, form fields, attachments, and document properties such as the title and author. Any of those can repeat the very text you are hiding, and none of them can be checked from a page preview.
Getting every occurrence#
A redaction only removes what is under a box, so a name that appears on six pages needs six boxes. Type it into the search box and Box every match puts a box over each copy on every page, and takes you to the first one. Headers, footers, captions, and tables are the usual places a second copy hides, and search finds those too.
For personal details you have not listed one by one, tick the kinds under Find personal details and press Box them all. It finds email addresses, phone numbers, card numbers, IBANs, and US Social Security numbers by their shape, and says how many of each it found. A phone number written as one unbroken run of digits looks like any other number, so it is only found with its country code in front. Type anything it misses into the search box.
For a number in a format of your own, such as a staff ID or an account number, tick Match as a pattern and type its shape rather than one example. In a pattern, \d stands for any digit and {6} for six of what comes before it, so ACC-\d{6} boxes every ACC- followed by six digits.
A scanned page stores a picture of its words, not the words themselves, so a plain search passes over it. Tick Also search scanned pages and the tool reads each one with OCR, then searches what it read, and the note under the page says how many boxes came from it. OCR can misread a word or miss it, most often in small print or a poor scan, so look over those pages yourself. A signature or a stamp is a picture with no words to find, and needs a box drawn by hand. Afterwards, open the redacted file and search it again: a copy you missed still has its text, and the PDF to text tool shows everything that is still readable in one go.
Frequently asked questions#
Is the redacted text really gone?
#
Yes, on every page you put a box on. Those pages are rebuilt as pictures, the black is painted into the pixels, and the original text is not written into the new file at all. After building the file, the tool reads the redacted pages back and saves it only if they hold no text. With the searchable setting on, it saves it only if no text sits over a box and no word found only under a box appears anywhere in the file. Pages without a box keep their text, so check that you boxed every occurrence.
Can it find every copy of a name for me?
#
Yes. Type the name, number, or phrase and press Box every match, and every copy on every page gets a box, ignoring capitals. Each box can be moved, resized, or removed like one you drew. A scanned page holds a picture of its words, so search finds them there only with Also search scanned pages ticked, which reads those pages with OCR first.
Can I search for a pattern, such as an account number?
#
Yes. Tick Match as a pattern under the search box, type the shape of what to find, and press Box every match. A pattern is a short description of text rather than the text itself. \d stands for any digit, a number in curly brackets repeats what comes before it, and + means one or more. So ACC-\d{6} finds ACC-482913 and every other ACC- with six digits after it, \d{3}-\d{2}-\d{4} finds anything shaped like 123-45-6789, and [A-Z]{2}\d+ finds two letters followed by digits. Capitals are ignored, as in the plain search, and a hyphen in the pattern matches the dashes PDFs print too. Patterns are JavaScript regular expressions, and the regex tester is a good place to try one on sample text first. A pattern that could match nothing at all, such as \d*, is refused, because it would box the gaps between letters, and so is one that matches more than 2,000 places in the file or runs for more than 3 seconds. A pattern reads each page as one line of text, with line breaks as spaces, so it can match across a line break but not from one page to the next.
Can it find text on a scanned page?
#
Yes, with Also search scanned pages ticked. A page that stores no text of its own is drawn as a picture and read with OCR, and both the text search and Find personal details then look through the words it read and box them like any other match. The Scanned pages figure beside the page shows how many pages have no text, and the setting greys out when there are none. The engine is about 4.5 MB, downloaded the first time you use it, and each page takes a few seconds, but a page is only read once while the file stays open, so a second search is quick. OCR can misread or miss a word, so the note after a search says how many boxes came from recognised text, and those pages are worth checking by eye. A page with typed text and a scanned picture on it counts as text, so words in the picture still need a box drawn by hand.
Can it redact every email address or phone number?
#
Yes, in one press. Under Find personal details, tick the kinds you want and press Box them all, and every email address, phone number, card number, IBAN, or US Social Security number of those kinds gets a box, on every page. The page then says how many of each were found. They are ordinary boxes, so you can move, resize, or delete any of them, and one Undo takes the whole search back. Card numbers must pass the check digit every card carries, and IBANs their own check digits, so long invoice numbers are not taken for either. A phone number has no check digit, so it is found when it is written the way numbers are dialled: in groups, such as 020 7946 0958 or (555) 123-4567, or after a country code such as +44. Dates, prices, postcodes, and invoice or order numbers are left alone. A number written as one long run of digits with no + in front, or a local number of fewer than eight digits, is not found; type it into the search box instead. Like search, it reads a scanned page only with Also search scanned pages ticked.
Which resolution should I choose?
#
200 dpi is sharp enough to read and print ordinary documents and keeps the file a reasonable size. Choose 300 dpi for small print, fine drawings, or anything that will be printed professionally, and 150 dpi when the file has to be small, such as for an email with a size limit. The resolution only affects the pages you redact.
Why is the redacted file bigger than the original?
#
A page stored as text and fonts is compact. The same page stored as a picture holds every pixel: at 200 dpi, a few tens of kilobytes for a page that is mostly white and a few hundred for one full of print or pictures. The file grows by that much for each page you redact. Choosing a lower resolution makes it smaller.
How do I redact a PDF without Acrobat?
#
Open this page in any current browser, on Windows, a Mac, Linux, a Chromebook, or a phone, and drop the PDF in. Draw boxes over what has to go, or search for a name and box every copy, then press Redact and download. There is nothing to install and no account, and the file stays in the tab. The result is a normal PDF that any viewer opens.
Can I redact an image, a signature, or part of a table?
#
Yes. A box covers any area of the page, whatever is under it: a photo, a signature, a stamp, a column of figures, or a block of text. The black is painted into the picture of the page, so what was there is not in the new file. A signature or a stamp has no words for search to find, so drawing by hand is how those are covered.
Can I redact a scanned PDF?
#
Yes. A scan is already a picture of each page, so nothing is lost by redacting it, and the boxes are painted into the new picture the same way. Some scans carry an invisible text layer added by text recognition, and that layer is removed from redacted pages too. Tick Keep redacted pages searchable to have a new one made from the redacted picture. To find a name on the scan before redacting, tick Also search scanned pages, and the search reads the pages with OCR.
What does Keep redacted pages searchable do?
#
It reads each redacted page as a picture, after the black is painted in, and lays the words it recognises over the page as invisible text. Find, copy, and screen readers then work on those pages again, and the page looks exactly as before. It cannot bring back anything under a box: the recognition sees only the finished picture, where that part is solid black, and the tool checks the file for hidden words before saving it. It can misread words, most often in small print, unusual fonts, or a poor scan, so text you copy or search for may differ from what the page shows. A word right against a box is the likeliest to lose a letter or go missing, because it runs into the black. It reads English, and pages drawn at 300 dpi read best. The engine is about 4.5 MB, downloaded the first time you use the setting, and each page takes a few seconds. It is the same one the PDF OCR tool uses.
Can I redact a PDF on my phone?
#
Yes, in the phone’s own browser on an iPhone or an Android phone, with nothing to install. Hold a finger still on the page for a moment, then drag to draw a box, and drag the box or one of its corners to adjust it. A finger that moves straight away scrolls the page as usual. On a small screen, search is the easier way in: type the name or number, press Box every match, and every copy gets a box without any fiddly dragging.
Does it work on a password protected PDF?
#
Not while the password is on. Remove it with the PDF password remover first, which needs the password, then redact the unlocked copy. Protect the redacted file again afterwards if it needs a password. A file that opens freely but is locked against printing or copying is refused as well, and the remover lifts that only with the file’s owner password.
Can I redact several PDFs at once?
#
No, the page takes one PDF at a time. Redact it, download the result, then drop in the next file. The search box, the pattern, and the personal details you ticked stay as they are, so the same search can be run on each file. To join the redacted files afterwards, use the PDF merger.
Is my PDF uploaded?
#
No. The pages are drawn, blacked out, and put back together in this browser tab. For a document that needs redacting, sending it to a server first would defeat the purpose.