Back to Tools

Barcode Numbers

Convert digits to and from common barcode width numbers.

Barcodes are composed of both black and white lines and are typically found on product packaging. Each number is represented by 7 lines according to a pre-established pattern: 0 = 3211, 1 = 2221, 2 = 2122, 3 = 1411, 4 = 1132, 5 = 1231, 6 = 1114, 7 = 1312, 8 = 1213, 9 = 3112. The sum of each code is always 7.