How to Mask Aadhaar on Android and iPhone Before Sharing
Most Aadhaar numbers do not leak from a database. They leak from a phone. Someone is asked to send an ID copy on WhatsApp for a SIM, a hotel check-in, a rental or a job form, and the full 12-digit number goes out in a photo or PDF that gets forwarded, saved and backed up by people the owner will never meet.
This guide shows how to mask Aadhaar on mobile, on both Android and iPhone, before you share it. It also covers the common mistakes that leave the number readable even after you think it is hidden. If you run a business that receives these documents, see how to mask Aadhaar numbers in PDFs and mobile uploads automatically at the point of intake.
What Does Masking Aadhaar Mean?
A masked Aadhaar replaces the first eight digits with X's or asterisks and shows only the last four, for example XXXX XXXX 1234. The person receiving it can still tell the document is yours, but cannot use the number for fraud. UIDAI has encouraged use of masked Aadhaar wherever the full number is not required.
Remember that the card carries more than the number. The QR code, the barcode and any printed Virtual ID can also expose data, so a proper mask covers them too.
Method 1: Download a Masked Aadhaar From UIDAI (Best Option)
The safest route is to never create a full copy in the first place. The official e-Aadhaar download lets you choose a masked version:
- Open the official UIDAI portal (myaadhaar.uidai.gov.in) in your phone browser, or use the mAadhaar app.
- Choose the Download Aadhaar option and sign in with your Aadhaar number or Virtual ID and the OTP sent to your registered mobile.
- Tick the option for a masked Aadhaar before downloading.
- Open the PDF using its password. UIDAI generally sets it as the first four letters of your name in capitals followed by your year of birth, but check the instructions on the portal.
Menu names and steps change from time to time, so follow the on-screen wording on the official site or app. Only use UIDAI's own channels, never a third-party site that asks for your Aadhaar number and OTP.
Method 2: Mask Aadhaar on Android
If you only have a photo or screenshot of the card, you can cover the digits with the tools already on your phone.
- Open the image in Google Photos or your gallery app and tap Edit.
- Choose Markup (called Draw in some apps) and select a solid, opaque colour such as black.
- Use the thickest pen size and cover the first eight digits fully. Cover the QR code as well.
- Save a copy. Do not overwrite the original if you still need it, but do not share it either.
- Zoom in on the saved copy to confirm that no digit is visible through the strokes.
For a PDF, open it in your PDF app, add a filled black box over the digits, then use Print and Save as PDF (or take a screenshot) so the box is baked into the file rather than sitting on top as a removable note.
Method 3: Mask Aadhaar on iPhone
- Open the photo in the Photos app and tap Edit, then the Markup (pen) icon.
- Pick the pen tool, not the highlighter or the semi-transparent marker, and choose black at full opacity.
- Scribble over the first eight digits and the QR code until nothing shows through, then tap Done.
- For a PDF, open it in the Files app, tap the Markup icon, add a shape or pen strokes over the number, and save.
- To be safe, take a screenshot of the masked page and share the screenshot instead of the edited PDF.
Photos Markup edits can be reverted from the same screen on your own phone, but the recipient only receives the exported copy. Always send the exported copy, never the original.
Mistakes That Leave Aadhaar Visible
This is where most people go wrong. A document that looks masked can still expose the number:
- Using a highlighter or low-opacity pen: The digits stay readable when the image is zoomed or brightened.
- Blur or pixelate filters: Light blurring can sometimes be reversed or guessed, especially on clear text.
- Hiding all digits but forgetting the QR code: The QR code can carry the card's data.
- Annotation layers on PDFs: A box drawn as a comment can be deleted by the recipient, revealing the number underneath. Flatten the file by printing to PDF or taking a screenshot.
- Searchable text left in the PDF: The digits may still be selectable and copyable under the box.
- Sharing the wrong file: The original stays in your gallery or Downloads folder and is easily picked by mistake.
- Number in the file name or message: A file called aadhaar-1234-5678-9012.pdf defeats the purpose.
- Cloud backups and chat media: The unmasked original may already be synced to cloud storage or saved in a chat.
- Masking only the front: Make sure nothing sensitive appears on the back or on a second page.
Quick Checklist Before You Tap Send
- Only the last four digits are visible.
- The QR code and any VID are covered.
- The covering is solid and opaque, and you zoomed in to check.
- PDFs are flattened so the number cannot be selected or the box removed.
- The file name has no digits from the card.
- You are sharing the masked copy, not the original.
- You know why the recipient needs it. If they only need identity proof, offer a masked copy or a Virtual ID instead.
Also consider writing the purpose on shared copies, such as "For hotel check-in on 16 Nov only", to discourage reuse.
Why Manual Masking Does Not Scale for Businesses
Manual masking is fine for a single copy. It does not work when thousands of users upload photos of different quality through an app or portal, and it puts the burden on every customer to get it right. The mistakes above are exactly what show up in real uploads.
Companies that collect IDs from mobile users therefore move masking to their own side. An Aadhaar Masking API receives the uploaded image or PDF, detects the number and QR code, masks them and returns a clean copy in seconds, before the file is stored or passed to other teams. If you are comparing options, look for an aadhar masking solution that handles photos, screenshots, e-Aadhaar PDFs and poor lighting, and that does not keep the original after processing. Our guide to integrating an Aadhaar masking API explains how this fits into an app, and the vendor checklist lists questions to ask. An API solution for Aadhaar card masking solutions of this kind also supports bulk processing for existing files.
Conclusion
To mask Aadhaar on Android or iPhone, prefer the masked download from UIDAI. If you must edit a photo, use a solid opaque cover, hide the QR code, flatten PDFs and send only the exported copy. Avoiding the common mistakes matters as much as the masking itself. For teams that receive these files, automating the step with an Aadhaar masking API removes the guesswork and keeps full numbers out of your systems.
Receiving Aadhaar Uploads From Mobile Users?
Our Aadhaar masking platform masks IDs automatically as soon as they are uploaded.
- Works on photos, screenshots, e-Aadhaar PDFs and scanned copies
- Automatic masking of the first eight digits and the QR code
- Real-time Aadhaar Masking API for apps and portals
- Bulk processing for existing files
- No persistent storage of originals
Request a Personalized Demo and see how simple it is to keep your uploads privacy-safe.




