1001Ferramentas
🧾 Validators

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?
Yes. The amount lives inside the code itself, at positions 10 to 19, expressed in cents. This page reads those ten digits and prints the value in reais. When they come as zeros, the slip is one of those that accept an amount chosen at payment time, so no banking app would show anything different.
My code has 48 digits instead of 47. Is it broken?
No. Slips with 48 digits are utility and tax payment slips issued by power companies, city halls and government agencies. The code starts with 8 and splits into four blocks of eleven digits, each with its own check digit. The page detects the format and names the segment, such as electricity or traffic fines.
The check digit failed. Is the boleto fake?
Not necessarily. A typo or a bad OCR pass over a PDF produces exactly the same symptom. The page shows the digit that was provided, the digit that was expected and the corrected number, so you can compare it against the printed document. If the corrected number matches the paper, it was only a reading error.

Related Tools