Barcode Guide
What Is Code 128? Code 128 Barcode Guide
Code 128 is a high-density, linear barcode symbology used for encoding text and numbers. It is common in logistics, shipping, inventory, manufacturing, asset identification, and other workflows where compact machine-readable business data is useful.
What makes Code 128 useful?
Code 128 is designed to encode business data efficiently. Compared with simpler linear formats, it can represent a broad range of characters in a relatively compact symbol. That makes it useful when a label needs more than a simple retail product identifier.
Where is Code 128 used?
- Shipping and logistics labels.
- Warehouse and inventory workflows.
- Manufacturing and asset identification.
- Internal product, package, and tracking labels.
- Business workflows that need compact machine-readable text or numbers.
Can Code 128 contain letters?
Yes. Code 128 is designed to encode text and numeric data, subject to the Code 128 subset and implementation used for the data. This flexibility is one reason it is useful for operational labels where a value may contain more than digits.
Code 128 vs UPC and EAN
UPC-A and EAN-13 are commonly associated with retail product identification. Code 128 is more general-purpose and can encode application-specific data, which makes it common in logistics, inventory, shipping, and internal operational systems. The correct symbology depends on what the receiving system expects.
For retail product identifiers, read What Is a UPC Barcode? and What Is an EAN Barcode?.
How do I create a Code 128 barcode?
- Confirm the data format required by the system that will scan the label.
- Open the Code 128 Barcode Generator.
- Enter the required value and generate the barcode.
- Download the result as PNG, SVG, or PDF, or send it to print.
- Test the printed barcode with the scanners used in your workflow before a large production run.
Code 128 vs Code 39
Both formats can be used for operational labels and alphanumeric business data. Code 128 is generally more data-dense and supports a broader character set, while Code 39 remains useful for applications that specifically require that symbology.
Frequently asked questions
Is Code 128 a retail barcode?
Code 128 can appear in retail-related operations, but it is more broadly used for logistics, inventory, shipping, manufacturing, and internal identification.
Is Code 128 the same as UPC?
No. UPC-A and Code 128 are different barcode symbologies designed for different identification and data requirements.
Can I create a Code 128 barcode for free?
Yes. BarcodeYard provides a free browser-based Code 128 generator with PNG, SVG, and PDF export.
Should I use Code 128 for a product UPC?
If a retailer or product system requires UPC-A or EAN-13, use the required standard. Use Code 128 when the receiving workflow specifically supports or requires it.