Tool to generate / decode Codabar barcodes. Codabar is a barcode standard created by Pitney Bowes Corp also known as NW-7, Monarch or Code 2 of 7.
Barcode Codabar - dCode
Tag(s) : Character Encoding, Image Processing
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
The Codabar Barcode format is used to code mainly numbers. However, it contains 9 other symbols: -$:/+.ABCD
Each character is coded with 7 bands, of simple width (1 = narrow) or large width (2 = thick) alternately starting with a bar and ending with a vacuum.
0 | 1111122 | 1 | 1111221 |
---|---|---|---|
2 | 1112112 | 3 | 2211111 |
4 | 1121121 | 5 | 2111121 |
6 | 1211112 | 7 | 1211211 |
8 | 1221111 | 9 | 2112111 |
- | 1112211 | $ | 1122111 |
: | 2111212 | / | 2121112 |
. | 2121211 | + | 1122222 |
A | 1122121 | B | 1212112 |
C | 1112122 | D | 1112221 |
Example: The value 0 will be drawn 101010001110 with 1 a black bar, and 0 a white bar / empty space.
A complete barcode, begins and ends with a letter, this allows several combinations of letters possible in order to distinguish different products or applications.
The Codabar standard does not include a checksum.
The deciphering of the Codabar Code consists in the binary reading of the bands, the detection of narrow and thick ones then in their translation via the coding table.
Example: A message 10001011101 translates 1211211 (1 = narrow, 2 = thick) and corresponds to the number 7
The Codabar barcode has a graphic form composed of lines of 2 different widths (thin and thick).
The Codabar barcode has a variable length.
dCode retains ownership of the "Barcode Codabar" source code. Except explicit open source licence (indicated Creative Commons / free), the "Barcode Codabar" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Barcode Codabar" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Barcode Codabar" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "Barcode Codabar" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Barcode Codabar on dCode.fr [online website], retrieved on 2024-12-21,