Ontoom

Digitable line to barcode

Paste up to 10 digitable lines from boletos or bills and generate the matching barcodes.

0/10

Use one digitable line per line. Dots, spaces and hyphens are removed automatically.

Important: Conversion runs in the browser. Check beneficiary, amount and due date on the original document before paying.

What this tool does

The converter takes a Brazilian digitable payment line and returns the 44-digit barcode, drawn as Interleaved 2 of 5 (ITF). It checks the check digits and reorders the fields. It does not pay, it does not change the amount, due date, or beneficiary, and it does not talk to a bank.

A 47-digit line is treated as a bank slip (boleto). A 48-digit line is treated as a collection or utility bill and must start with 8. Dots, spaces, hyphens, and slashes are stripped before the math. You can paste up to 10 lines, one per row. To draw a barcode that did not come from a digitable line, use the barcode generator.

How to use it

  1. Paste one digitable line per row. A dotted mask is fine.
  2. Click convert. Each line is validated on its own.
  3. When the check digits match, copy the 44 digits or download the SVG.
  4. Check beneficiary, amount, and due date on the original document before any payment. The converter does not interpret those fields for you.

What the check actually verifies

A 47-digit bank line has three fields with a modulo-10 digit (weights 2 and 1, summing the digits of a product when it is greater than 9) and one general modulo-11 digit on the barcode. That general digit uses weights 2 through 9, and if the result is 0, 10, or 11 the converter expects 1, which is the rule implemented on this page. The line is then reordered: bank and currency, general digit, factor and amount, then the free field.

A 48-digit collection line must start with 8. The third digit picks the modulus: 6 or 7 use modulo 10; 8 or 9 use modulo 11. Each block of 11 digits plus its check digit is tested, and so is the general digit of the 44-position code. Any other length is rejected with the count that remained.

Example

The line below is synthetic. It was built to pass the same check digits this page uses. It is not a payable slip, and the factor and amount must not be read as the due date or the sum on a real document. The converter does not interpret those fields: it only reorders and checks digits.

Masked input: 00191.23454 67890.123457 67890.123457 1 10000000010000. That is 47 digits. The output is 00191100000000100001234567890123456789012345, 44 positions, drawn as ITF. Change a digit in the middle and either a field's modulo 10 or the general modulo 11 fails, so that line does not produce a barcode.

00191.23454 67890.123457 67890.123457 1 10000000010000
00191100000000100001234567890123456789012345

Frequently asked questions

Does the tool pay the bill?
No. It only turns the digitable line into a barcode and checks the check digits. Payment stays with the bank or the bill's app, using the original document.
What is the difference between 47 and 48 digits?
47 digits follow the bank-slip layout, with three modulo-10 fields and one general digit. 48 digits are collection or utility bills, start with 8, and use four blocks. Both become a 44-position ITF barcode when the math matches.
Can I paste several lines?
Yes, up to 10, one per row. An invalid line does not block the others: the result marks which index failed and which check digit was wrong.
Are the numbers sent to a server?
No. Validation, reordering, and drawing the barcode happen in the browser.
Is the example on this page a real bill?
No. It is a synthetic line that only demonstrates reordering and check digits. Do not use it for payment.

Written by Orlando Alves · reviewed on · Editorial policy

See also