Skip to content
/ Code 128 generator

Code 128 generator

Code 128 encodes all everyday text (letters, digits, punctuation) compactly: ideal for stock labels, serial numbers, parcels or library books. The tool picks the shortest character set on its own.

How to do it

  1. Type the text or number to encode (80 characters at most).
  2. Set the module width (0.25 to 0.5 mm) and bar height.
  3. Check the preview: the number of Code 128 symbols shows the code length.
  4. Download the image, or open the label sheet for a whole list.

Tips

  • Runs of digits are encoded two at a time: an even number of digits gives a shorter code.
  • Keep 10 modules of white quiet zone on each side.
  • For standard logistics data (batch, expiry date), use GS1-128 mode.

Frequently asked questions

What is the difference between Code 128 and Code 39?

Code 128 is more compact and encodes lower case and punctuation; Code 39 is older, limited to capitals and a few signs, but still required by some systems.

What size makes Code 128 readable?

A module of at least 0.25 mm and a height of at least 15% of the length, or 6 mm minimum; the further the scanner, the wider the module.

Are my codes sent anywhere?

No: everything is calculated in your browser. Only your settings are kept on your device.