PIX Copy-and-Paste / QR Code Generator

Generate the PIX Copy-and-Paste code (BR Code / EMV standard) and the QR Code of a static PIX — no external libraries. The CRC16 is calculated locally.

What is the PIX Copy-and-Paste code?

PIX is Brazil's instant payment system, run by the Central Bank of Brazil. The PIX Copy-and-Paste code is a text string in the BR Code standard, which follows the Central Bank's EMV® QR Code specification. It contains, in numbered fields (ID + length + value), the data needed for a payment: the recipient's PIX key, name, city, the amount (optional) and a transaction identifier. The same text can be turned into a QR Code for the bank app to scan.

How this generator works

Everything is assembled in your browser. The fields are organized in the EMV format, the amount is formatted with two decimal places, the name and city are normalized (uppercase, no accents) and, at the end, the CRC16-CCITT checksum (polynomial 0x1021, initial value 0xFFFF, no reflection) is calculated over the whole payload with 6304 already appended. The QR code reuses the same generation engine as the site's QR Code tool (Reed-Solomon, no CDN).

Frequently Asked Questions (FAQ)

Is it a static or dynamic PIX?

Static: the data is embedded in the code itself. There is no URL for a charge (dynamic payload), nor generation of a location — only the recipient's fields.

Why do the name and city lose their accents?

The BR Code standard recommends simple characters in these fields. That's why the name (max. 25) and the city (max. 15) are converted to uppercase without accents, avoiding reading issues in some apps.

What is the txid field?

It is a transaction identifier (field 62, subfield 05). When you don't enter anything, the default value used is ***, which is accepted for static PIX. If you prefer, use an alphanumeric identifier of up to 25 characters.