Brazil Boleto Barcode and Digitable Line Decoder
Paste a 47-digit boleto or 48-digit utility slip line to check its digits and read the bank, amount and due date, with the February 2025 due-date factor reset handled.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Paste the line
47 or 48 digits.
- 2Check the digits
Each field.
- 3Read the amount
In reais.
- 4See the due date
From the factor.
- 5Note the bank
And type.
- 6Confirm the payee
In your app.
About this tool
The boleto bancário is one of the most common ways to pay bills in Brazil, alongside Pix. Every boleto has a barcode and a digitable line, the long number you type or paste into a banking app. For bank boletos the line has 47 digits divided into five fields. The first three fields contain the bank code, the currency code and a free field defined by the bank, each with its own check digit calculated by modulus 10. The fourth field is the general check digit of the barcode, calculated by modulus 11. The fifth field has the due date factor and the amount in cents. The due date factor is the number of days since 7 October 1997. It reached its maximum of 9999 on 21 February 2025, and from 22 February 2025 it restarted at 1000, so the same factor now corresponds to two possible dates about 9,000 days apart; banks and this tool choose the one closest to today. Utility, tax and fine slips issued by agreements (convênios), such as electricity, water, phone and municipal taxes, have a different 48-digit line starting with 8, with four blocks of eleven digits and their own check digits, by modulus 10 or 11 depending on the third digit, and they usually do not carry a due date. This decoder identifies the type, checks every digit, shows the bank, amount and due date and rebuilds the 44-digit barcode. It is useful for spotting typing mistakes and confirming the amount before paying, but it cannot detect a fake boleto with valid digits: always check the payee name and CNPJ in your bank app.
Who this is for
People paying bills by typing the line, small businesses checking boletos from suppliers, and developers testing payment forms.
Bank boleto line
| Field | Content | |---|---| | 1 | Bank, currency, start of free field, check digit | | 2 | Free field, check digit | | 3 | Free field, check digit | | 4 | General check digit | | 5 | Due date factor and amount |
Avoiding boleto fraud
Fraudsters alter boletos sent by email or post so that payments go to their account. Download boletos from official sites or apps, check the payee name and CNPJ before confirming, and be suspicious of boletos received unexpectedly or with a different bank than usual.
Paying late
After the due date, the bank recalculates interest and fines set by the payee. Many boletos can be paid at any bank until a limit date; some must be updated on the payee's site.
Boleto or Pix
Many boletos now carry a Pix QR code too, which settles instantly.
Limits
The decoder reads the standard layouts. Some banks and payment services use special free fields. It does not query whether the boleto was registered or paid.
Worked example
34191.79001 10104.351001 47910.201509 1 16610000015000 is an Itaú boleto of R$150.00 due on 15 December 2026.
Quick facts
- Category: Money & Tax
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: FEBRABAN boleto layout
Frequently asked questions
How many digits does a boleto line have?
47 for bank boletos and 48 for utility and tax slips.
What is the due date factor?
The days since 7 October 1997, restarted at 1000 on 22 February 2025.
Can this detect a fake boleto?
No, check the payee name and CNPJ in your bank app.
Why do utility slips start with 8?
It identifies agreement slips (convênios) such as utilities and taxes.
What do the check digits do?
They catch typing mistakes in each field and the whole barcode.
Is my data stored online?
No, it stays in this browser.
