Free Codabar Barcode Generator
Codabar is an older barcode of digits and a few symbols, framed by a start and a stop letter. Libraries, blood banks and some shipping labels still use it. Type your value, check that it scans and download it.
Start and end with A, B, C or D; between them up to 38 digits and - $ : / . +.
The blank margin left and right of the bars, in modules (the width of the narrowest bar). Codabar needs at least 10.
Made in your browser; nothing you type is sent to QRdx. WebP and AVIF are encoded by QRdx's server when you pick them, and nothing is kept.
Where Codabar barcodes are used
Library and loan systems, blood bank labels and some shipping and lab labels, wherever an existing system or scanner is set up for Codabar.
If nothing asks for Codabar, use Code 128: it holds letters and makes a shorter barcode for the same text.
Do I need to register a Codabar barcode?
No. Codabar carries your own numbers, such as a membership, item or sample number. There's nothing to license. Check with the system that reads it which start and stop letters it expects.
What Codabar can hold
What it takes
Start and end with A, B, C or D; between them up to 38 digits and - $ : / . +.
Example
A40156BStart and end with one of A, B, C or D, with at least one character between them: digits and - $ : / . + only, up to 40 characters in all, for example A40156B.
The start and stop letters are part of what you type and what a scanner reports; some systems use the choice of letter to tell kinds of labels apart. This generator adds no check digit; if your system needs one, add it to your number yourself.
Codabar barcode size
| Example as SVG, PDF or EPS | 37.7 × 19.2 mm |
|---|---|
| Module (narrowest bar) | 0.353 mm |
| Bar height | 15 mm |
| Quiet zone | At least 10 modules each side; the generator starts with 10 |
- Codabar characters aren't all the same width, so the width depends on what you type: the sample A40156B comes out 37.7 × 19.2 mm in the downloads. Digits, - and $ are the narrow ones; : / . + and the start and stop letters take a little more room.
- Keep 10 modules of blank space each side, and make the bars tall enough to sweep easily: the generator starts at 15 mm.
Codabar barcode API
The same barcode is an image URL, with no API key: put it in an img tag, a label template or a product feed. It checks the value the way this page does, and allows 300 requests a minute per IP address. The barcode API docs list every option.
SVG image
https://api.qrdx.dev/v1/barcode?format=codabar&data=A40156BPNG, 3 pixels per module
https://api.qrdx.dev/v1/barcode?format=codabar&data=A40156B&type=png&scale=3In a web page
<img src="https://api.qrdx.dev/v1/barcode?format=codabar&data=A40156B" alt="Codabar A40156B" />Codabar barcode FAQ
Which start and stop letters should I use?
Use the ones your system expects. Some systems use the letters to mark different label types. The letters can differ at each end.
Can Codabar hold letters?
Only A to D, as start and stop characters. For other letters use Code 128, or Code 39 for capitals.
Other barcode types
All 13 barcode typesBarcodes are static: the data is in the bars, so they work offline and never expire. For a link people scan with a phone camera, use one of the QR code generators.