Powered by
Share this page on
Article provided by Wikipedia

ISO/IEC 7813 is an international standard codified by the "International Organization for Standardization and "International Electrotechnical Commission that defines properties of financial transaction cards, such as "ATM or "credit cards.[1]



The standard defines:["citation needed]

Physical characteristics[edit]

ISO/IEC 7813 specifies the following physical characteristics of the card, mostly by reference to other standards:["citation needed]

Embossed characters 
by reference to "ISO/IEC 7811
Embossing of expiration date 
the format (MM/YY or MM-YY)
"Magnetic stripe 
by reference to "ISO/IEC 7811
"Integrated circuit with contacts 
by reference to "ISO/IEC 7816-1
Integrated circuit without contacts 
by reference to ISO/IEC 10536-1, "ISO/IEC 14443-1, and "ISO/IEC 15693-1

Magnetic tracks[edit]

Track 1[edit]

The Track 1 structure is specified as:["citation needed]

The maximum record length is 79 alphanumeric characters.


%B4815881002861896^YATES/EUGENE JOHN         ^37829821000123456789?

%B4815881002861896^YATES/EUGENE L            ^^^0000000      00998000000?

Track 2[edit]

The Track 2 structure is specified as:["citation needed]

The maximum record length is 40 numeric digits (e.g., 5095700000000).["citation needed]

Track 3[edit]

Track 3 is virtually unused by the major worldwide networks and often isn't even physically present on the card by virtue of a narrower magnetic stripe.["citation needed]

A notable exception to this is Germany, where Track 3 content was used nationally as the primary source of authorization and clearing information for debit card processing prior to the adoption of the "SECCOS" ICC standards. Track 3 is standardized nationally to contain both the cardholder's bank account number and branch sort code (BLZ).["citation needed]


Parsing Track 1 and Track 2 can be done with "Regular Expressions. Included here is just the "Regular Expression for parsing Track 1.["citation needed]

Track 1[edit]


This "Regex will capture all of the important fields into the following groups:["citation needed]


External links[edit]

Reference implementations[edit]

) ) WikipediaAudio is not affiliated with Wikipedia or the WikiMedia Foundation.