Skip to content
EMV Tools
Back to the tag dictionary

5A Application Primary Account Number (PAN)

The card number, packed as digits and padded with F when the length is odd. It is sensitive data: mask it before sharing logs.

PAN Primary Account Number
The card number. This site masks it by default and never puts it in a share link. Glossary entry
New to tags? Read what a tag and TLV are
Tag
5A
Source
Card
Format
cn — Compressed numeric. BCD digits, left-aligned and padded with F on the right.
Length
1 to 10 bytes
Structure
Primitive: holds a value
Specification
EMV Book 3, Annex A
Decode a value of this tag