Smart Card ATR Explained: Identify a Card from its ATR

What is a smart card ATR, and how do you identify a card from it? The ATR (Answer To Reset) is the short string of bytes a card presents when the reader powers it up. A contact card sends it itself, in the format of ISO/IEC 7816-3: a start byte TS, a format byte T0, optional interface bytes, up to 15 historical bytes and, usually, a check byte TCK. A contactless card has no ATR of its own, so a PC/SC reader builds one. For MIFARE, Ultralight and other storage cards that built ATR contains A0 00 00 03 06, a standard byte and a two-byte card name, which you look up in a table. For other cards, compare the ATR with a known list, then confirm with a read-only command.

This page is the reference: how an ATR is put together, the PC/SC contactless format with its standard and card-name tables, worked examples from the ACS manuals and the PC/SC documents (each labelled with its source), how to see the ATR on your PC, and how to look up an unknown ATR. If you want code that decodes the ATR in a C# program, use our C# UID reader with ATR decoding. BSD Infotech is an independent ACS supplier and integrator, not the manufacturer.

When a contact card is inserted, the reader applies power and a reset signal, and the chip answers with its ATR before anything else happens. The ATR tells the reader how to talk to the card (the convention, the speed it can reach, the protocol T=0 or T=1) and, in its historical bytes, often something about the chip or its operating system. Software also uses it to recognise the card type.

A contactless card goes through a different start-up (ISO/IEC 14443 or 15693) and returns other data, such as the ATQA, SAK and ATS of a Type A card. PC/SC Part 3 therefore tells the reader to construct an ATR from those fixed elements, so that Windows and your application see contactless cards through the same interface as contact cards. ACS's contactless readers document this in their API manuals under "ATR generation".

 Contact card (for example in an ACR39U)Contactless card (ACR1252U, ACR1552U, ACR122U)
Who produces the ATRThe card's chipThe reader, following PC/SC Part 3
FormatISO/IEC 7816-3, any valid combination of interface bytesAlways starts 3B 8n 80 01
What identifies the cardThe whole ATR, mostly the historical bytes; compare with a known listStorage cards: the standard byte and card name. ISO 14443-4 cards: historical bytes from the card's ATS or ATQB
Unique to one card?No: every card of the same product and version usually gives the same ATRNo: the UID is the unique part, read with a separate command

The last row matters: an ATR identifies a card type, never an individual card. For the card's number, see how to read a card UID.

An ATR is at most 33 bytes including TS. Only TS and T0 are always there; every other byte is announced by the byte before it, so you have to read it from left to right.

ByteNameWhat it tells you
TSInitial character3B = direct convention, 3F = inverse convention (how bits are coded on the wire). Every ATR starts with one of the two.
T0Format byteHigh nibble (bits 5 to 8): which of TA1, TB1, TC1, TD1 follow (one bit each, in that order). Low nibble K: the number of historical bytes, 0 to 15.
TA1Interface byteClock rate conversion factor Fi (high nibble) and baud rate adjustment Di (low nibble). Absent means the defaults Fi = 372, Di = 1.
TB1Interface byteProgramming voltage in older cards; deprecated since the 2006 edition of ISO/IEC 7816-3, and readers ignore it.
TC1Interface byteExtra guard time N between characters (0 to 255). Absent means 0.
TD1, TD2 ...Interface byteHigh nibble: which of the next TA, TB, TC, TD follow. Low nibble: a protocol number T (0 = T=0, 1 = T=1, 15 = global parameters follow). Each TD can announce another group, so the chain can continue.
TA2Specific mode byteIf present, the card works in a fixed (specific) mode and names the protocol to use; if absent, the reader may negotiate parameters (PPS). The ACR39x manual describes how the ACR39U handles both cases.
T1 ... TKHistorical bytesUp to 15 bytes chosen by the card maker. When the first one is 00, 10 or 8X, the rest follow the ISO/IEC 7816-4 format; otherwise their meaning is proprietary.
TCKCheck bytePresent only if some TD byte names a protocol other than T=0. It is chosen so that the XOR of all bytes from T0 to TCK is 00. A card that offers T=0 only has no TCK.
  1. Check TS. It must be 3B or 3F.
  2. Read T0. Note K (low nibble). Use the high nibble to count which of TA1 to TD1 follow, and read them in the order TA, TB, TC, TD.
  3. Follow the TD chain. If a TD byte is present, its high nibble announces the next group and its low nibble names a protocol. Note every protocol named. Repeat until a group has no TD.
  4. Take the next K bytes as historical bytes.
  5. Check TCK. If any protocol other than T=0 was named, one byte must remain, and the XOR of everything from T0 to the end must be 00. If bytes are missing or left over, the ATR was copied incompletely.

Worked example: the MIFARE Classic 1K ATR from the ACS manuals

Source: ACS ACR122U API manual v1.4 (section 3.1.1) and ACR1552U Series reference manual v1.05 (sections 5.3.1.1 and 5.3.9). The reader builds this ATR, but it follows the ISO/IEC 7816-3 rules exactly, so it is a good first example:

3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A

3B        TS   direct convention
8F        T0   high nibble 8 = only TD1 follows; low nibble F = 15 historical bytes
80        TD1  high nibble 8 = only TD2 follows; low nibble 0 = T=0
01        TD2  high nibble 0 = no more interface bytes; low nibble 1 = T=1
80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00
          T1 to T15, the 15 historical bytes (decoded in the next section)
6A        TCK  present because TD2 names T=1;
               XOR of 8F through the last historical byte = 6A

BSD checked the TCK of every ATR on this page with a short script: in each one, the XOR of all bytes after TS is 00, as ISO/IEC 7816-3 requires.

PC/SC Part 3 (section 3.1.3.2.3) defines two layouts for the ATR a reader constructs. Both start 3B 8n 80 01: no TA1 to TC1, a TD1 and TD2 chain naming T=0 and T=1, and n historical bytes. They differ in the historical bytes.

Storage cards (MIFARE Classic, Ultralight, ICODE and others)

3B 8F 80 01 80 4F 0C A0 00 00 03 06 SS NN NN 00 00 00 00 TCK

80              category indicator (status may follow in COMPACT-TLV)
4F              application identifier presence indicator
0C              length: 12 bytes follow
A0 00 00 03 06  RID, the PC/SC Workgroup's registered application provider ID
SS              byte for the standard (table below)
NN NN           two bytes for the card name (table below)
00 00 00 00     RFU, always zero

The RID A0 00 00 03 06 is what tells you the reader built a storage-card ATR. PC/SC Part 3 says the SS and NN NN bytes must be interpreted with the PC/SC "Part 3 Supplemental Document", which the PC/SC Workgroup maintains.

ISO 14443-4 cards (DESFire and other microprocessor cards)

3B 8n 80 01 [historical bytes] TCK

Type A: the historical bytes of the card's ATS
Type B: 8 bytes = 4 bytes application data from the ATQB,
        3 bytes protocol info from the ATQB,
        1 byte whose high nibble is the MBLI from the ATTRIB answer

There is no card name here. The bytes come from the card, so they depend on the card maker, the product and often the version. That is why the same card type can give different ATRs (see the two DESFire examples below).

SS: the standard the card works under

Source: PC/SC Part 3 Supplemental Document, rev. 2.01.09, table 2. Values not listed are reserved (RFU).

SSStandardSSStandard
00No information given0AISO 15693, part 2
01ISO 14443 A, part 10BISO 15693, part 3
02ISO 14443 A, part 20CISO 15693, part 4
03ISO 14443 A, part 30DContact (ISO/IEC 7816-10), I2C
05ISO 14443 B, part 10EContact (ISO/IEC 7816-10), extended I2C
06ISO 14443 B, part 20FContact (ISO/IEC 7816-10), 2-wire bus protocol
07ISO 14443 B, part 310Contact (ISO/IEC 7816-10), 3-wire bus protocol
09ISO 15693, part 111FeliCa
  40Low-frequency contactless cards (below 135 kHz)

In the ACS manuals, MIFARE and Ultralight cards use 03, FeliCa uses 11 and the ACR1552U's ICODE and other vicinity tags use 0B.

NN NN: card name

Source: PC/SC Part 3 Supplemental Document, rev. 2.01.09, table 3, which assigns the numbers; ACS-specific values are marked. The supplement lists many more storage cards than shown here; the full table is in the PDF (pcscworkgroup.com).

NN NNCard nameWhere documented
00 00No information givenPC/SC supplement
00 01MIFARE Classic 1K ("Mifare Standard 1K")PC/SC supplement; ACR122U and ACR1552U manuals
00 02MIFARE Classic 4KPC/SC supplement; ACR122U and ACR1552U manuals
00 03MIFARE UltralightPC/SC supplement; ACR122U and ACR1552U manuals
00 07SRI X4KPC/SC supplement; ACR1552U (optional SRI support)
00 0ESRF55V10P (Infineon my-d vicinity)PC/SC supplement; ACR1552U
00 13LRI512PC/SC supplement; ACR1552U lists it for ST LRI
00 14ICODE SLIPC/SC supplement; ACR1552U
00 26MIFARE MiniPC/SC supplement; ACR122U and ACR1552U manuals
00 2F / 00 30Jewel tag / Topaz NFC tagPC/SC supplement; the ACR1552U uses 00 30 for "Topaz and Jewel"
00 35i-Code SL2PC/SC supplement; ACR1552U lists it for ICODE SLIX/SLIX2
00 36 to 00 39MIFARE Plus SL1 2K, SL1 4K, SL2 2K, SL2 4KPC/SC supplement; ACR1552U manual
00 3AMIFARE Ultralight CPC/SC supplement; ACR1552U manual
00 3BFeliCaPC/SC supplement; ACR1552U manual
00 3DMIFARE Ultralight EV1PC/SC supplement only; not in the ACS manuals BSD checked
F0 04Topaz and Jewel (ACS value)ACR122U API manual v1.4
F0 11 / F0 12FeliCa 212K / 424K (ACS values)ACR122U API manual v1.4
FF 28JCOP 30 (ACS value)ACR1552U manual
FF + SAKUndefined card type; the second byte is the card's SAKACR122U and ACR1552U manuals

NTAG has no card name. Neither the PC/SC supplement nor the ACS manuals list NTAG separately. NTAG tags belong to the Ultralight family, but which name each ACS reader reports for them is something BSD still has to record on its own readers. Some ACS readers can also be set to report an "alternated" ATR: the ACR1552U manual, for example, shows MIFARE Plus SL1 cards as MIFARE Classic by default and with their own name only in the alternated setting.

Every ATR below is copied from an ACS reader manual, as labelled. None of them was captured by BSD; BSD will add ATRs from its own cards after testing them on its ACS readers.

CardATRHow to read itSource
MIFARE Classic 1K3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6AStorage card, SS 03, name 00 01ACR122U API v1.4, 3.1.1; ACR1552U ref. v1.05, 5.3.9
MIFARE Classic 4K3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 02 00 00 00 00 69Name 00 02ACR1552U ref. v1.05, 5.3.9
MIFARE Ultralight3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 03 00 00 00 00 68Name 00 03ACR1552U ref. v1.05, 5.3.9
MIFARE Ultralight C3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 3A 00 00 00 00 51Name 00 3A (the default; the alternated setting reports it as Ultralight)ACR1552U ref. v1.05, 5.3.9
FeliCa3B 8F 80 01 80 4F 0C A0 00 00 03 06 11 00 3B 00 00 00 00 42SS 11 (FeliCa), name 00 3BACR1552U ref. v1.05, 5.3.9 and the FeliCa example
NXP ICODE SLI (ISO 15693)3B 8F 80 01 80 4F 0C A0 00 00 03 06 0B 00 14 00 00 00 00 77SS 0B (ISO 15693 part 3), name 00 14ACR1552U ref. v1.05, 5.3.9
MIFARE DESFire3B 81 80 01 80 80ISO 14443-4 Type A; one historical byte 80, TCK 80ACR1552U ref. v1.05, 5.3.1.2
MIFARE DESFire3B 86 80 01 06 75 77 81 02 80 00ISO 14443-4 Type A; six historical bytes 06 75 77 81 02 80, which the manual says are the ATSACR122U API v1.4, 3.1.2
EZ-Link (ISO 14443-4 Type B)3B 88 80 01 1C 2D 94 11 F7 71 85 00 BEApplication data 1C 2D 94 11, protocol info F7 71 85, MBLI byte 00ACR1552U ref. v1.05, 5.3.1.2

Why the two DESFire ATRs differ

The ACR1552U manual gives the ATS of its DESFire example as 06 75 77 81 02 80 (the reply to FF CA 01 00 00). In that ATS, 06 is the length, 75 77 81 02 are protocol bytes, and only the last byte, 80, is a historical byte. The ACR1552U copies just that byte into its ATR, giving 3B 81 80 01 80 80. The ACR122U manual's example shows the whole ATS in the historical bytes. So the same card type can produce different ATRs on different ACS reader models. Compare ATRs only between readers of the same model and firmware, and confirm the card type with a command, as below.

  1. Starts 3B 8n 80 01 and contains A0 00 00 03 06? A contactless storage card. Read SS and NN NN from the tables above. Expected result: a name such as MIFARE Classic 1K (00 01) or Ultralight (00 03).
  2. Starts 3B 8n 80 01 without the RID? An ISO 14443-4 card. The historical bytes hint at the maker, but they are not a card name. Confirm with read-only commands: FF CA 01 00 00 returns the ATS of a Type A card, and the DESFire GetVersion command identifies DESFire cards. Both are in the card identification steps of the MIFARE test guide.
  3. Any other ATR? Usually a contact card. Parse it with the ISO 7816-3 rules above, then look it up in the public list described below. The historical bytes often name the chip or operating system.
  4. Confirm before you rely on it. An ATR shows a card type, not that you can read the card. Run the read-only test sequence for that type in the APDU test plan for ACS readers.

Memory cards on the ACR39U. SLE4442 and SLE4428 cards are not microprocessor cards, and the ACR39x reference manual tells the application to select the card type before working with them. What ATR Windows reports for them on an ACR39U, before and after that selection, is one of BSD's pending hardware checks, so this page does not state a value. The C# guide explains why contact cards have no UID.

MethodPlatformWhat you do
ACS QuickViewWindows, macOS, LinuxSelect the reader, insert or tap the card, read the ATR in the card details. No commands are sent. The simplest method.
ACS PC/SC Learning ToolWindows (ACR1252U SDK)Connect to the card; the card-state step shows the protocol, the ATR length and the ATR.
Your own codeWindows (winscard.dll), Linux and macOS (pcsc-lite)The ATR is in the reader state returned by SCardGetStatusChange, or from SCardStatus after connecting. Our C# example prints and decodes it.
pcsc_scan (pcsc-tools)Linux (pcsc-lite)Prints each card's ATR when it is inserted and, by default, analyses it with ATR_analysis and the smartcard_list file (see below).

certutil and PowerShell. Microsoft documents certutil -scinfo for listing the certificates on a smart card, and it is useful for checking that Windows sees the reader. Microsoft does not document ATR output for it, and Windows has no documented PowerShell cmdlet that returns a card's ATR, so we do not recommend either for reading ATRs. Use QuickView or code instead.

Copy the ATR exactly as the tool shows it, with every byte. A missing last byte is the most common reason an ATR "does not match" a list.

The best-known public ATR list is smartcard_list.txt, part of pcsc-tools, a set of free tools (GNU GPL, version 2 or later) for testing PC/SC readers and cards. Ludovic Rousseau, who also maintains the pcsc-lite PC/SC stack used on Linux and macOS, maintains pcsc-tools; the list itself is built from ATRs contributed by users. Its ATR_analysis script uses the list to name the card that matches an ATR.

  • Online parser: smartcard-atr.apdu.fr parses an ATR you paste in (interface bytes, protocols, historical bytes) and shows matching entries from the list. The parser code is part of the pyscard project.
  • The list and the tools: pcsc-tools.apdu.fr links to smartcard_list.txt and describes pcsc_scan, ATR_analysis, scriptor and gscriptor.
  • Missing ATRs: the pcsc-tools page asks users to report an ATR that is not yet in the list through the online parser, after which it is added to the list.

Use the list as a strong hint, not proof. Entries are contributed descriptions, one ATR can match several products, and a reader-built contactless ATR describes the card type rather than the exact chip version. An ATR is not secret and contains no UID or keys, but think twice before you submit ATRs from cards that belong to a customer's system.

What you seeLikely causeWhat to do
No ATR at allNo card detected, wrong reader entry, or another program holds the cardWork through card not read in the troubleshooting centre.
TCK check fails, or the length does not match T0The ATR was copied incompletely or with a typing errorCopy it again from the tool's log rather than retyping it.
Same card type, different ATR on another readerReaders build ISO 14443-4 ATRs differently, or one reader uses an alternated ATR settingCompare ATRs from the same reader model and firmware only; confirm the type with a command.
An NTAG shows the Ultralight name 00 03Neither PC/SC nor the ACS manuals list NTAG separatelyExpected. Read page 3 to check the NDEF capability container (how).
A card name FF xxThe reader does not know the card type; xx is its SAKIdentify the card by other means (SAK, ATS, version command) as in the MIFARE guide.
The public list finds no matchA new or uncommon card, or a reader-built ATR that only names a typeParse it with the rules above and ask the card supplier for the expected ATR.

Checked on 30 Nov 2026 and summarised in BSD's own words. ISO/IEC 7816-3 is a paid standard; the structure described here follows the public summary listed below and the PC/SC specifications.

  • PC/SC Workgroup specifications: Part 3 "Requirements for PC-Connected Interface Devices" rev. 2.01.09, section 3.1.3.2.3 (ATR for contactless smart cards and storage cards); Part 3 Supplemental Document rev. 2.01.09 (RID, SS and card-name tables)
  • ACS, ACR122U Application Programming Interface v1.4, section 3.1 (ATR generation, MIFARE Classic 1K and DESFire examples), from the ACR122U downloads page
  • ACS, ACR1552U Series Reference Manual v1.05, sections 5.3.1 and 5.3.9 (ATR formats, card names, supported PICC ATRs, ATS example), from the ACR1552U downloads page
  • ACS, ACR39x Reference Manual v1.03, sections 3.1 (TA2 and PPS handling) and 5.3 (card type selection), listed on the ACR39U downloads page (checked 30 Nov 2026)
  • Wikipedia: Answer to reset (public summary of the ISO/IEC 7816-3 ATR: TS, T0, interface bytes, historical bytes, TCK rule)
  • pcsc-tools and the smart card ATR parser (Ludovic Rousseau): tools, licence, smartcard_list.txt and how missing ATRs are reported
  • Microsoft Learn: Smart card troubleshooting (what certutil -scinfo is documented for)

BSD Infotech is an independent ACS supplier and integrator, not the manufacturer. ACS, the ACS logo and ACS product names belong to Advanced Card Systems Ltd. MIFARE, MIFARE Classic, MIFARE Ultralight, MIFARE DESFire, MIFARE Plus, NTAG and ICODE are trademarks of NXP B.V. FeliCa is a trademark of Sony Group Corporation. Windows is a trademark of Microsoft Corporation.

Need to recognise card types in your software?

Tell us the readers and cards you use. BSD Infotech builds applications that detect the card type from the ATR and handle MIFARE, DESFire and memory cards.