Card (ICC)Format: ansLength: 2-26
5F20

Cardholder Name

Tag ID
5F20
Format
ans
Length (bytes)
2-26
Source
Card (ICC)

What it is

Cardholder Name carries the name printed on the card, in the ISO 8859 / IA5 character set. Many issuers set it to a placeholder such as "CARDHOLDER/VISA" rather than the real name.

It is personally identifiable information and should be handled accordingly.

Where it appears

Read from the card record files after GET PROCESSING OPTIONS.

How tag 5F20 is encoded

EMV data objects are BER-TLV: tag, then length, then value. 5F20 is a 2-byte, application class, primitive tag (tag number 32), so its value is plain data rather than nested TLV objects.

5F01011111Bits 8–7 = 01: application class. Bit 6 = 0: primitive. Bits 5–1 all set: the tag number continues in the next byte.
2000100000Bit 8 = 0: last tag byte. Bits 7–1 = 32.

Length

The value is between 2 and 26 bytes long, so the length field runs from 02 to 1A.

Value format ans

Format ans is alphanumeric special: one character per byte from the ISO/IEC 8859 common character set, so spaces and punctuation are allowed.

Who supplies it

The card supplies this value. The terminal reads it from the card’s responses during application selection, GET PROCESSING OPTIONS, READ RECORD or GENERATE AC, depending on where the issuer personalised it.

Specification reference

Defined in: EMV 4.x Book 3 (Application Specification), Annex A — Data Element Dictionary

Decode & build this tag