TOOLS / PAN MASKING

PAN Masking

Mask card numbers with configurable masking rules.

Up to 19 digits. Spaces and hyphens are accepted and do not count toward the limit.

Masking Format

Calculator reference

Verification evidence and limitations →

What it calculates

Hides selected digits while preserving a chosen visible prefix and suffix.

Inputs and methods

12-19 digit PAN; first 6/last 4, first 4/last 4, or last 4 only.

Worked example

Enter synthetic PAN 4111111111111111 and choose First 6 Last 4.

411111******1111

Specification and limits

Masking changes display only. It is not encryption or proof that a number identifies a real card.

PCI SSC standards ↗