QR Code & PIX Generator

Generate crisp SVG/PNG QR Codes for Brazilian PIX Copy-and-Paste (BRCode EMVCo with CRC16), URLs, and Wi-Fi networks.

Content type
PIX Key (CPF, CNPJ, Email, Phone, or Random Key)
Merchant name (up to 25 chars)
City (up to 15 chars)
Amount (BRL optional)
Transaction ID (TxID)
QR CodeISO/IEC 18004 — v8 (49×49 modules)
Generated payload (PIX Copy-and-Paste / Raw string)00020126460014br.gov.bcb.pix0124contato@thecodecodex.com520400005303986540549.905802BR5911CODEX TOOLS6009SAO PAULO62110507CODEX0163047419
Use from the terminal (JSON)

This tool also runs outside the site: the cli.js script uses the same logic as this page and returns the result as JSON. Parameters are the same as this page's URL — copy the command below with the values on screen.

Deno
deno run -q "https://tools.thecodecodex.com/cli.js?tool=qr-code"
Node.js / Bun
curl -s https://tools.thecodecodex.com/cli.js | node --input-type=module - qr-code mode=…
ParameterDescriptionDefault
modepix | url | wifipix
keychave PIX (e-mail, CPF, CNPJ, telefone ou EVP)pix@thecodecodex.com
namenome do recebedor PIX (até 25 caracteres)RECEBEDOR
citycidade do recebedor PIX (até 15 caracteres)SAO PAULO
amountvalor do PIX em R$ (0 = aberto)0
txididentificador da transação PIX***
textURL ou texto (quando mode=url)https://tools.thecodecodex.com
ssidnome da rede Wi-Fi (quando mode=wifi)MinhaRede
passsenha do Wi-Fi—
authWPA | WEP | nopassWPA
outjson | svg | unicodejson

Requires Deno, Node.js or Bun. With Deno the script runs with no permissions: it cannot read files or access the network. Central Bank indicators are from the day the site was published.

More in PDF & Files