PIX QR Code Explained

How Brazil's EMV-based QR payment system works

3B+
Monthly transactions
700+
Participating banks
150M+
Registered users
R$999,999.99
Max per transaction
0%
Fee for individuals
CRC16
Security checksum

Static vs Dynamic PIX QR

FeatureStatic QRDynamic QR
AmountNot presetPre-filled
ReferenceNot setIncluded
ExpiryNoOptional
Use caseShops, P2PInvoices, e-commerce
Reusable❌ One-time
API required✅ Bank API

PIX Key in the QR Code

A PIX QR code does not contain a direct bank account number or IBAN. Instead it encodes:

  • The EMV payload containing the PIX key (CPF, CNPJ, phone, email or UUID)
  • Merchant name and city
  • Optional amount (pre-filled for dynamic QR codes)
  • CRC16 checksum at the end

The payer's bank reads the payload, resolves the PIX key via BCB's directory service (DICT) and routes the payment instantly to the correct recipient.

Technical Format: EMV MPM

PIX uses EMV Merchant Presented Mode (MPM) — the same standard as QRIS in Indonesia and PromptPay in Thailand. The payload is made up of TLV (Tag-Length-Value) data objects.

TagContentDescription
0001Payload Format Indicator
0111 / 12Static (11) or Dynamic (12)
26PIX Merchant Account Info
26.00BR.GOV.BCB.PIXPIX AID (Application ID)
26.01key@email.comPIX Key
520000Merchant Category Code
53986Currency (BRL)
54150.00Amount (optional)
58BRCountry Code
59Merchant NameMerchant Name (max 25)
60Sao PauloMerchant City (max 15)
62.05***Reference Label
63XXXXCRC16 Checksum

Example Payload

This is what a typical PIX QR payload looks like (formatted for readability):

000201
010212
26580014BR.GOV.BCB.PIX0136
  name@example.com
52040000
5303986
5406150.00
5802BR
5920Merchant Name GmbH
6009Sao Paulo
62140510***
6304A1B2

* The last 4 characters (A1B2) are the CRC16 checksum computed over the entire preceding payload.

CRC16 Security

Every PIX QR code ends with a CRC16-CCITT checksum. It prevents tampered or corrupted QR codes from being accepted.

AlgorithmCRC16-CCITT
Polynomial0x1021
Initial value0xFFFF
InputEntire payload up to "6304"
Output4 uppercase hex chars
Example6304A1B2

PIX vs Other QR Standards

PIX (BR)QRIS (ID)PromptPay (TH)UPI (IN)
FormatEMVEMVEMVURL
AIDBR.GOV.BCB.PIXID.CO.QRIS.WWWA000000677010111upi://pay
CurrencyBRL (986)IDR (360)THB (764)INR
CRC16
Cross-borderLimited✅ ASEAN✅ ASEAN✅ Growing

Generate static or dynamic PIX QR codes instantly.

No registration required. All processing in your browser.

Generate PIX QR Code →

Related in Brazil

📖
How to Use PIX

Step-by-step instructions

Read →
🌍
PIX Tourist Guide

Can tourists use PIX?

Read →