PAN Masking with anonym.plus

Reduce a primary account number to the digits the standard allows to show.

PAN masking is the removal of the middle digits of a primary account number under PCI-DSS v4.0 Req. 3.4. The rule lets the first six and last four digits show. anonym.plus finds each long value on your device and reduces it to that allowed form.

When this applies

A display screen or report may print the whole string across several lines. You must cut each to the masked form under Requirement 3.4 before it shows.

How anonym.plus handles it

  1. Open the report in anonym.plus on your device.
  2. Local OCR reads scanned slips that print the digits.
  3. The tool flags every full account value.
  4. Apply Mask to keep the first six and last four digits.
  5. Confirm no full number remains anywhere.
  6. Save the cleaned copy locally.

What you need to provide

PII & financial identifiers detected

Categoryanonym.plus entity typeExample
AccountCREDIT_CARD4111 1111 1111 1111 → 411111******1111
AccountCREDIT_CARD5500 0000 0000 0004 → 550000******0004
NamesPERSONholder name → [HOLDER]
BankIBAN_CODEDE89 3704 ... → [IBAN]
DatesDATE_TIMEexp 04/27 → [DATE]
AmountMONEYEUR 89.00 → [AMOUNT]

Compliance achieved

Anonymize card reports offline — see plans & start free →

Limitations & cautions

A spaced or hyphenated number on a faint scan can confuse OCR. Verify the flags on image pages so no middle digit slips through. The tool masks what it detects; check the result.

Frequently asked questions

How much of the number may show under Req. 3.4?

At most the first six and last four digits. anonym.plus uses the Mask operator to keep those and hide the middle in one pass.

Is masking the same as truncation?

No. Masking hides digits on display; truncation removes them from storage. The Mask operator fits the display rule the requirement describes.

Can it read a number printed on a scanned slip?

Yes. Local OCR reads the image, then masks the value. Always verify faint scans.