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 online 'Barcode Codabar' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'Barcode Codabar' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Barcode Codabar' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'Barcode Codabar' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.
Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!
Thanks to your feedback and relevant comments, dCode has developed the best 'Barcode Codabar' tool, so feel free to write! Thank you!