Codabar barcode generator
Generate a scannable Codabar (NW-7) barcode from digits and a few symbols.
Codabar barcode generator
Type a value and this tool draws it as a Codabar barcode — the symbology still used on library cards, blood bank labels, air-express waybills and some older ID badges. Codabar (also called NW-7 or 2-of-7) only encodes digits 0–9 and six punctuation characters (- $ : / . +), which is why the barcode is easy to print reliably on the low-cost printers those industries have relied on for decades.
Every Codabar symbol needs a start and a stop letter — A, B, C or D — framing the payload at each end. By default this tool adds the letter you choose in "Start/stop letter" automatically, so you only type the data itself. Turn on "Keep start/stop letters in text" if you would rather type the full framed value yourself (for example "A12345B") and have it validated as-is. "Input format" lets the value come in as plain text, as pairs of hex digits, or as a list of byte numbers — handy when a payload originates from another system as raw bytes rather than typed characters.
Flip "Direction" to decode a bar pattern back into its original value — paste the 0/1 sequence this tool produced in binary output format and it reconstructs the text, again respecting whether you want the start/stop letters kept or stripped. Any character outside the Codabar alphabet is rejected immediately, with the exact character named in the message, so a typo is easy to spot rather than silently dropped. Bar height, bar width and the quiet zone around the code are all adjustable, and the barcode updates as you type.
Everything runs locally in your browser — the value you type, and the barcode it becomes, are never uploaded anywhere. Copy the result, download it as a .txt file, or send the output back into the input to keep working on it.