New Global redaction API for passports, IBANs and SSNs →

Mask Aadhaar & PAN Card Online — Free

Hide your Aadhaar or PAN number before you share the card. Runs in your browser, so the file never leaves your device. No sign-up, no daily limit.

📄

Drop your Aadhaar card here

PDF, JPG or PNG · up to 50 MB · free, no sign-up, no daily limit

For best results use a clear, well-lit scan or photo.

Masking Aadhaar number…

Analyzing document…

✅ Aadhaar masking complete

First 8 digits masked, last 4 visible

1234 5678 9012 → XXXX XXXX 9012
Masked document preview

MaskAadhaar is an independent private service, not affiliated with UIDAI, the Income Tax Department or the Government of India.

One API for identity documents from India and everywhere else

50 MBper document
0 copieskept after the response
₹0when nothing is found
MumbaiAWS ap-south-1 processing
Products

Redaction APIs for Indian and global documents

Mask, extract, verify and redact identifiers from a single key, with the same quota and billing rule on every endpoint.

One POST. The redacted file comes straight back.

Send a file as multipart/form-data and get the redacted document in the response body. There is no job to poll and no second call to fetch the result.

  • Binary or JSON. Stream the file, or set response_mode=json for base64 with a full report.
  • Five redaction modes. Box, mask, token, pseudonym or blur, depending on who reads the output.
  • Quota in every response. X-Quota-Remaining and the count of what was redacted come back as headers.
  • Code samples for Python, Node.js and Java.
redact a UK bank statement
# one call, redacted PDF back
curl -X POST https://api.maskaadhaar.com/api/v1/global/redact \
  -H "X-API-Key: $MASKAADHAAR_KEY" \
  -F "file=@bank_statement.pdf" \
  -F "countries=GB" \
  --output redacted.pdf

# response headers
X-Entities-Found: 3
X-Entity-Types: IBAN,UK_NINO,PHONE
X-Quota-Remaining: 48213
Use cases

Built for teams that handle other people’s documents

Anywhere an ID card, statement or passport is uploaded, stored or passed to another system.

🏦

Fintech & lending KYC

Store a masked Aadhaar and PAN instead of the full numbers, as UIDAI recommends for shared copies.

🤖

AI & LLM pipelines

Swap SSNs, IBANs and card numbers for tokens before a document reaches a model, and keep the context.

🧑‍💼

HR & background checks

Redact payslips, tax forms and ID proofs before they are shared with vendors and reviewers.

✈️

Travel & hospitality

Redact the passport MRZ, which repeats the number, name and date of birth in machine-readable form.

💳

Banks & payments

Remove card numbers and IBANs from statements and disputes, validated by Luhn and mod-97 checks.

🎧

Support & BPO

Mask mode keeps the last four digits, so agents can reconcile an account without seeing all of it.

See all use cases →

Security

Ready for your security review

What happens to a document, stated precisely enough to put in a vendor assessment.

🗄️

Not persisted

Documents are processed in memory and streamed back. No database, no object store, no copy after the request.

✂️

True redaction

PDF text is removed from the content stream, not covered by a box, so copy-paste recovers nothing.

✅

Checksums, not shapes

Verhoeff, Luhn, mod-97 and ICAO check digits stop invoice numbers being flagged as IDs.

🧹

Metadata stripped

PDF author and producer, plus image EXIF including GPS, are removed by default.

🇮🇳

Processed in India

The API runs in AWS Mumbai (ap-south-1), which matters for data-localisation questions.

🧾

Per-request audit trail

Each call is logged with endpoint, size, time and status, never the identifier values themselves.

Read about security →

Free tool

Free Aadhaar & PAN masking, in your browser

For individuals sharing a card: the tool at the top of this page, with nothing uploaded and no sign-up.

🔒

Zero Upload Architecture

Your Aadhaar PDF is processed entirely in JavaScript inside your browser tab. No data ever touches our servers.

✅

Same Format as UIDAI

Masks the first 8 digits of the 12-digit Aadhaar number, in the same format as UIDAI’s own masked Aadhaar.

⚡

Instant Results

Upload your card and download the masked version in seconds. No waiting, no queue, no processing delay.

📄

PDF & Image Support

Works with e-Aadhaar PDFs (both single-side and landscape two-sided) and image files like JPG and PNG.

🪪

Both Sides Masked

Automatically detects and masks the Aadhaar number on both the front and back of the card — no manual steps.

💳

PAN Card Masking Too

Mask your PAN card number with the same browser-based, zero-upload approach before sharing with third parties.

Process

How It Works

Three steps, no account needed, done in seconds.

1

Upload Your Document

Select your Aadhaar card as a PDF or image from your device. Nothing leaves your browser.

2

Auto-Detect & Mask

The tool automatically finds the Aadhaar number on both sides and blacks out the first 8 digits.

3

Download & Share

Save the masked document as PDF or JPG — ready to submit to any organisation that requires it.

Resources

Guides for Aadhaar, PAN and global documents

Aadhaar and PAN

Download masked Aadhaar card PDFOfficial UIDAI steps, PDF password, and what to do without OTP How to mask an Aadhaar cardStep by step, plus downloading a masked Aadhaar from UIDAI UIDAI rules on masked AadhaarWhere a masked copy is enough, and where it is not Why mask Aadhaar before sharingWhat a full Aadhaar number lets someone do PAN card masking: what to redactWhich characters to hide, and why Aadhaar, VID, masked copy or offline e-KYCWhich one to give, and when Check if an Aadhaar card is forgedUsing the signed QR code on the card

Passports and documents from outside India

How to redact a passportWhy the MRZ at the bottom gives everything away Redact PII before sending it to an LLMIBANs, SSNs and card numbers out, document still usable Why tools flag invoice numbers as SSNsChecksums tell a real identifier from a lookalike
FAQ

Frequently Asked Questions

What is Aadhaar masking?

Aadhaar masking means blacking out the first 8 digits of a 12-digit Aadhaar number, showing only the last 4. UIDAI recommends this when sharing your card with third parties such as landlords, hotels, banks, or employers.

Is it safe to use MaskAadhaar?

Yes. Everything runs inside your browser tab using JavaScript. Your Aadhaar document is never uploaded to any server — it never leaves your device. We have no access to your data.

Is this service free?

Yes. Masking Aadhaar and PAN cards here is free, with no daily limit and no sign-up. For API access, use the contact form or email contact@maskaadhaar.com.

How do I download a masked Aadhaar card?

From UIDAI’s official myAadhaar portal: choose Download Aadhaar, verify with the OTP on your registered mobile, tick the masked Aadhaar option and download the PDF. If you already have your Aadhaar PDF or a photo of it, mask it at the top of this page with no OTP. Step-by-step guide.

Is it Aadhaar, Aadhar or Adhaar?

Aadhaar is the official spelling UIDAI uses, but Aadhar, Adhaar and Adhar are all common in everyday writing and in search. They refer to the same twelve-digit number and the same document, and the tools here work identically whichever spelling brought you to them. Misspelled URLs redirect to the right page, so a mistyped or miscopied link still works.

What file formats are supported?

PDF (including multi-page e-Aadhaar cards from UIDAI's portal) and common image formats such as JPG and PNG.

Does it mask both sides of the Aadhaar card?

Yes. The tool automatically detects and masks the Aadhaar number on both the front and back sides, including landscape two-sided PDF layouts generated by UIDAI.

Is there an API for Aadhaar and PAN masking?

Yes. The MaskAadhaar API masks Aadhaar and PAN cards, extracts card fields as JSON, verifies an Aadhaar card against its signed QR and redacts PII across Indian documents, one file or a whole batch per call. Quota and rate are provisioned per organisation; ask for a key or read the API docs.

Can the API redact passports and documents from outside India?

Yes. The global endpoints detect and redact passport MRZ lines, payment cards, IBANs, US SSNs, UK National Insurance and NHS numbers, Canadian SINs, Brazilian CPFs, Australian TFNs, South African ID numbers, EU VAT numbers and more. Every identifier with a checksum must pass it before it is redacted. See the full list of identifier types.

Does the API store the documents I send?

No. Documents are processed in memory and streamed back in the response. They are not written to a database or object store, and no copy is kept once the request completes. Processing runs in AWS Mumbai (ap-south-1).

Can I mask a PAN card too?

Yes. Switch to the Mask PAN tab at the top of this page, or use the Mask PAN Card page.

Put redaction inside your own pipeline

Tell us your monthly volume and peak throughput. We issue a key with the quota and rate set to your numbers, with no fixed tiers to choose from.

Get an API key → Read the docs

Or email contact@maskaadhaar.com