Redact PDF
Remove text, images and drawings from a PDF for good — find Aadhaar, PAN and phone numbers, and check the file before saving, without uploading it.
Drop a PDF here, or
Your files never leave your device
Processed in this browser · one at a time
Covering is not redacting. A black box drawn over a PDF hides the words on screen, but they stay in the file underneath, where they can be selected, copied or searched. Taking them off the page can still leave traces: the Australian Cyber Security Centre's examination of Adobe Acrobat's redaction recovered nothing redacted from PDFs made with Acrobat, Acrobat Distiller and Microsoft Word, but recovered remnants from PDFs made with CutePDF and LibreOffice Writer, inside their embedded font maps (CMap objects), which Acrobat's redaction and sanitisation did not remove.
This tool removes the text, images and drawings under each box you draw or each match you find, and from the document's fonts every character only that text used. It cleans the metadata, attachments and bookmarks, then checks the file it made before offering it. Your PDF stays on your device.
How to use it
With Box, drag over anything on a page: a line of text, a photo, a signature. With Select, click a box to move it or drag its corners to resize it; Delete removes it. Copy to pages puts a copy of the picked box in the same place on other pages, for a header or a footer that repeats. Undo and Redo step through every change to the boxes.
Find looks for a phrase on every page, in any case and as whole words: “Ravi” finds “RAVI” but not “Ravindra”. Each phrase found joins a list under the Find field, and its matches join those already found, so a name, a place and an account number can be redacted together; remove a phrase from the list to drop its matches. The presets Email, Phone, Aadhaar and PAN find those details for you. Each match is listed by page with a checkbox, ticked to be redacted; untick one to keep it, or, with Select, click its box on the page. A phrase or number that runs on to the next line is found too, and boxed on each line. Where one match lies inside another, such as a name inside an email address, the larger is listed.
Pages that are scans have no text to search. Find offers to read them with the same text reader as Searchable PDF (OCR); what it reads is then searched too. A reader can misread a word, so look over a scanned page and draw a box over anything left.
What is removed, and how it is checked
Text. Every letter whose box reaches into a redaction box is taken out of the page, invisible text (a scan's OCR layer) and text in a hidden layer included. The letters around it stay where they were. A box that cuts a letter in half takes the whole letter, and the black box grows to cover it.
Images. An image under a box is saved again for that page with the part under the box made black; the same image on another page is left as it was. Images saved without loss stay lossless; a JPEG is saved again at quality 92.
Drawings. A drawing wholly inside a box is taken out. A table's lines and shaded cells crossing a box are cut at its edges, so the page keeps its text. A drawing with curves crossing a box, such as a signature drawn in the PDF, a chart or text turned into outlines, cannot be cut exactly; that page is saved as an image at the resolution of its sharpest photo, between 150 and 300 DPI (200 DPI without one), with its boxes painted in. Its text can then no longer be selected or searched. So is a page where text in a font this tool cannot place, text drawn at a size of zero, an image of a kind it cannot edit, or a colour blend lies under a box. The report says which pages and why.
The rest of the file. Comments and form fields under a box are deleted. A phrase or detail you redact everywhere it was found is also taken out of bookmark titles, form field values, comments and page labels. Whatever was redacted, the document's information and metadata, attachments, page thumbnails and its tags (which copy text for screen readers) are left out, and so is every script: the document's, a page's, a comment's or form field's, and a bookmark's action that runs one. A form made with XFA keeps a copy of its field values of its own, which is left out too, so readers show the standard form fields. The file is written anew, so earlier versions kept inside it go too. A dynamic XFA form, whose pages only Adobe Acrobat and Reader can lay out, cannot be redacted: print it to a PDF there first.
Fonts. A PDF's fonts list the characters they draw, with each one's width and shape, and many programs (LibreOffice and Ghostscript, which CutePDF runs, among them) number those in the order the characters first appear, so the list can spell out a redacted name. After redacting, each font keeps only what the file still draws: a character used only in redacted text loses its entry in the font's map to text, its width and its shape. A character the rest of the file still uses stays. The gaps left in a font's numbering show how many different characters went, not which. A font the file can also draw where this tool does not read its text, such as one a form types new values in, is left whole.
The checks. Before the file is offered, it is read again two ways. By location: no letter, drawing or comment may still lie under a box, and every image's pixels under a box must read black (a JPEG's to within the small changes saving it again makes; along the middle of a box only a few pixels across, where those changes blur the edges together, by brightness alone). No font this tool cut may still list a character the file no longer draws. By search: each phrase and detail redacted everywhere it was found is searched for in every page's text, the bookmarks, metadata, comments and form fields, as another PDF reader would read them. If anything is found, the file is not saved, and the page it was found on is named. A phrase with a match you chose to keep is still there by choice, so it is not taken out of bookmarks, comments or form fields, nor searched for there or in the pages' text.
What each preset finds
| Preset | Finds | Example | Redacted |
|---|---|---|---|
| A name, @, and a domain with a dot | Email: ravi.kumar@example.com | ravi.kumar@example.com | |
| Phone | Numbers of a phone's length, with or without a country code | Mobile +91 98765 43210 | +91 98765 43210 |
| Phone | An account number of the same length, too | A/c 1234567890 | 1234567890 |
| Phone | Not a number written as a date | Paid 10-04-2026 | nothing |
| Aadhaar | 12 digits whose last is the check digit; the first 8 with Keep the last 4 digits | Aadhaar 2345 6789 0124 | 2345 6789 |
| Aadhaar | With Keep the last 4 digits off, the whole number | Aadhaar 2345 6789 0124 | 2345 6789 0124 |
| Aadhaar | A 16-digit Virtual ID whose last is the check digit, whole | VID 9123 4567 8901 2346 | 9123 4567 8901 2346 |
| PAN | Five letters, four digits, a letter | PAN ABCPE1234F | ABCPE1234F |
| PAN | Not with digits 0000, which no PAN has | PAN ABCPE0000F | nothing |
Aadhaar, Virtual ID and PAN formats
An Aadhaar number is 12 digits, its last a check digit worked out from the other eleven by the Verhoeff scheme. UIDAI's masked Aadhaar shows only the last 4 digits, so with Keep the last 4 digits on (the default), the first 8 are redacted and the last 4 stay, on text pages and scans alike.
A Virtual ID (VID) is a temporary 16-digit number UIDAI maps to an Aadhaar number, to be given in its place; its last digit is a Verhoeff check digit too. The Aadhaar preset finds VIDs and redacts them whole.
A PAN is ten characters: three letters, a fourth for the holder's status (P for a person, C for a company and so on), a fifth for the name, four digits from 0001 to 9999, and a check letter. The Income Tax Department does not publish how the check letter is worked out, so it is not checked: any PAN written in that form is found.
Phone numbers are read by their length for the country, which this page takes from your browser, so an account or reference number of the same length is found too, as the table shows. Look down the list and untick those. A number written as a date, such as 10-04-2026 or 2026-04-10, is left out.
Sources
- A UID Numbering Scheme (the check digit) — Unique Identification Authority of India
- Aadhaar Online Services: what is masked Aadhaar — Unique Identification Authority of India
- Circular No. 1 of 2018: Implementation of Virtual ID, UID Token and Limited KYC (10 January 2018) — Unique Identification Authority of India
- How PAN is formed and how it gets its unique identity — Income Tax Department
Reviewed
Frequently asked questions
See also
- Blur or Pixelate Image — to blur faces or mask an Aadhaar number in a photo rather than a PDF.
- PDF Editor — to change or add to a PDF's text rather than take it out.
- Protect PDF — to add a password to the redacted copy before you send it.