Codabar Barcode Generator

Create Codabar barcodes for library cards, blood bank labels and other legacy systems. Type the digits between a start and stop letter (A, B, C or D) and download it free.

  • 100% free
  • No sign-up
  • No watermark
  • Works offline in your browser

Start with A, B, C or D, then digits and - $ : / . +, then end with A, B, C or D. An optional mod 16 check character is added by default.

Customize size, color & style
Make many

How to create a Codabar barcode

  1. Enter your data in the box above. Start with A, B, C or D, then digits and - $ : / . +, then end with A, B, C or D. An optional mod 16 check character is added by default.
  2. The barcode updates live as you type. Open Customize to change the bar height, colors, rotation or quiet zone.
  3. Click Download PNG for labels and documents, or SVG / PDF for print and packaging design.
  4. Test it with our online barcode scanner before you print a large run.

What is a Codabar barcode?

Codabar (also called NW-7, Code 2 of 7 or USD-4) is a self-checking linear barcode developed in 1972. It encodes digits 0–9 and six symbols: - $ : / . +. Every Codabar barcode starts and ends with one of the letters A, B, C or D, which act as start and stop characters and can also carry meaning for the reading system.

This generator draws Rationalized Codabar, which uses fixed wide and narrow bar widths and reads on any modern scanner. Codabar is easy to print, even on dot-matrix printers, which is why libraries and blood banks adopted it early and many still use it.

Where Codabar is used

  • Library cards and book labels
  • Blood bags and older blood bank systems
  • Photo processing envelopes
  • Older courier and airbill labels
  • Membership and loyalty cards

Codabar specifications

TypeLinear (1D), variable length, discrete
Characters0–9 and - $ : / . +
Start/stopA, B, C or D (shown in the text)
Check digitOptional modulo 16 (on by default here)
Self-checkingYes
StandardANSI/AIM BC3 (USS-Codabar)

Tips for a barcode that scans first time

  • Match the start and stop letters your system expects. Many libraries use A and B, but it varies.
  • This generator always adds a mod 16 check character. Make sure your reader is set to expect it, or strip it in your software.
  • Keep a quiet zone of at least 10 times the narrow bar width on both sides.
  • For new systems, Code 128 is shorter and supports letters.

Frequently asked questions

What are the A, B, C and D in a Codabar barcode?

They are start and stop characters. Every Codabar starts with one of them and ends with one of them. They do not have to match, and some systems use the combination to identify the type of label.

Why do I get an error without letters?

Codabar must start and end with A, B, C or D. Type, for example, A40156B instead of 40156.

Does Codabar need a check digit?

No, it is self-checking and the check character is optional. This generator adds a modulo 16 check character by default. Some library systems use their own check digit inside the data instead.

What is Rationalized Codabar?

It is the version of Codabar with standard, fixed ratios between wide and narrow elements. The original had slightly different widths for different characters. Rationalized Codabar is what modern scanners expect.

Is Codabar the same as NW-7?

Yes. NW-7 is the name used in Japan (and in JIS X 0503). Codabar, NW-7, USD-4 and Code 2 of 7 refer to the same symbology.

Can Codabar encode letters?

Only A, B, C and D as start/stop characters. Data inside the barcode is limited to digits and - $ : / . +. For text use Code 128 or Code 39.

Related free tools