High-density linear barcode for alphanumeric data, widely used in shipping, packaging, and supply chain management.
Code 128 is one of the most versatile and widely-used barcode symbologies in the world. It's a high-density linear barcode capable of encoding all 128 ASCII characters, making it ideal for applications requiring alphanumeric data. From shipping labels to inventory management, Code 128 has become the go-to choice for businesses that need reliable, compact barcodes.
Code 128 was developed in 1981 by Computer Identics Corporation. It was designed to be a compact, high-density barcode that could encode the full ASCII character set. The format quickly gained popularity due to its efficiency and versatility. In 1989, it became the basis for GS1-128 (formerly EAN-128), which added standardized application identifiers for supply chain use. Today, Code 128 is used in virtually every industry and is supported by all major barcode scanners.
| Symbology Type | Linear (1D) |
| Character Set | Full ASCII (128 characters) |
| Data Capacity | Variable, typically up to 48 characters |
| Check Digit | Modulo 103 (mandatory) |
| Minimum X-Dimension | 0.19mm (7.5 mil) |
| Aspect Ratio | No fixed ratio, height should be at least 15% of length or 6.35mm |
| Quiet Zone | 10x module width on each side |
| Self-Checking | Yes |
Used on shipping labels, packing slips, and tracking documents. The GS1-128 variant is standard for supply chain applications.
Track products, parts, and assets with alphanumeric codes that can include serial numbers and batch information.
Label medications, specimens, and patient wristbands with unique identifiers that include letters and numbers.
Work-in-progress tracking, component identification, and production line management.
Internal inventory and receiving operations where full alphanumeric encoding is needed.
GS1-128 (formerly EAN-128) is Code 128 with standardized Application Identifiers (AIs) defined by GS1. It uses the same barcode symbology but adds structure for encoding specific data like GTINs, expiration dates, batch numbers, and serial numbers in a standardized way.
Yes! Code 128 can encode all 128 ASCII characters including lowercase letters (using Code Set B), uppercase letters, numbers, and special characters. This makes it much more versatile than Code 39.
There's no technical maximum length, but practical limits are around 48 characters. Longer barcodes become difficult to print and scan reliably. For very long data, consider using a 2D barcode like Data Matrix or QR Code.
Code 128A, 128B, and 128C refer to the three code sets within Code 128. A single barcode can use all three sets, switching between them as needed for optimal encoding. The barcode itself is still "Code 128."
Generate professional-quality CODE128 barcodes for free. No signup required.
Generate CODE128 Barcode Free