Code 128 is a high-density linear barcode for warehouse locations, carton IDs, serial references and inventory labels. It is not a GS1-issued retail product number. A scanner reads the encoded characters; your system decides what the identifier means.
Code 128
Free Code 128 Generator
A–Z · a–z · 0–9 · common symbols
Code 128
Free Code 128 Generator
The barcode has been adjusted to the screen size.
Advanced barcode size settings
Related barcode tools
12 digits → check digit: calculated · 13 digits → check digit: validated
UPC-AFree UPC-A Generator11 digits → check digit: calculated · 12 digits → check digit: validated
ITF-14 / GTIN-14Free ITF-14 / GTIN-14 Generator13 digits → check digit: calculated · 14 digits → check digit: validated
Code 39Free Code 39 GeneratorA–Z · 0–9 · - . $ / + % · space
GS1-128Free GS1-128 GeneratorGS1 AI (01) · (10) · (17) · (21) … · FNC1: automatic
Bulk BarcodeFree Bulk Barcode Generatorone per line · up to 200 values · Code 128 / EAN-13 / UPC-A / ITF-14 / Code 39 / GS1-128
Barcode Check DigitBarcode Check Digit CalculatorGTIN-8 · UPC-A / GTIN-12 · EAN-13 / GTIN-13 · GTIN-14 / DUN-14
Barcode Scanner & ValidatorBarcode Scanner & ValidatorScan a barcode from an image or camera. Processing stays on this device.
Code 128: character sets and practical use
This generator accepts printable ASCII characters (Code Set B) and automatically uses numeric compression where supported. Control characters and non-Latin text are not directly encoded. For GS1 application identifiers, use the separate GS1-128 tool rather than ordinary Code 128.
Keep the bars sharply rendered, avoid stretching the symbol disproportionately and leave a clear quiet zone on both sides. Try the intended scanner with the smallest label and longest real value before printing a large batch.
Frequently asked questions
Does Code 128 assign a unique product number?
No. Code 128 encodes your text; it does not allocate or verify globally unique identifiers. Obtain an appropriate GS1 GTIN if a retailer requires one.
Can I encode letters and numbers together?
Yes, printable Latin letters, numbers, spaces and common punctuation are supported. Unicode characters outside the supported set require another encoding approach.
Why might a scanner fail to read a Code 128 label?
Typical causes are low contrast, narrow modules, insufficient quiet zone, distortion during resizing or incompatible scanner settings. Test the final printed size.
Whether a generated barcode can be used at work depends on your workplace rules and scanner settings.