Redact PDF
Black out text and areas in a PDF so they are gone from the file, not just hidden: search for names and numbers or draw boxes.
Runs in your browser. Nothing is uploaded.
Updated
How to use Redact PDF
- Choose or drop a PDF.
- Search for names and kinds of data, or drag boxes over what to hide.
- Black out and save; the page checks the new PDF for anything left.
Redact PDF at a glance
Typical use: Remove your card numbers and address from a bank statement before sharing it.
Runs in your browser; nothing is uploaded. Marked pages become pictures, so their text can no longer be selected.
Why black boxes are not enough
Drawing a black rectangle over a name in a PDF editor hides it from the eye but not from the file: the text is still there underneath, and anyone can select it, copy it or search for it. Court filings and government reports have leaked names this way.
This page removes it. Each page you mark is redrawn as a picture with the black boxes painted in, and that picture replaces the page. The text that was under the boxes no longer exists in the file. The new PDF is then checked: the page shows whether any of the words you searched for can still be found.
Redact PDF examples
Share a bank statement. Tick Card numbers and IBANs, type your name, and press Find and mark. Check the pages, then black out and save.
Send a CV without contact details. Tick Email addresses and Phone numbers; drag a box over your photo.
Publish a document with names removed. Type each name on its own line. Every place it appears, on every page, is marked; a box drawn by hand covers anything search can’t find, such as a signature.
What changes in the file
- Pages with boxes become pictures (200 dpi by default, or 150 or 300): they look the same, but their text can’t be selected, searched or read aloud any more.
- Pages without boxes are copied as they were, with their text.
- The document details (title, author, the program that made it), bookmarks and form fields are not copied into the new file.
Prefer the terminal?
The same in a terminal, with PyMuPDF (Python):
python3 -c "import fitz; d=fitz.open('in.pdf'); [p.add_redact_annot(r) for p in d for r in p.search_for('Ayesha Khan')]; [p.apply_redactions() for p in d]; d.save('out.pdf', garbage=4)"PyMuPDF removes the text under each box but keeps the rest of the page as text. garbage=4 drops left-over objects, so the old text isn’t still hidden in the file. PyMuPDF is AGPL-licensed.
Frequently asked questions
Is my PDF uploaded?
No. It is opened, searched and redrawn in your browser. Nothing is sent anywhere, which matters most for exactly the documents people redact.
Can the blacked-out text be recovered?
Not from the new file: the marked pages are pictures with black pixels where the text was, and the old page is not kept inside the file. Keep the original safe, though; it still has everything.
Does search find everything?
It finds text the PDF stores as text, on one line at a time. It can’t see text inside pictures or scans, and a word split across two lines may be missed. Look through each marked page, and drag boxes over anything it missed.
Which numbers does it recognise?
Email addresses; phone numbers of 7 to 15 digits; card numbers of 13–19 digits that pass the card checksum; Pakistani CNIC numbers (12345-1234567-1); and IBANs.
Why is the file bigger or the text blurry?
Blacked-out pages are pictures. 200 dpi is sharp on screen and in print; 300 dpi is sharper and bigger; 150 dpi is smaller. Only the pages you mark change.