Tools

    EMV TLV parser and builder

    Decode BER-TLV with tag names, decoded values and the EMV bitmaps; DOL mode and share links.

    • Runs in your browser
    • No sign-up

    Input

    Paste an FCI, GPO response, record dump, or a DOL.

    Result

    5 data objects decoded.

    6F File Control Information (FCI) Template [26]
    84 Dedicated File (DF) Name [14]
    315041592E5359532E4444463031
    A5 File Control Information (FCI) Proprietary Template [8]
    88 Short File Identifier (SFI) [1]
    02
    5F2D Language Preference [2]
    656E
    → en

    Card data not matching the profile it was built from? IDNTEQ reviews EMV profiles. EMV profile development

    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 BER-TLV blob (an FCI, GPO response, record dump or DOL) and get an annotated tree with tag names, decoded dates, amounts and currencies, and bit-by-bit decoding of the bitmaps the tool knows (TVR, AIP, AUC, CID and the others listed below). It runs in your browser.

    What it decodes

    The parser walks BER-TLV structures per ISO/IEC 8825-1 and the EMV Book 3 encoding rules: multi-byte tags, multi-byte lengths (81/82/83), constructed templates (6F, 70, 77, A5, BF0C), and nested TLV. Known tags are annotated from the IDNTEQ tag dictionary, and value tags with a defined interpretation (dates, amounts, country and currency codes, ASCII fields) are decoded inline.

    The TVR (95), AIP (82), AUC (9F07), CID (9F27), TTQ (9F66, first two bytes), terminal capabilities (9F33), additional terminal capabilities (9F40), CTQ (9F6C, as defined for the Visa kernel and kernel 7), the CVM results (9F34) and the CVM list (8E, rule by rule) are decoded field by field. Visa issuer application data (9F10) is split into its fields for formats 0, 1, 2 and 3 of the Visa VIS/VCPS profile; CVR bits taken from public sources that could not be checked against Visa documents are marked as such. The parser lists a set bit the dictionary does not name as unnamed instead of dropping it. Other tags are shown with their name and value; proprietary formats such as Mastercard issuer application data are not interpreted. Amounts are shown in minor units, with a decimal point only when the transaction currency (5F2A) is in the same input.

    Partial results for malformed input

    Logs are often truncated. When the input is malformed the parser decodes as far as it can and reports the byte offset where it failed. 00 padding between data objects is skipped, as EMV allows; trailing 00 or FF filler is reported. Hex with a stray character or an odd number of digits is rejected without repair, and a value that is not valid for its tag (a non-BCD amount, an impossible date, a wrong length) is flagged instead of decoded.

    DOL mode and builder

    Toggle DOL mode to parse a CDOL1/CDOL2/PDOL/TDOL as a list of tag + one-byte length entries (no values). Tool state, including DOL mode, can be shared as a link: it is kept in the URL fragment (#data=…), which the browser does not send to the server but which stays in the link and in the browser history and can be read by scripts on the page. Share test data only.

    Spec references

    • EMV 4.4 Book 3 Annex B (BER-TLV coding)
    • EMV 4.4 Book 3 §5.4 (DOL)
    • ISO/IEC 8825-1
    • EMV Book 1 §11 (Application Selection / FCI)

    Verified against

    Specifications
    • EMV 4.4 Book 3 Annex B (BER-TLV coding)
    • EMV 4.4 Book 3 §5.4 (DOL)
    • EMV 4.4 Book 3 Annex A (data elements) and Annex C (AIP, CVM List, TVR)
    • EMV 4.4 Book 4 Annex A (terminal capabilities, CVM Results)
    Published examples in the tests
    Other checks in the tests
    • Parse and serialise round trip, long lengths, truncated values, bad hex, indefinite lengths and nesting limits
    • Bitmaps checked bit by bit against Book 3 (AIP, TVR, CID) and Book 4 (terminal capabilities); DOL lengths of 128 and above
    • Field rules: dates, BCD amounts, fixed lengths, exponent lengths
    Inputs
    Hex (spaces, line breaks and 0x allowed), up to 64 KiB, 32 nesting levels and 5000 data objects. DOL mode for CDOL1/CDOL2/PDOL/TDOL.
    Not covered
    Proprietary layouts other than Visa IAD formats 0–3 (for example Mastercard IAD) are shown raw; tags outside the dictionary are listed by number only.
    Last reviewed