Auto-Redact PII
Spots Aadhaar, PAN, card numbers, phones and emails, then blacks them out.
How to use Auto-Redact PII
- 1Choose a PDF with text (scans need OCR first).
- 2Review what was found: Aadhaar, PAN, card and phone numbers, emails and more. Untick anything that should stay, or add your own words.
- 3Press “Redact selected” to download the cleaned PDF and a log of what was removed.
About this tool
Scans the text for personal data (Aadhaar, PAN, GSTIN, IFSC, UPI IDs, card numbers with checksum, phone numbers, emails, passport, bank accounts and more) plus any words you add, lets you review the matches, then permanently redacts them.
Guides
Your files stay on this device. DoYourPDF opens and processes them inside your browser. The counter in the top bar shows how many bytes of your files this page has sent to any server: it should read 0 B. How this works
Related tools
- Protect PDFAdd a password with AES-256 encryption.
- Remove PasswordUnlock a PDF you have the password for.
- Redact PDFBlack out areas permanently (text underneath is removed).
- Privacy Risk ScannerSee what personal data and hidden info a PDF contains.
- Remove Hidden DataStrip metadata, scripts, attachments, comments.
- Fingerprint PDFChecksums that prove a file hasn't changed by a single byte.
- Merge PDFCombine PDFs into one file, in the order you choose.
- Split PDFCut a PDF by page ranges, every N pages, or one file per page.
Questions about Auto-Redact PII
What personal data does it look for?
Aadhaar, PAN, GSTIN, IFSC codes, UPI IDs, card numbers, bank account numbers, passport numbers, voter IDs, phone numbers, email addresses, dates of birth, IP addresses, IBANs and US Social Security numbers. Names and addresses aren't found on their own: type them under “Also find these words”, then press “Scan again”.
How sure are the matches?
Aadhaar numbers are tested with the Verhoeff check and card numbers and IBANs with their own checks. A card number or IBAN that fails is left out. An Aadhaar number that fails, a PAN with an unusual fourth letter and a passport number not in India's format are listed marked “check”. Everything starts ticked; untick what should stay.
Why wasn't an account number, passport number or date of birth found?
These are only found next to a label, so ordinary numbers and dates aren't blacked out by mistake: an account number after “A/c” or “Account No”, a passport number after “Passport”, a date after “Date of birth”, “DOB” or “जन्म तिथि”. Add anything else under “Also find these words” or as a custom pattern.
Can I hide only the first eight digits of an Aadhaar number?
Not here: each match is blacked out whole. To leave the last four digits showing, open the file in Redact PDF and drag a box over the first eight digits only.
What do I get when I press “Redact selected”?
Two files: the PDF named with “-redacted”, and a redaction log with each item's type and page and its value masked, such as AB••••••4F. Pages with ticked matches become pictures at 200 dpi with the boxes burned in, and the text under the boxes is deleted; the rest stays searchable.
Does it work on scanned PDFs?
Not until the scan has text: it reads the words, and a scan is only pictures. Run OCR: Searchable PDF first, then check the searchable copy here.
Is DoYourPDF really free?
Yes. Every tool costs nothing: no account, no page caps, and nothing stamped on your files.
Are my files uploaded?
No. Files are opened and processed by your own browser. They never reach a server. Apart from an anonymous visit count, the only things that use the network are optional: AI answers (if this site enables them) send the question plus relevant passages of text, never the file; P2P Share and the whiteboard connect two browsers over an encrypted connection.