Sample Banco do Brasil slip
- Input
- 00191111112222233333244444555559916000000050000
- Expected output
- todos os dígitos conferem
Paste this line and change any single digit to see the check-digit warning appear.
boleto check digit
Every field of a boleto's digitable line carries an extra digit that is not part of the amount, bank or date: it exists solely to confirm the rest of the field was not mistyped. That is the check digit, computed with a simple arithmetic algorithm called modulus 10 or modulus 11.
Paste this line and change any single digit to see the check-digit warning appear.
Example of how a product above 9 gets reduced to a single digit before summing.
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.
Most of the time it means a typing or copying mistake (an extra space, a swapped digit), not fraud. Even so, if a pasted line's check digit does not match, the amount and due date shown should not be trusted until the line is corrected.
Because each one protects a different thing. Modulus 10 protects individual fields and is simpler to compute by hand. Modulus 11, used only for the general check digit, protects the entire barcode against changes that would slip past the isolated modulus-10 checks.
R$ 500,00Alternate reading under the legacy base date (used until 2025-02-21): 2002-02-23. Almost no boleto in circulation today uses this base.
Decoding happens entirely in your browser. No digitable line is sent to a server.