BarcodX
Logistics
9 Min Read

The Complete Code 128 Barcode Guide

High-density, alphanumeric versatility. Master the world's most popular linear symbology for logistics and industrial inventory.

What is Code 128?

Code 128 is a high-density linear barcode symbology capable of encoding all 128 characters of the standard ASCII set. This includes uppercase letters, lowercase letters, numbers, and technical control characters. Its versatility and compactness have made it the global standard for logistics, shipping, and industrial inventory management.

Interactive Code 128 Generator

Use the tool below to generate high-resolution Code 128 barcodes. You can enter a single value or import a batch list from a CSV/Excel file for large-scale logistics operations.

Live Output Preview

CODE128-LOGISTICS

Structural Anatomy

Every Code 128 symbol follows a strict physical structure defined by ISO/IEC 15417:

  1. Start Character: Identifies which subset (A, B, or C) the barcode begins with.
  2. Data Characters: The encoded information payload.
  3. Check Digit: Calculated using the Modulo 103 algorithm to verify scan integrity.
  4. Stop Character: A unique pattern signaling the end of the data.

Industrial Shipping Labels

Need to design a full warehouse bin label or a shipping tag? Use our drag-and-drop editor for complete layout control over text and graphics.

Character Sets A, B, and C

To maximize density, Code 128 switches between three character subsets:

  • Subset A: Ideal for capital letters, numbers, and technical ASCII control codes (like CR/LF).
  • Subset B: The most common set, supporting mixed-case letters, numbers, and symbols.
  • Subset C: Optimized for digits only. It packs two digits into a single symbol, making long numeric strings 50% more compact.

Disclaimer: While BarcodX provides standard-compliant tools, always verify your final label designs with high-quality hardware scanners to ensure reliability in fast-paced industrial environments.

Related Guides & Articles