Skip to content
DoItJag

Aadhaar Masker

Cover the Aadhaar number in a PDF or a photo of a card before sharing a copy. PDFs are searched for the number automatically; on photos you draw the box. The covered digits are removed, not just hidden.

Not affiliated with UIDAI / Government of India. DoItJag is an independent site. This is not an official verification. For official checks use UIDAI's Aadhaar (mAadhaar) app or UIDAI's Secure QR reader.

Do not share your e-Aadhaar with sites you do not trust. Where possible, use a Masked Aadhaar, which shows only the last four digits.

or drop a file here · PDF, JPG, PNG, WebP · up to 50 MB

Processed on your device. Your files are not uploaded.

Your file never leaves your device. Nothing is uploaded, stored or logged, and what you type is forgotten when you close the page.

Why mask an Aadhaar number

Hotels, offices and apps often ask for “a copy of Aadhaar”. Most of them do not need all twelve digits. UIDAI offers a Masked Aadhaar for this reason: the first eight digits are replaced with X and only the last four remain. If you already have a PDF or a photo of your card, this tool produces the same effect before you share it.

How it works

PDFs. The tool reads the text layer of each page and looks for a 12-digit number written as three groups of four. It marks the first eight digits of each one (or all twelve, if you choose) and shows the boxes on the page. Sixteen-digit Virtual IDs are not mistaken for Aadhaar numbers. You can remove a box or drag to add more, for example where the number is printed inside a picture.

When you create the file, every page with a box is redrawn as an image at 200 DPI with the box painted in. That matters: a box drawn on top of PDF text hides it from view but leaves the digits selectable and searchable. Turning the page into an image removes them. The tool then reads the new file’s text and confirms that no 12-digit number can be extracted.

Photos. JPG, PNG and WebP images have no text to search, so you draw the box over the number with your mouse or finger, or type its position and size. The image is redrawn with the box filled in, so the original pixels under it are gone. Photo metadata such as GPS location is not copied to the new file.

Before you share

  • Check the preview at full size, on every page.
  • Choose black or white boxes; white with XXXX XXXX looks like UIDAI’s masked format.
  • A masked copy is a new, unsigned file.

Nothing is uploaded. To strip metadata from other photos, use the EXIF remover. For a ready-to-print copy, see e-Aadhaar Print Copy. DoItJag is not affiliated with UIDAI or the Government of India.

How to use Aadhaar Masker

  1. Choose a PDF, JPG, PNG or WebP file.
  2. Check the boxes found automatically, or drag on the page to draw your own.
  3. Create the masked file, check the preview and download it.

Privacy: how it works

Your file is opened and masked on your device. It is never uploaded, stored or logged.

Frequently asked questions

Is the hidden number really gone?

Yes. Photos are redrawn with the box painted in, so the original pixels are replaced. PDF pages with a box are turned into images, so the hidden text cannot be selected or extracted; the tool checks the result for readable 12-digit numbers.

Why are the last four digits left visible?

That is how UIDAI’s Masked Aadhaar looks. If you prefer, choose "Hide all 12 digits" or draw a larger box.

Can it find the number on a photo?

No. Reading text from photos needs OCR, which this tool does not include. Draw the box yourself, using the drag tool or the number fields.