About Code 128 Barcodes
Code 128 is a high-density linear barcode symbology capable of encoding all 128 ASCII characters. It was introduced in 1981 and has become one of the most widely used barcode formats in logistics, shipping, and supply chain management. Code 128 achieves its compact size by using three distinct character subsets (A, B, and C), automatically switching between them to produce the shortest possible barcode for any given input.
Code 128 Subsets
- Subset A: Encodes control characters (ASCII 0-31), uppercase letters (A-Z), digits (0-9), and special characters. Ideal for data that includes non-printable control codes.
- Subset B: Encodes all standard printable ASCII characters, including uppercase and lowercase letters, digits, and symbols. This is the most commonly used subset for general-purpose text.
- Subset C: Encodes numeric-only data in pairs of two digits, making it extremely compact for long numeric sequences. A 12-digit string encoded in Subset C takes roughly half the space it would in Subset A or B.
Common Use Cases
- Shipping and Logistics Labels: Code 128 is the standard barcode format for shipping labels used by carriers such as FedEx, UPS, and USPS. Its high density allows detailed tracking information to fit on compact labels.
- Package Tracking: Warehouses and distribution centers rely on Code 128 barcodes to track packages through every stage of the fulfillment process, from receiving to dispatch.
- Inventory Management: Retailers and manufacturers use Code 128 to label products, bins, and shelves, enabling fast and accurate inventory counts with handheld scanners.
- Supply Chain and Compliance: Many industry standards, including GS1-128 (formerly UCC/EAN-128), build on Code 128 to encode structured data such as batch numbers, expiration dates, and serial numbers.
Related Barcode Types
- GS1-128 Barcode Generator — An extension of Code 128 that adds application identifiers for structured supply chain data.
- Code 39 Barcode Generator — An older alphanumeric symbology commonly used in military and automotive applications.
- Barcode Generator Hub — Explore all supported barcode formats.
Related Tools
You might also find these tools useful:
- Barcode Generator — Browse all barcode formats in one place.
- QR Code Generator — Create QR codes for URLs, contacts, WiFi, and more.
- Password Generator — Generate secure, random passwords.