Smart Card ATR Explained: Identify a Card from its ATR
← Back to the smart card SDK and developer centre
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.
What an ATR Is, for Contact and Contactless Cards
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 ATR | The card's chip | The reader, following PC/SC Part 3 |
| Format | ISO/IEC 7816-3, any valid combination of interface bytes | Always starts 3B 8n 80 01 |
| What identifies the card | The whole ATR, mostly the historical bytes; compare with a known list | Storage 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 ATR | No: 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.
ATR Structure per ISO 7816-3: TS, T0, TA TB TC TD, Historical Bytes, TCK
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.
| Byte | Name | What it tells you |
|---|---|---|
TS | Initial character | 3B = direct convention, 3F = inverse convention (how bits are coded on the wire). Every ATR starts with one of the two. |
T0 | Format byte | High 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. |
TA1 | Interface byte | Clock rate conversion factor Fi (high nibble) and baud rate adjustment Di (low nibble). Absent means the defaults Fi = 372, Di = 1. |
TB1 | Interface byte | Programming voltage in older cards; deprecated since the 2006 edition of ISO/IEC 7816-3, and readers ignore it. |
TC1 | Interface byte | Extra guard time N between characters (0 to 255). Absent means 0. |
TD1, TD2 ... | Interface byte | High 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. |
TA2 | Specific mode byte | If 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 ... TK | Historical bytes | Up 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. |
TCK | Check byte | Present 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. |
How to Parse an ATR, Step by Step
- Check
TS. It must be3Bor3F. - Read
T0. NoteK(low nibble). Use the high nibble to count which ofTA1toTD1follow, and read them in the order TA, TB, TC, TD. - Follow the
TDchain. If aTDbyte 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 noTD. - Take the next
Kbytes as historical bytes. - Check
TCK. If any protocol other than T=0 was named, one byte must remain, and the XOR of everything fromT0to the end must be00. 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.
The PC/SC Contactless ATR (Pseudo-ATR)
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).
Standard (SS) and Card Name (NN NN) Byte Tables
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).
| SS | Standard | SS | Standard |
|---|---|---|---|
00 | No information given | 0A | ISO 15693, part 2 |
01 | ISO 14443 A, part 1 | 0B | ISO 15693, part 3 |
02 | ISO 14443 A, part 2 | 0C | ISO 15693, part 4 |
03 | ISO 14443 A, part 3 | 0D | Contact (ISO/IEC 7816-10), I2C |
05 | ISO 14443 B, part 1 | 0E | Contact (ISO/IEC 7816-10), extended I2C |
06 | ISO 14443 B, part 2 | 0F | Contact (ISO/IEC 7816-10), 2-wire bus protocol |
07 | ISO 14443 B, part 3 | 10 | Contact (ISO/IEC 7816-10), 3-wire bus protocol |
09 | ISO 15693, part 1 | 11 | FeliCa |
40 | Low-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 NN | Card name | Where documented |
|---|---|---|
00 00 | No information given | PC/SC supplement |
00 01 | MIFARE Classic 1K ("Mifare Standard 1K") | PC/SC supplement; ACR122U and ACR1552U manuals |
00 02 | MIFARE Classic 4K | PC/SC supplement; ACR122U and ACR1552U manuals |
00 03 | MIFARE Ultralight | PC/SC supplement; ACR122U and ACR1552U manuals |
00 07 | SRI X4K | PC/SC supplement; ACR1552U (optional SRI support) |
00 0E | SRF55V10P (Infineon my-d vicinity) | PC/SC supplement; ACR1552U |
00 13 | LRI512 | PC/SC supplement; ACR1552U lists it for ST LRI |
00 14 | ICODE SLI | PC/SC supplement; ACR1552U |
00 26 | MIFARE Mini | PC/SC supplement; ACR122U and ACR1552U manuals |
00 2F / 00 30 | Jewel tag / Topaz NFC tag | PC/SC supplement; the ACR1552U uses 00 30 for "Topaz and Jewel" |
00 35 | i-Code SL2 | PC/SC supplement; ACR1552U lists it for ICODE SLIX/SLIX2 |
00 36 to 00 39 | MIFARE Plus SL1 2K, SL1 4K, SL2 2K, SL2 4K | PC/SC supplement; ACR1552U manual |
00 3A | MIFARE Ultralight C | PC/SC supplement; ACR1552U manual |
00 3B | FeliCa | PC/SC supplement; ACR1552U manual |
00 3D | MIFARE Ultralight EV1 | PC/SC supplement only; not in the ACS manuals BSD checked |
F0 04 | Topaz and Jewel (ACS value) | ACR122U API manual v1.4 |
F0 11 / F0 12 | FeliCa 212K / 424K (ACS values) | ACR122U API manual v1.4 |
FF 28 | JCOP 30 (ACS value) | ACR1552U manual |
FF + SAK | Undefined card type; the second byte is the card's SAK | ACR122U 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.
Worked Examples from the ACS Manuals
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.
| Card | ATR | How to read it | Source |
|---|---|---|---|
| MIFARE Classic 1K | 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A | Storage card, SS 03, name 00 01 | ACR122U API v1.4, 3.1.1; ACR1552U ref. v1.05, 5.3.9 |
| MIFARE Classic 4K | 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 02 00 00 00 00 69 | Name 00 02 | ACR1552U ref. v1.05, 5.3.9 |
| MIFARE Ultralight | 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 03 00 00 00 00 68 | Name 00 03 | ACR1552U ref. v1.05, 5.3.9 |
| MIFARE Ultralight C | 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 3A 00 00 00 00 51 | Name 00 3A (the default; the alternated setting reports it as Ultralight) | ACR1552U ref. v1.05, 5.3.9 |
| FeliCa | 3B 8F 80 01 80 4F 0C A0 00 00 03 06 11 00 3B 00 00 00 00 42 | SS 11 (FeliCa), name 00 3B | ACR1552U 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 77 | SS 0B (ISO 15693 part 3), name 00 14 | ACR1552U ref. v1.05, 5.3.9 |
| MIFARE DESFire | 3B 81 80 01 80 80 | ISO 14443-4 Type A; one historical byte 80, TCK 80 | ACR1552U ref. v1.05, 5.3.1.2 |
| MIFARE DESFire | 3B 86 80 01 06 75 77 81 02 80 00 | ISO 14443-4 Type A; six historical bytes 06 75 77 81 02 80, which the manual says are the ATS | ACR122U 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 BE | Application data 1C 2D 94 11, protocol info F7 71 85, MBLI byte 00 | ACR1552U 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.
Identify a Card from its ATR in Four Steps
- Starts
3B 8n 80 01and containsA0 00 00 03 06? A contactless storage card. ReadSSandNN NNfrom the tables above. Expected result: a name such as MIFARE Classic 1K (00 01) or Ultralight (00 03). - Starts
3B 8n 80 01without 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 00returns 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. - 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.
- 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.
How to See a Card's ATR
| Method | Platform | What you do |
|---|---|---|
| ACS QuickView | Windows, macOS, Linux | Select 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 Tool | Windows (ACR1252U SDK) | Connect to the card; the card-state step shows the protocol, the ATR length and the ATR. |
| Your own code | Windows (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.
Look Up an Unknown ATR: Ludovic Rousseau's smartcard_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.
ATR Problems and What They Mean
| What you see | Likely cause | What to do |
|---|---|---|
| No ATR at all | No card detected, wrong reader entry, or another program holds the card | Work through card not read in the troubleshooting centre. |
TCK check fails, or the length does not match T0 | The ATR was copied incompletely or with a typing error | Copy it again from the tool's log rather than retyping it. |
| Same card type, different ATR on another reader | Readers build ISO 14443-4 ATRs differently, or one reader uses an alternated ATR setting | Compare ATRs from the same reader model and firmware only; confirm the type with a command. |
An NTAG shows the Ultralight name 00 03 | Neither PC/SC nor the ACS manuals list NTAG separately | Expected. Read page 3 to check the NDEF capability container (how). |
A card name FF xx | The reader does not know the card type; xx is its SAK | Identify the card by other means (SAK, ATS, version command) as in the MIFARE guide. |
| The public list finds no match | A new or uncommon card, or a reader-built ATR that only names a type | Parse it with the rules above and ask the card supplier for the expected ATR. |
Sources
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 -scinfois 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.
