Codabar Barcode Generator
Create a Codabar barcode, the numeric symbology still found in libraries, blood banks and older logistics systems. Type digits and the symbols - $ : / . + between a start and a stop letter from A to D, check the validity indicator and export PNG, SVG or a vector PDF. It all runs in your browser.
Generating…
Your data stays on your device.
How does it work?
- 1Type the value with a start and a stop character from A to D, for example A40156B, and the digits or symbols between them.
- 2Check the valid/invalid indicator; characters that Codabar cannot encode are reported in the message.
- 3Set bar width, bar height, colours and whether the human-readable text is displayed.
- 4Download the barcode as PNG, SVG or a vector PDF.
What is Codabar Barcode Generator?
Codabar, also called NW-7, Code 2 of 7 or USD-4, was developed in 1972 and is one of the oldest barcode symbologies still in service. It is a discrete, variable-length, self-checking symbology: each character is made of 7 elements, 4 bars and 3 spaces, and the bars and spaces are either narrow or wide. Because it needs only two element widths, it prints reliably even on simple, low-resolution devices such as dot-matrix printers.
The character set has 16 symbols: the digits 0 to 9 and the six symbols - (hyphen), $, : (colon), / (slash), . (full stop) and + (plus). Four additional letters A, B, C and D serve as start and stop characters. Some systems label them a/t, b/n, c/*, d/e instead, and a barcode may use different letters at each end to convey information, such as a category, to the receiving software. The symbology has no mandatory check digit, so many applications add their own.
Codabar remains in use in libraries for patron and item cards, in some blood banks and laboratories, in older parcel and airbill numbers and on photographic labs' envelopes. New applications normally choose Code 128, which is denser and has a built-in check character, but existing systems often still require Codabar.
When should you use it?
- You maintain a library or archive system whose existing cards and labels are in Codabar.
- A laboratory, blood bank or legacy logistics system still expects Codabar values.
- You need to reproduce a printed Codabar label for replacement or testing.
- You want to check how a scanner reads a specific start/stop combination.
Privacy
This tool runs in your browser. What you type, paste or open is processed on your device by JavaScript and is not sent to our servers, stored or shared. Your data stays on your device.
The value is turned into bars in your browser and is not sent anywhere. The barcode contains only the characters you typed, including the start and stop letters.
Frequently Asked Questions
Do I have to add the start and stop letters?
Every Codabar symbol starts and ends with one of A, B, C or D, and both ends can be different. Type them at the beginning and end of the value, for example A123456B. The letters are part of the symbol, though many scanners strip them before passing the data on.
Which characters can I use?
Digits 0 to 9 and the symbols - $ : / . +, plus A to D as start and stop characters. Lowercase letters and other symbols are not part of the standard set and are rejected by the validity check.
Does Codabar have a check digit?
Not by definition. Some libraries and networks add a modulo-10 check digit or another scheme to the number, but that is defined by each application and not by the symbology itself. Confirm what your system expects.
Related tools
Code 39 Barcode Generator
Create Code 39 (3 of 9) barcodes from A–Z, 0–9 and symbols, with optional mod-43 check
Open toolCode 128 Barcode Generator
Encode any ASCII text as a Code 128 barcode with automatic code set switching
Open toolCode 93 Barcode Generator
Create dense Code 93 barcodes with full ASCII and two automatic check characters
Open toolBulk Barcode Generator
Paste up to 500 values, one per line, and export all barcodes as ZIP or PDF
Open toolA4 Barcode Label Sheets
Design barcode labels on A4 sheets (4 to 40 per page) and export a print-ready vector PDF
Open toolBarcode Scanner Online
Scan EAN, UPC, Code 128, Data Matrix, PDF417 and more with your camera or an image
Open tool