Brazilian Boleto Decoder (Typeable Line & Barcode)
Decodes Brazilian boleto slips: converts the typeable line into the 44-digit barcode, checks every digit and extracts bank, due date and amount.
Dots, spaces and dashes are ignored. Accepts 47 digits (typeable line), 44 (barcode) and 48 (utility bill).
How the boleto number is built
A bank boleto barcode has 44 digits: 3 for the bank, 1 for the currency, 1 general check digit, 4 for the due-date factor, 10 for the amount and 25 for the free field defined by the issuing bank. The 47-digit typeable line is the same content rearranged into five fields, three of them with their own MOD 10 check digit.
The due date comes from the factor: 1000 meant 1997-10-07 in the original FEBRABAN cycle, which restarted on 2025-02-22. This page tests both cycles and shows the date closest to today.
Reading a Brazilian boleto payment code
Paste the typeable line or the barcode and this page returns the issuing bank, the due date and the amount without opening a banking app. The line 00190.50095 40144.816069 06809.350314 3 37370000000100 is a one-real slip issued by Banco do Brasil. Several slips can be pasted at once, one per line, and each one gets its own card plus a CSV you can copy.
The barcode packs 44 digits into fixed positions: three for the bank, one for the currency, one general check digit, four for the due-date factor, ten for the amount in cents and twenty-five for the free field, whose layout each bank defines on its own. The 47-digit typeable line holds the same content rearranged into five fields, three of them carrying a MOD 10 check digit.
Here is the part that trips up manual calculations: the due-date factor was reset. Factor 1000 pointed to 7 October 1997 in the original FEBRABAN cycle, which reached 9999 and rolled back to 1000 on 22 February 2025. The page works out both candidate dates and shows the one closer to today, flagging the other when it is plausible too. Utility slips, with 48 digits, follow a separate rule.
Frequently asked questions
Can I read the amount without a banking app?
My code has 48 digits instead of 47. Is it broken?
The check digit failed. Is the boleto fake?
Related Tools
FEBRABAN Bank Code Validator
Validate a Brazilian bank code in the FEBRABAN standard (3 digits, e.g. 001 Banco do Brasil, 341 Itaú). Useful for bank slips, transfers and account records.
Brazilian Bank Account Validator
Validate Brazilian bank account numbers by check digit for major banks (Bradesco, Itaú, Banco do Brasil, Santander and Caixa). Browser-side verification.
CNJ Lawsuit Number Validator
Validates Brazilian CNJ lawsuit numbers by checking the MOD 97-10 check digit and decodes year, court branch, tribunal and originating unit.