Code 128 Barcode Generator

Make compact Code 128 barcodes for alphanumeric inventory values. Automatic code-set selection, live preview, and free PNG, SVG, and PDF downloads.

Create your barcode

Choose a standard and enter your code.

Leading zeros are preserved. Invalid check digits are never replaced.
Print the PDF at actual size / 100%.
LIVE PREVIEWCODE 128

Preparing your preview…

Exact-width SVGNo watermark

Your content stays on your device.
Free forever. No sign-up required.

How to use this barcode generator

  1. Choose your barcode standard and enter the exact value.
  2. Check the validation message and encoded value, then adjust bar height and quiet zones.
  3. Export SVG for artwork or PDF for physical dimensions, print at 100%, and scan a test label.

When to use it

Print warehouse location labels, asset identifiers, serial numbers, and internal shipping references.

Important limitations

This generator supports printable ASCII with automatic code-set selection. It is not a GS1-128 application-identifier encoder.

Common questions

Does this register my barcode?

No. Creating artwork does not assign or register a GS1 identification number.

Can I enter a value without the check digit?

EAN-13, EAN-8, UPC-A, and ITF-14 accept their data digits and calculate the final check digit. A supplied invalid check digit is rejected.

Which format should I print?

SVG is scalable artwork; PDF preserves the chosen physical width. Print at actual size, without fit-to-page scaling.