Code 128 Shipping Label Barcode Generator

Generate high-density Code 128 barcodes for shipping labels, logistics tracking, carton identifiers, and warehouse bin tags with automatic subset compaction and 300 DPI exports.

Shipping Code Configuration

Auto-mode active: Optimized subset switching.

High-density Code 128 scan-tested across major 3PL laser scanners.

Why Code 128 Powers Global Logistics and Shipping Labels

Invented in 1981 by Computer Identics, Code 128 is a high-density, variable-length linear barcode symbology capable of encoding all 128 standard ASCII characters (values 0 to 127). It has become the global backbone of logistics, transport, warehousing, and parcel delivery services, including FedEx, UPS, USPS, DHL, and major third-party logistics (3PL) distribution centers.

Subset A, B, and C: How Code 128 Achieves Unmatched Density

Code 128 achieves its superior compaction through three internal code subsets:

  • Code 128A: Encodes uppercase letters (A–Z), numbers (0–9), punctuation, and ASCII control characters (such as tab, carriage return, and null).
  • Code 128B: Encodes uppercase and lowercase letters (a–z, A–Z), numbers (0–9), and standard punctuation. It is the most versatile subset for alphanumeric serial numbers and SKU codes.
  • Code 128C: Encodes pairs of numbers (00 through 99) into single character patterns. For purely numerical tracking codes (such as FedEx 12-digit tracking numbers or SSCC-18 pallet codes), Subset C cuts the total length of the barcode nearly in half, fitting long strings onto small packaging stickers.

Our generator features an intelligent auto-switching algorithm: if your input contains an even number of consecutive digits, it automatically switches into Subset C to minimize barcode width, and returns to Subset B for alphanumeric characters.

Code 128 vs. Code 39 for Shipping

While older warehouse management systems sometimes utilize Code 39, Code 128 is overwhelmingly superior for modern supply chains:

Feature Code 128 Code 39
Character Set Full 128 ASCII (Upper, Lower, Control) Uppercase letters, digits, 7 symbols
Data Density High (Subset C double-compaction) Low (requires wide inter-character spaces)
Checksum Integrity Mandatory modulo-103 checksum Optional (higher misread rate without it)
Carrier Compliance Mandatory for FedEx, UPS, Amazon FBA Legacy industrial and DoD use only

Quiet Zones and Print Contrast for Shipping Labels

In fast-moving fulfillment centers, packages move along conveyor belts at speeds exceeding 600 feet per minute. To ensure multi-directional laser scanners capture the code:

  1. Ensure a quiet zone of at least 10 times the narrow bar width on both ends. Never place tape or colored box graphics over the white edges.
  2. Set thermal printer darkness to a balanced level: too dark causes bar bleed (spreading black bars that narrow the white spaces), while too light causes dropped pixels.
  3. For direct thermal labels, avoid exposing the packages to direct sunlight or extreme heat, as chemical thermal paper darkens and turns unreadable when heated.

Related Logistics Tools

Related Logistics Guides

Frequently Asked Questions About Code 128 Barcodes

Code 128 offers the highest data density of any 1D linear barcode symbology while supporting all 128 standard ASCII characters. When encoding numerical tracking codes, Code 128 Subset C encodes two digits into a single bar symbol, reducing label width by nearly 50% compared to Code 39.
Subset A encodes uppercase letters, digits, and ASCII control characters. Subset B encodes uppercase and lowercase letters, digits, and standard punctuation. Subset C encodes pairs of numerical digits (00-99) with double density. Our generator uses intelligent auto-switching to produce the most compact barcode possible.
GS1-128 (formerly UCC/EAN-128) is a special implementation of Code 128 that utilizes the non-printable FNC1 character immediately after the start code. This signals to scanners that the data follows standard GS1 Application Identifiers (AIs) like (01) GTIN, (10) Batch, and (17) Expiration Date.
Yes! Code 128 supports spaces, hyphens, slashes, periods, and uppercase/lowercase letters seamlessly. Tracking numbers with dashes like 'TRK-9824-US' encode without error.
For carton and parcel shipping labels, a narrow bar width (X-dimension) between 0.010 and 0.020 inches (10 to 20 mils) and a bar height of at least 1.0 to 1.25 inches (25.4 to 31.75 mm) is standard for warehouse long-range laser scanners.
Yes. Code 128 includes a mandatory internal modulo-103 checksum calculated from the position-weighted sum of all character values. Our generator computes this checksum automatically; it is encoded in the bars but not displayed in the human-readable text line.