Why drawing black boxes is not enough
Drawing a black rectangle or a highlight annotation only hides text on screen; the text underneath stays in the file. Anyone can select and copy it, search for it, or move the box. Court filings and government documents have leaked personal data this way more than once.
This tool removes what is under each box from the file, then draws the black box.
- Text: characters under the box are removed from the page content, and the remaining text stays exactly where it was. Invisible OCR text in scanned PDFs is removed too.
- Images: photos and scans that overlap a box have those pixels painted black and are saved again. Transparency masks are cleared too, so a signature shape cannot be recovered.
- Shapes: lines and shapes entirely inside a box are removed, including text that was converted to outlines.
- Comments, links and form fields that overlap a box are deleted, values included.
- Hidden data: document info and XMP metadata (optional), alternate text in accessibility tags and page thumbnails are removed, and the file is rewritten from scratch so earlier revisions and unused objects do not survive.
How to redact a PDF
- Open a file with Choose PDF. The pages appear below.
- To find personal data, turn on the types you need and press Find and mark. Type names or other words yourself. Each match gets a box; untick a match to drop its box.
- Drag on a page to box anything else. On a phone, switch to Draw boxes to draw and back to Scroll to move around.
- Press Save redacted PDF. The file is saved and re-read to confirm no text is left inside the boxes.
Search rules and limits
Search uses the same rules as the privacy masking tool; card numbers are checked with the Luhn formula. Text is read by the same engine that does the removal, so what is found is exactly what gets removed.
- Scanned PDFs: pages that are only images cannot be searched. Draw boxes and the pixels are painted black.
- Partly covered characters: a character is removed if the box covers its center or a quarter of its area. A neighbouring character on the box edge may go too, so draw boxes snugly.
- Lines crossing the box: table borders that continue outside the box are covered, not deleted.
- Image quality: a JPEG that overlaps a box is recompressed after painting, so that image changes slightly. Rare image formats that cannot be decoded are replaced with solid black, and the report says so.
- Encryption and signatures: remove the password first with the PDF password tool. Digital signatures are invalidated.
Processed on your device
A document you need to redact is the last thing you should upload. Viewing, removing and checking all happen in your browser; the PDF and the matches are never sent or stored. The first time, the PDF engine (open-source pdf.js and pdf-lib) downloads from this site.
The automatic check re-reads the text inside the boxes; it is not a legal guarantee. Open the result and try selecting and searching the redacted areas before you share it.
FAQ
Can someone copy the text under the black box?
No. The text is removed from the file when you save, so it cannot be copied or searched. The tool re-reads the result to confirm.
Can it find phone numbers and emails automatically?
Yes: phone numbers, emails, US Social Security numbers, card numbers, account numbers, passport numbers and dates of birth, plus any words you type. You can untick individual matches.
Does it work on scanned PDFs?
Yes. Draw boxes and the image pixels are painted black. Scans without a text layer cannot be searched; scans with OCR text can, and the hidden text is removed as well.
Is the file uploaded?
No. Everything runs in your browser and nothing is sent or stored.
Can a redacted PDF be undone?
No. The removed content is not in the result. Your original file is untouched, so keep it somewhere safe.
Something not working, or a feature you want? Send feedback