What tag 5A contains, its format and length, an example value and where it goes wrong in testing.
Tag 5A is the Application Primary Account Number, the card number held in the chip. It is stored as binary-coded digits, two per byte, and padded with F when the number has an odd length.
Tag 5A is the Application Primary Account Number, the card number held in the chip. It is stored as binary-coded digits, two per byte, and padded with F when the number has an odd length.
The PAN is sensitive cardholder data. Do not paste real card numbers into any online tool, and mask it in logs. Payment standards limit how a PAN may be stored and displayed. Use test cards.
| Property | Value |
|---|---|
| Tag | 5A |
| Name | Application Primary Account Number (PAN) |
| Abbreviation | PAN |
| Format | Compressed numeric |
| Length | Up to 10 bytes |
| Source | Card (ICC) |
5A 4111111111111111
This is a well-known test number. In tag 5A it appears as 4111111111111111 with no padding because it has 16 digits.
Paste a full EMV data string into the TLV parser to see every tag decoded together, or search all tags in the EMV tag lookup. See the full tag list.
If your payment app has to pass EMV Level 3, see our certification services and Foundry.
We have taken 133 payment applications through EMV Level 3 across many regions. Tell us about your project.
Talk to us Book a meeting with a founder