Codabar barcode generator

Create Codabar barcodes for library cards, blood banks and lab labels.

  • Free · no watermark
  • Runs in your browser
1 · Formattype: 'codabar'
Retail
Logistics
Industrial
Digits and - $ : / . +, wrapped in A–D start/stop
Ready — 7 characters encoded
3 · Bars
60 px
Module width
10 px · 5.0 X
4 · Text
14 px
5 · Color
Bars
Background
6 · Rotation
Live previewCodabar
100%
A40156B
Modules
87
X-dimension
0.412 mm
Size
40.0 × 21.9 mm
Status
Valid
Export

Vector · best for print · 40.0 mm wide

Specs
Check digit
None (self-checking)
Quiet zone
5.0 X
Bar height
12.4 mm
Human text
Below
etiket · label.ts
import { barcode } from 'etiket'

const svg = barcode('A40156B', {
  type: 'codabar',
  height: 60,
  barWidth: 2,
  showText: true,
  textPosition: 'bottom',
  fontSize: 14,
  margin: 10,
  background: '#FFFFFF',
})

About Codabar

What is a Codabar barcode?

Codabar encodes digits and six symbols between start and stop letters A–D. It is easy to print, even on dot-matrix printers, and remains common on library cards, blood-bank bags and photo-lab envelopes.

Data
Variable length
Characters
0–9 and - $ : / . +, framed by A–D start/stop characters.
Check digit
None (self-checking)
Print size
Variable; wide-to-narrow ratio between 2.5:1 and 3:1
Used for
Libraries, blood banks, labs

How to create a Codabar barcode

  1. 1
    Enter your data
    Type or paste the text to encode — digits and - $ : / . +, wrapped in A–D start/stop.
  2. 2
    Adjust bars and text
    Set bar height, module width and quiet zone, and choose whether to print the human-readable text.
  3. 3
    Set the print size
    Enter the final width in mm, cm, inches or pixels. The X-dimension and height update as you type.
  4. 4
    Download and test
    Export SVG for print or PNG at 300–600 dpi, then run a test scan before you print a full batch.
Other barcode generators

FAQ

Codabar questions

More answers in the general FAQ and the barcode size guide.

How do I create a Codabar barcode?

Choose Codabar in the format list, enter your data (digits and - $ : / . +, wrapped in A–D start/stop), set the print width, then download SVG or PNG.

What data can a Codabar barcode hold?

Variable length. 0–9 and - $ : / . +, framed by A–D start/stop characters.

What size should a Codabar barcode be?

Variable; wide-to-narrow ratio between 2.5:1 and 3:1. Keep the quiet zone clear and print dark bars on a light background.

Is this Codabar generator free for commercial use?

Yes. There is no watermark, sign-up or usage limit, and barcodes are generated in your browser — your data is never uploaded.