Logistics & Shipping · 1D Linear

Code 128 Barcode Generator

Code 128 is the workhorse of logistics and internal tracking. It packs the full ASCII character set into a high-density linear symbol, making it the default choice whenever you need to encode letters, digits and symbols — not just numbers.

Generate a Code 128 barcode

Free · No watermark · In-browser

Controls

Appearance

Bar color
Background

Human-readable text

Alignment
Text color

Advanced

Rotation
Code 1281d
live preview

About Code 128

High-density, full-ASCII linear code. The workhorse of logistics, shipping and internal tracking.

Full Code 128 guide
About Code 128

How Code 128 works

Code 128 uses three code sets (A, B and C) and switches between them automatically to encode data efficiently. Code set C pairs digits for double density, which is why numeric strings compress so well. A modulo-103 check character guarantees integrity.

Unlike retail GTIN codes, Code 128 needs no licensing — you can encode any internal identifier: SKUs, serial numbers, order IDs, bin locations. That freedom makes it ubiquitous in warehouses, manufacturing and shipping.

When you need to carry structured supply-chain data (GTIN plus batch, expiry or serial), use GS1-128, which is Code 128 with a leading FNC1 and standardised Application Identifiers.

Where Code 128 is used

  • Shipping and logistics labels
  • Internal SKU and serial tracking
  • Warehouse bin and pallet labels
  • Order and document identification
Code 128 FAQ

Code 128 questions answered

What is a Code 128 barcode?

Code 128 is a high-density linear barcode that encodes the full ASCII character set. It is widely used in logistics, shipping and internal tracking.

What can Code 128 encode?

Letters (upper and lower case), digits and most symbols — essentially any ASCII text. It auto-selects code sets for efficient encoding.

Is Code 128 free to use?

Yes. Code 128 requires no licensing, so you can encode any internal identifier such as SKUs, serials or order numbers.

What is the difference between Code 128 and GS1-128?

GS1-128 is Code 128 with a leading FNC1 character and standardised GS1 Application Identifiers for structured supply-chain data.

Need many Code 128 codes?

Batch-generate hundreds from a CSV, or place Code 128 on a full printable label with text and logos.