Asas Label
Free Tool

Free Code 128 Barcode Generator

Type any mix of English letters, digits and symbols to get a compact barcode for stock, assets or internal tracking.

Example: ASAS-LABEL-1234

Everything runs in your browser. What you type is never sent to us.

Preview

Printed size: 69.0 × 17.8 mm

Downloads come out at the printed size shown here. On screen, the preview is scaled to fit.

When to use Code 128

Code 128 suits your own systems: stock locations, asset tags, work orders, sample tracking and shipping references. It packs more data into less width than Code 39, and it includes a built-in check character.

It is not a retail barcode. Products sold through shops need EAN-13 or UPC-A. If trading partners need your barcode to carry batch numbers or expiry dates in a standard form, use GS1-128 instead.

Making it scan reliably

  • Keep values short. Every character adds width. A shorter value lets you use a wider bar in the same space, which is easier to scan.
  • Start at about 0.33 mm for the narrowest bar. Below 0.25 mm, test on your actual scanners.
  • Keep the quiet zone clear. The file includes 10 bar widths of blank space on each side.
  • Think about your printer. Thermal printers often work to fixed dot sizes, so a design at the exact size may need a small adjustment to print cleanly.

What this tool does and does not do

It draws the barcode for the number you enter. It does not issue numbers: retail barcodes need a number licensed from GS1.

Scan a printed sample before a full run. Print quality, material and color all affect scanning, and only a barcode verifier gives a formal grade.

FAQ

Common questions

What is the difference between Code 128 and Code 39?

Code 128 is more compact and can carry lowercase letters. Code 39 is older and wider, and it only takes capitals, digits and a few symbols. Use Code 39 when an existing system requires it.

Can Code 128 hold Arabic text?

Not in a way scanners reliably understand. Use English letters and digits here. For Arabic text, use a QR Code.

How long can a Code 128 value be?

There is no fixed practical length, but the barcode grows wider with each character. Most scanners and labels work best with values under about 20 characters.