Tools
Every tool runs in your browser. Nothing you paste is sent to a server, stored, or logged.
- BER-TLV decoder
Decode EMV BER-TLV data in your browser: tag names, lengths, values, and bit meanings, with masked PAN and share links that never include card data.
- TVR decoder (95)
Decode and build the Terminal Verification Results (TVR, tag 95) bit by bit, with notes on what usually sets each bit.
- TSI decoder (9B)
Decode and build the Transaction Status Information (TSI, tag 9B): the steps the terminal performed.
- AIP decoder (82)
Decode and build the Application Interchange Profile (AIP, tag 82): the functions the card supports.
- AUC decoder (9F07)
Decode and build the Application Usage Control (AUC, tag 9F07): where and how the card may be used.
- Terminal capabilities decoder (9F33)
Decode and build the Terminal Capabilities (tag 9F33): input, cardholder verification, and security functions.
- Additional terminal capabilities decoder (9F40)
Decode and build the Additional Terminal Capabilities (tag 9F40): transaction types, input and output functions.
- CID decoder (9F27)
Decode the Cryptogram Information Data (CID, tag 9F27): which cryptogram the card returned.
- Terminal type decoder (9F35)
Decode the Terminal Type (tag 9F35): who operates the terminal and whether it is attended and online.
- CTQ decoder (9F6C)
Decode the Card Transaction Qualifiers (CTQ, tag 9F6C): what a Visa contactless card asks the reader to do.
- TTQ decoder (9F66)
Decode the Terminal Transaction Qualifiers (TTQ, tag 9F66): what the contactless reader supports and requires for this transaction.
- Form factor indicator decoder (9F6E)
Decode the Visa Form Factor Indicator (FFI, tag 9F6E): the kind of device used to pay and its features.
- IAD decoder (9F10)
Decode the Issuer Application Data (IAD, tag 9F10) in the CCD, Visa, and Mastercard M/Chip layouts, including the Card Verification Results (CVR).
- CVM List decoder (8E)
Decode the Cardholder Verification Method (CVM) List, tag 8E: amounts X and Y and every rule with its method and condition.
- CVM Results decoder (9F34)
Decode the Cardholder Verification Method (CVM) Results, tag 9F34: the method performed, its condition, and the result.
- DOL decoder (PDOL, CDOL1, CDOL2, DDOL)
Decode a Data Object List such as PDOL, CDOL1, CDOL2, or DDOL, and split the concatenated data into fields.
- Hex, ASCII, decimal, binary, and BCD converter
Convert between hex, ASCII, decimal, binary, and BCD in both directions, with exact results for large numbers.
- Luhn checker
Check a number with the Luhn algorithm and see every step of the calculation. It never generates numbers.
- Test PAN generator
Build a test PAN from a prefix and a length, and see how the Luhn check digit is calculated. For testing and learning only.
- ISO 8583 bitmap decoder
Decode the primary and secondary bitmaps of an ISO 8583 message and see which data elements are present, or build a bitmap from a list of fields.
- Mastercard IPM DE 22 decoder
Decode the 12 subfields of DE 22 (point of service entry mode) in Mastercard IPM clearing messages.
- Mastercard CIS DE 61 decoder
Decode the subfields of DE 61 (point-of-service data) in Mastercard CIS authorization messages.
- Base64 encoder and decoder
Encode text or hex as Base64, or decode Base64 back to hex and text, in your browser.
- Bitwise calculator
Apply AND, OR, XOR, or NOT to hex values byte by byte.
- SHA-1 and SHA-256 hash calculator
Compute the SHA-1 or SHA-256 hash of text or hex data with the Web Crypto API of your browser.
- Julian date converter
Convert a date to its day of the year (YDDD, YYDDD, YYYYDDD) and back.
- Country codes (ISO 3166)
Look up the three-digit ISO 3166 country codes used in EMV and ISO 8583 messages, with their names.
- Currency codes (ISO 4217)
Look up the three-digit ISO 4217 currency codes used in EMV and ISO 8583 messages, with their alphabetic code, name, and minor units.
- Merchant category codes (MCC, ISO 18245)
Look up the four-digit merchant category codes (MCC) that classify every merchant in card payments, with a plain description.
- CAVV and AAV decoder (3-D Secure)
Split a Visa CAVV or a Mastercard AAV into bytes, check its length and format, and read the ECI values and CAVV results codes. It never validates or computes the value.
- Card Status Update (CSU) builder and decoder
Toggle the bits of a Card Status Update (CSU), the four bytes an issuer sends back to the chip, and read what each one asks the card to do.
How an EMV transaction flows
The main steps between a chip card and a terminal, in order. Each step links to the tags and tools that explain its data.
SELECT
The terminal chooses the payment application by its AID. The card answers with the PDOL, the list of terminal data it needs next.
GET PROCESSING OPTIONS
The terminal sends the PDOL data. The card returns the AIP, the functions it supports, and the AFL, the records to read.
READ RECORD
The terminal reads each record that the AFL lists: the PAN, the expiry date, the CVM List, the CDOL1, and the certificates.
Offline data authentication
The terminal checks the signed card data with SDA, DDA, or CDA, as the AIP allows. A failure sets a bit in the TVR.
Cardholder verification
The terminal walks the CVM List to choose how to verify the cardholder, such as a PIN or a signature, and stores the outcome in the CVM Results.
Terminal risk management
The terminal checks the floor limit, random selection, and velocity, and sets the matching bits in the TVR and the TSI.
GENERATE AC
The terminal asks the card for a cryptogram. The CID says what the card returned: a TC to approve offline, an ARQC to go online, or an AAC to decline. The IAD carries issuer data.
Online authorization
The ARQC and the chip data travel to the issuer in DE 55 of an ISO 8583 message. The issuer answers with a response code and can add issuer authentication data.