Money and Finance

How to Create and Read a Pix QR Code: The BR Code Explained

How Pix QR codes work in Brazil: the BR Code fields, static and dynamic codes, the CRC16 check, how to create a printable sign and how to avoid QR fraud.

Saizul Amin
Saizul Amin3 Nov 2026 · 3 min read
How to Create and Read a Pix QR Code: The BR Code Explained

Pix changed how Brazilians pay. A QR code on a counter is enough to receive money instantly, at no cost for individuals and small sellers. Behind that square there is a precise text format defined by the Central Bank. This guide explains it and shows how to create or check a code with the free Pix QR Code Generator and Decoder.

What a Pix QR code contains

A Pix QR code is a picture of a text string called a BR Code. The same string can be shared as text, the "Pix copia e cola" (copy and paste). It follows the international EMV standard used by payment QR codes, made of fields with an identifier of two digits, a length of two digits and a value.

For example, 5303986 means field 53 (currency), length 03, value 986 (the real).

The main fields

  • 00: payload format, always 01.
  • 26: Pix account information, containing the arrangement identifier br.gov.bcb.pix, the Pix key and an optional message.
  • 52: merchant category, usually 0000.
  • 53: currency, 986.
  • 54: amount, optional.
  • 58: country, BR.
  • 59: receiver name, up to 25 characters.
  • 60: city, up to 15 characters.
  • 62: additional data, with the transaction identifier (txid), up to 25 characters, or *** if none.
  • 63: the CRC16, four hexadecimal characters that check the whole code.

Static and dynamic codes

  • Static codes contain the key directly. They can be printed and reused, with or without a fixed amount. They are ideal for shops, stalls and donations.
  • Dynamic codes contain a URL instead of the key. Banks and payment providers generate them for each charge, with amount, due date, fines and discounts. They are used once.

The CRC16 check

The last field is a CRC16-CCITT checksum calculated over everything before it. If any character changes, by typing error or tampering, the CRC no longer matches and banking apps reject the code.

How to create a code

  1. Enter your Pix key: CPF, CNPJ, email, phone with +55 and area code, or a random key.
  2. Enter the receiver's name and city as registered in your bank.
  3. Enter an amount, or leave zero to let the payer type it.
  4. Optionally add a txid to identify the payment and a short message.
  5. Copy the code or print a counter sign with the QR code, amount and key.

How to read a code

  1. Switch to "Read a code".
  2. Paste a Pix copy-and-paste code, or open a photo or screenshot of a QR code.
  3. Read the key, receiver, city, amount, txid and whether it is static or dynamic.
  4. Check the CRC.

Example

A bakery uses the phone key +5511999990000 for an order of R$25.50 with txid PEDIDO123. The tool builds the code, and reading it back gives the same key, the name PADARIA PAO QUENTE, the city SAO PAULO, the amount R$25.50 and a valid CRC.

Which key to use on a sign

Phone numbers and CPFs on public signs expose personal data. A random key or a business CNPJ is more private. You can create a random key in your bank app in seconds.

Avoiding QR code fraud

Fraudsters sometimes stick their own QR codes over a shop's sign or send fake codes by message. A fake code has a valid CRC too. Always check the receiver's name and institution shown by your bank app before confirming a payment.

Pix for businesses

Companies receiving many payments use dynamic codes or Pix integrations from their bank to reconcile payments automatically. Static codes with a txid help small sellers identify orders.

Limits

This tool creates static codes only and does not connect to any bank. It follows the published BR Code manual. Not financial advice.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages