Skip to main content
Uttir

EMV TLV Parser

Decode an EMVCo tag-length-value payload into a readable tree. Same format used by PIX, QRIS, PromptPay, DuitNow, VietQR, and BharatQR.

EMV TLV Parser — EMVCo merchant-presented QR codes — the same document used for PIX, QRIS, PromptPay, DuitNow, VietQR, BharatQR, and most national QR-payment schemes — encode every field as a TLV triple: 2 hex digits of tag, 2 hex digits of length, then the value. Tags can nest, and a high bit on the first tag digit marks a constructed (nested) tag like 26 or 62.

Parsing runs entirely in your browser using local JavaScript. The QR payload never leaves your device.

Was EMV TLV Parser useful?

What is EMV TLV Parser?

EMVCo merchant-presented QR codes — the same document used for PIX, QRIS, PromptPay, DuitNow, VietQR, BharatQR, and most national QR-payment schemes — encode every field as a TLV triple: 2 hex digits of tag, 2 hex digits of length, then the value. Tags can nest, and a high bit on the first tag digit marks a constructed (nested) tag like 26 or 62.

This parser walks the payload character by character and returns a readable tree. Use it to debug a payment integrator, sanity-check a QR you scanned, or reverse-engineer an unknown merchant payload. Parsing happens entirely in your browser — useful for production data, not just synthetic test values.

How to use it

  1. Paste a hex or ASCII payload

    Any string of EMVCo TLV data. Examples are provided.

  2. Read the decoded tree

    Each tag is shown with its length, its value, and any nested children.

  3. Copy or download the result

    Save the parsed tree as JSON for later comparison.

Examples

Decode a static QRIS EMVCo payload

Walk every 2-digit tag and 2-digit length prefix down to nested merchant account fields and CRC.

0002010102115204581253033605802ID5910Kopi Senja6007Jakarta6304DA15

Result: Tag 00 = 01 (Format), Tag 01 = 11 (Static), Tag 52 = 5812 (MCC), Tag 53 = 360 (IDR), Tag 58 = ID, Tag 59 = Kopi Senja, Tag 60 = Jakarta, Tag 63 = DA15 (CRC valid)

Verify a dynamic fixed-amount QRIS string

Confirm Tag 01 flips to 12 (dynamic) and Tag 54 carries the fixed transaction total.

0002010102125204581253033605405250005802ID5910Kopi Senja6007Jakarta630425B3

Result: Tag 01 = 12 (Dynamic), Tag 54 = 25000 (IDR amount), Tag 63 = 25B3 (CRC valid)

Frequently asked questions

Related tools