Sample Bradesco slip
- Input
- 23791357972468013579524680135795115200000008990
- Expected output
- Bradesco, R$ 89,90
A synthetic, valid line, use the field above to see the due date and blocks.
what is a boleto digitable line
The digitable line is the 47 (or 48) digit sequence printed on a boleto, meant to be typed in when a barcode reader is not available. It is not a single arbitrary number: each section carries a specific meaning, and a few digits exist purely to catch typos.
A synthetic, valid line, use the field above to see the due date and blocks.
A 48-digit line is a utility bill, not a bank slip.
The factor counts calendar days from a base date. Under the current count, in effect since 2022-05-22, the base date is 2022-05-29, so factor 1520 lands on 2026-07-27.
No. Bank slips (invoices, loans, subscriptions) have 47 digits. Utility bills, used by water, power and telecom providers and by government agencies for taxes and fines, have 48 digits and a different field layout. This tool automatically detects which of the two formats you pasted.
They carry the same underlying information in two representations. The barcode has 44 digits, with no per-field check digits. The digitable line reorganizes those 44 digits into blocks and adds 3 extra check digits, one per block, so manual typing can be checked.
Because each bank runs its own billing system, with different formats for branch, account, portfolio and internal tracking numbers. FEBRABAN standardized the field's size (25 digits) but left its content up to each institution.
Because the due-date factor only has 4 digits, from 0 to 9999, counting calendar days from a base date. With the old base date, October 7, 1997, that count would hit its maximum around February 2025, so Febraban switched the base date to May 29, 2022 starting February 22, 2025, resetting the count to zero for boletos issued from then on.
R$ 89,90Alternate reading under the legacy base date (used until 2025-02-21): 2001-12-05. Almost no boleto in circulation today uses this base.
Decoding happens entirely in your browser. No digitable line is sent to a server.