Brazil Pix QR Code Generator and Decoder

Create a static Pix QR code from your key with amount, name, city, message and txid, copy the code or print a counter sign, and read any Pix code back with the CRC16 check.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Enter your key

    CPF, CNPJ, email, phone or random.

  2. 2
    Add name and city

    As in your bank.

  3. 3
    Set amount

    Or leave open.

  4. 4
    Add txid and message

    Optional.

  5. 5
    Copy or print

    Code and sign.

  6. 6
    Read a code

    Paste or open an image.

About this tool

Pix, the instant payment system created by the Banco Central do Brasil in 2020, is now the most used way to pay in the country, from street vendors and taxi drivers to shops and tax bills. Besides typing a Pix key, payers can scan a QR code or paste a copy-and-paste code (Pix copia e cola). Both contain the same thing: a BR Code, a text string in the EMV standard made of fields with an identifier, a length and a value. A static Pix code includes the payment arrangement identifier br.gov.bcb.pix, the receiver's Pix key, an optional message, the merchant category, the currency code 986 for the real, an optional amount, the country BR, the receiver's name up to 25 characters, the city up to 15 characters, a transaction identifier (txid) and, at the end, a CRC16 checksum that protects the code against changes. Static codes can be reused and printed on a sign, with or without a fixed amount; dynamic codes, generated by banks and payment providers, point to a URL and are used once. This tool builds a valid static BR Code from your key and details, following the Central Bank manual, draws the QR code, lets you copy the copy-and-paste code and prints a counter sign with the QR code, amount and key. It also works in reverse: paste any Pix code, or open a picture of a QR code, and it lists every field, shows the key, receiver, city, amount and txid, says whether it is static or dynamic and checks the CRC. Everything runs in the browser, so your key and codes are never sent anywhere.

Who this is for

Small shops, street vendors, freelancers, churches and associations that want a printed Pix sign, and anyone who wants to check a Pix code before paying.

Fields in a static BR Code

| ID | Field | Example | |---|---|---| | 00 | Format | 01 | | 26 | Pix account: arrangement, key, message | br.gov.bcb.pix | | 52 | Merchant category | 0000 | | 53 | Currency | 986 (real) | | 54 | Amount (optional) | 25.50 | | 58 | Country | BR | | 59 | Receiver name | Up to 25 characters | | 60 | City | Up to 15 characters | | 62 | Additional data: txid | Up to 25 characters | | 63 | CRC16 | 4 hex characters |

Keys

A Pix key can be a CPF, a CNPJ, an email, a phone number with +55 and area code, or a random key (EVP) created in the bank app. Prefer a random key or a CNPJ for public signs, to avoid exposing personal data.

Safety

Before paying, always check the receiver's name and institution in your bank app. Fraudsters stick fake QR codes over real ones; a valid CRC does not protect against that.

Limits

This tool creates static codes only. Dynamic codes with charges, due dates and fines are created by your bank or payment provider.

Worked example

A bakery's code with key +5511999990000 and R$25.50 decodes back to the same key, amount and txid PEDIDO123.

Quick facts

Frequently asked questions

What is a Pix BR Code?

The text inside a Pix QR code, in the EMV standard defined by the Central Bank.

What is the difference between static and dynamic codes?

Static codes can be reused and printed; dynamic codes are single-use and point to a URL.

What does the CRC check do?

It detects changes or typing errors in the code.

Can I leave the amount open?

Yes, then the payer types the amount.

Is my key sent anywhere?

No, everything runs in the browser.

Is my data stored online?

No, it stays in this browser.

Guides for this tool

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