Tools

    ISO 8583 message decoder and compare

    Decode an ISO 8583 message in a declared dialect, or compare two messages field by field.

    • Runs in your browser
    • No sign-up

    Input

    MTI 4 ASCII digits; binary bitmaps; numeric and text fields in ASCII; LL/LLL lengths as ASCII digits; DE 52, 55, 64, 128 binary.

    Result

    MTI 0100, authorisation, request, from acquirer (ISO 8583:1987); 15 fields decoded, 243 bytes, no errors.

    MTI
    0100 (30 31 30 30): authorisation, request, from acquirer (ISO 8583:1987)
    Primary bitmap
    72 24 06 80 20 C0 92 00
    Fields in the bitmap
    2, 3, 4, 7, 11, 14, 22, 23, 25, 35, 41, 42, 49, 52, 55
    DENameFormatValueBytes (offset)
    2Primary account numbern..19 LLVAR476173******001031 36 •• •• •• •• •• •• … (16 bytes hidden) (@12, 18 bytes)
    3Processing coden6000000
    type 00 goods and services; from account 00 default; to account 00 default
    30 30 30 30 30 30 (@30, 6 bytes)
    4Amount, transactionn1200000000255030 30 30 30 30 30 30 30 32 35 35 30 (@36, 12 bytes)
    7Transmission date and time (MMDDhhmmss)n10113014301531 31 33 30 31 34 33 30 31 35 (@48, 10 bytes)
    11System trace audit number (STAN)n600012330 30 30 31 32 33 (@58, 6 bytes)
    14Expiration date (YYMM)n4281232 38 31 32 (@64, 4 bytes)
    22POS entry moden3051
    PAN entry 05: chip (contact ICC); PIN entry 1: terminal can accept PINs
    30 35 31 (@68, 3 bytes)
    23Card sequence numbern300130 30 31 (@71, 3 bytes)
    25POS condition coden200
    normal presentment
    30 30 (@74, 2 bytes)
    35Track 2 dataz..37 LLVAR476173******0010=2812201*************33 37 •• •• •• •• •• •• … (37 bytes hidden) (@76, 39 bytes)
    41Card acceptor terminal IDans8"TERM0001"54 45 52 4D 30 30 30 31 (@115, 8 bytes)
    42Card acceptor ID (merchant)ans15"MERCHANT0000001"4D 45 52 43 48 41 4E 54 30 30 30 30 30 30 31 (@123, 15 bytes)
    49Currency code, transactionn3986
    BRL
    39 38 36 (@138, 3 bytes)
    52PIN data (encrypted PIN block)b641A2B3C4D5E6F70811A 2B 3C 4D 5E 6F 70 81 (@141, 8 bytes)
    55ICC (chip) data, BER-TLVb..255 LLLVAR
    • 9F26 Application Cryptogram (ARQC/TC/AAC) 8E19ED4B98AE5A41
    • 9F27 Cryptogram Information Data (CID) 80
      ✓ b1 Cryptogram type (b8-b7): ARQC
      ✓ b1 Reason/advice code (b3-b1): No information given
    • 9F10 Issuer Application Data (IAD) 06011203A00000
      → Visa VIS/VCPS profile, IAD format 1: DKI 01, CVN 18 (12), CVR 03A00000
      · Visa VIS/VCPS profile, IAD format 1 (CVN high nibble 1). Other issuers or schemes may use this tag differently.
      · Byte 1 (06): length of the Visa discretionary data
      · Byte 2: Derivation Key Index 01
      · Byte 3: Cryptogram Version Number 12 (CVN 18)
      · Bytes 4–7: Card Verification Results 03 A0 00 00 (first byte is the CVR length)
      · CVR: Second GENERATE AC: not requested
      · CVR: First GENERATE AC (contactless: GPO): ARQC
    • 9F37 Unpredictable Number (UN) 9BADBCAB
    • 9F36 Application Transaction Counter (ATC) 0027
    • 95 Terminal Verification Results (TVR) 0000040000
      ✓ b3 bit3: Online CVM captured (called Online PIN entered before EMV 4.4)
    • 9A Transaction Date 261130
      → 2026-11-30
    • 9C Transaction Type 00
      → 00 (goods and services)
    • 9F02 Amount, Authorised (Numeric) 000000002550
      → 25.50 BRL (minor units: 2550)
    • 5F2A Transaction Currency Code 0986
      → 986 (BRL)
    • 82 Application Interchange Profile (AIP) 3900
      ✓ b1 bit6: DDA supported
      ✓ b1 bit5: Cardholder verification is supported
      ✓ b1 bit4: Terminal risk management is to be performed
      ✓ b1 bit1: CDA supported
    • 9F1A Terminal Country Code 0076
      → 076 (Brazil)
    • 9F33 Terminal Capabilities E0F0C8
      ✓ b1 bit8: Card data input: manual key entry
      ✓ b1 bit7: Card data input: magnetic stripe
      ✓ b1 bit6: Card data input: IC with contacts
      ✓ b2 bit8: CVM: plaintext PIN for ICC verification
      ✓ b2 bit7: CVM: enciphered PIN for online verification
      ✓ b2 bit6: CVM: signature (paper)
      ✓ b2 bit5: CVM: enciphered PIN for offline verification (RSA; before EMV 4.4 simply "enciphered PIN for offline verification")
      ✓ b3 bit8: Security: SDA
      ✓ b3 bit7: Security: DDA
      ✓ b3 bit4: Security: CDA
    • 5A Application Primary Account Number (PAN) •• •• •• •• •• •• … (8 bytes hidden)
    30 39 31 9F 26 08 8E 19 ED 4B 98 AE 5A 41 9F 27 01 80 9F 10 07 06 01 12 03 A0 00 00 9F 37 04 9B AD BC AB 9F 36 02 00 27 95 05 00 00 04 00 00 9A 03 26 11 30 9C 01 00 9F 02 06 00 00 00 00 25 50 5F 2A 02 09 86 82 02 39 00 9F 1A 02 00 76 9F 33 03 E0 F0 C8 5A 08 •• •• •• •• •• •• •• •• (@149, 94 bytes)

    Use test data. Card numbers and track data are masked on screen unless you choose to show them; the message itself never leaves your browser.

    Migrating hosts and DE 55 no longer matches? IDNTEQ compares the traces field by field. EMV transaction troubleshooting

    About this tool

    Runs in your browser. This page loads no analytics or third-party scripts and does not send what you type.

    Paste a message in hex and choose its dialect. The tool reads the MTI and bitmaps, decodes each data element with its format, value and bytes, parses DE 55 as TLV and explains DE 3, 22, 25 and 39. Compare mode lines up two messages, such as a request and its response, and marks what differs.

    Dialects

    ISO 8583 fixes the data element numbers and their meaning. The wire format varies. Each network and host chooses how the MTI, the numbers and the lengths are encoded, so the decoder works only in the dialect you select and does not try another one on its own. Anything that does not fit is reported with its byte offset and the bytes around it.

    Two dialects are available. ASCII: MTI as 4 ASCII digits, binary bitmaps, numeric and text fields in ASCII, variable lengths as 2 or 3 ASCII digits, and DE 52, 55, 64 and 128 as binary; this is the encoding used in the EMV transaction walkthrough. BCD (the common ISO 8583:1987 binary layout): MTI as 2 BCD bytes, binary bitmaps, numeric fields as packed BCD, lengths as BCD (1 byte for LL, 2 bytes for LLL), track data in BCD with D as the separator, and text in ASCII. A 2-byte binary or 4-digit ASCII length header can be declared and is checked against the message length.

    What is decoded

    The primary bitmap and, when bit 1 is set, the secondary bitmap; then every data element from 2 to 128 in bitmap order, with its ISO 8583:1987 name and format, its value, its bytes on the wire and its offset. DE 55 is parsed as BER-TLV with the EMV tag names. DE 3 (processing code), DE 22 (POS entry mode), DE 25 (POS condition code), DE 39 (response code) and the currency codes are explained from lists of common values; a value outside the list is shown as network-specific.

    The PAN (DE 2 and 34), track data (DE 35, 36 and 45) and the card data tags inside DE 55 (5A, 57, 5F20 and others) are masked by default, in the value and in the bytes. Tick the box to show them.

    Comparing two messages

    Compare mode decodes two messages, each in its own dialect, and lists every data element present in either: the same, different, only in A or only in B. The values are compared after decoding, so a message from a host that uses BCD can be compared with one in ASCII. When both carry DE 55, the chip data is also compared tag by tag. A response MTI (0110 for 0100) is recognised.

    Limits

    Only the 1987 field layout is implemented. EBCDIC text, DE 65 (a further bitmap) and the subfields of private and national fields (48, 60 to 63, 120 to 127) are not decoded: those fields are read as text, and binary content in them stops the decode with an error. DE 55 is limited to 255 bytes, as in the walkthrough encoder. Network-specific layouts need their own dialect.

    Spec references

    • ISO 8583:1987 (message type indicator, bitmaps, data elements 1–128)
    • EMV 4.4 Book 3 Annex A (data elements carried in DE 55)
    • EMV 4.4 Book 4 (terminal-generated authorisation response codes Y1, Z1, Y3, Z3)

    Verified against

    Specifications
    • ISO 8583:1987 (MTI, bitmaps, data elements 1–128)
    • EMV 4.4 Book 3 Annex A (DE 55 tags)
    Published examples in the tests
    None: no published example with these inputs was found. The checks below are the ones the tests run.
    Other checks in the tests
    • Round trip with the walkthrough encoder (ASCII dialect) for every field it writes
    • A hand-built BCD message: every field, an odd-length PAN, errors with byte offsets
    • Secondary bitmap and DE 128; DE 65 reported, not guessed; masking of PAN, track data and DE 55 card tags
    Inputs
    A message in hex in the ASCII or BCD dialect, with an optional length header.
    Not covered
    No EBCDIC, no DE 65, no subfields of private fields (48, 60–63, 120–127); network-specific layouts need their own dialect.
    Last reviewed