║ Code 128 Barcode Generator

The most versatile 1D barcode – encode letters, digits and punctuation for labels, asset tags and warehouses.

🔒 Runs in your browser · files never uploaded

Encoded value: —

How to use the Code 128 Barcode Generator tool

  1. Type the text or number to encode.
  2. Set bar width, height and whether the text shows underneath.
  3. Download as SVG or PNG.

Frequently asked questions

What can Code 128 encode?

All 128 ASCII characters: upper and lowercase letters, digits, punctuation and control codes. Accented letters and emoji are not supported.

How long can a Code 128 barcode be?

There's no formal limit, but most scanners handle up to about 40–48 characters comfortably. Longer data makes the barcode very wide – consider a QR code instead.

Does Code 128 need a check digit?

Yes, a mod-103 checksum is built in automatically. You don't need to add anything yourself.

Related tools