1001Ferramentas
๐Ÿ”Dev

Pix Decoder

Decode Brazilian Pix BR Code (text starting with 0002...) extracting key, amount, beneficiary, city and identifier.

How does the BR Code work?

Pix uses the EMV-QR Code standard with TLV fields. Each field has ID (2 digits), length (2 digits) and value.

Common fields: 00 (version), 26 (Pix key in subtags), 52 (category), 53 (currency 986 = BRL), 54 (optional amount), 58 (BR), 59 (name), 60 (city), 62 (txid), 63 (CRC16 of preceding bytes).

CRC validation ensures integrity.

Related Tools