APDU Parser
Decode ISO/IEC 7816-4 command APDUs (Case 1–4, short and extended length) and response APDUs (with SW1/SW2 status-word lookup against the ISO + GlobalPlatform + EMV common dictionary). Auto-detect or force command vs response.
Input
Decoded
APDU in one line
An APDU (Application Protocol Data Unit) is the message format used between a smart-card terminal and the card. ISO/IEC 7816-4 defines four cases — combinations of command-data (Lc) and expected-response (Le) presence — and two length forms (short, where each length field is 1 byte; and extended, where they are 3 bytes). This parser handles all eight combinations and, on the response side, decodes the SW1/SW2 status word against the common dictionary (ISO 7816-4, GlobalPlatform, EMV).
Spec
ISO/IEC 7816-4 (and Annex G for extended length).