Free Code 128 Barcode Generator

Generate industry-standard Code 128 barcodes in seconds. Trusted worldwide for shipping labels, inventory tracking, and supply-chain management.

CODE 128 GENERATOR

Create your free Code 128 instantly

Generate Code 128 barcodes for free. No registration required, no watermarks, no limits.

Enter your content

qr_code_2

Your QR code will automatically appear here

tuneCustomize appearanceexpand_more

What Is a Code 128 Barcode?

Code 128 is a high-density linear barcode symbology defined in ISO/IEC 15417. It encodes all 128 ASCII characters, making it one of the most versatile one-dimensional barcodes available. The symbology was introduced in 1981 by Computer Identics and quickly became a global standard for logistics and retail.

The barcode uses three character sets — A, B, and C — to optimize density. Set C encodes digit pairs, cutting the physical width of numeric-only data nearly in half. A mandatory check digit calculated with a modulo-103 algorithm ensures data integrity at the point of scan.

Code 128 is the foundation of the GS1-128 (formerly UCC/EAN-128) standard, which adds Application Identifiers to encode structured supply-chain data such as batch numbers, expiration dates, and serial shipping container codes on logistics labels worldwide.

How to Create a Code 128 Barcode

  1. 1

    Enter Your Content

    Type or paste the alphanumeric string you want to encode. Code 128 accepts the full ASCII character set including letters, numbers, and special symbols.

  2. 2

    Choose Code 128 Format

    Select 'Code 128' from the format menu so the generator applies the correct encoding rules and check-digit algorithm.

  3. 3

    Adjust Size and Colors

    Set the barcode dimensions to fit your label layout and customize foreground and background colors to suit your packaging or document design.

  4. 4

    Verify the Preview

    Inspect the rendered barcode on screen. Confirm that the encoded text matches your input and the bars are crisp at the intended print size.

  5. 5

    Export the Barcode

    Download the barcode as a PNG or SVG file, ready to be inserted into shipping labels, inventory tags, or product packaging artwork.

Key Features

verified

Full ASCII Support

Encode any of the 128 ASCII characters — letters, digits, punctuation, and control codes — in a single barcode without switching symbologies.

straighten

Compact Linear Encoding

Automatic character-set switching minimizes barcode width, keeping labels compact even when encoding mixed alphanumeric data.

local_shipping

GS1-128 Compatible

Generate barcodes that comply with GS1-128 standards for shipping container codes, lot numbers, and expiration dates used across global supply chains.

download

High-Resolution Export

Download your barcode in scalable vector format or high-DPI raster, ensuring sharp prints at any label size from small stickers to pallet placards.

Use Cases

Shipping and Logistics Labels

Carriers like FedEx, UPS, and DHL rely on Code 128 barcodes on every parcel label to route packages through automated sorting hubs at high speed.

Warehouse Inventory Management

Distribution centers print Code 128 labels for bin locations and SKU tags, enabling handheld scanners to track stock movements in real time.

Product Packaging

Manufacturers add Code 128 barcodes to inner cartons and cases so retailers can scan receipts during dock-door receiving without opening boxes.

Library Book Tracking

Libraries encode call numbers and accession IDs in Code 128 barcodes affixed to book spines for fast checkout and return processing.

Healthcare Specimen Labeling

Labs print Code 128 barcodes on blood-draw tubes and sample containers to link specimens to patient records and reduce identification errors.

Manufacturing Work Orders

Factories attach Code 128 labels to work-in-progress assemblies so operators can scan each station and log production steps automatically.

Tips & Best Practices

  • check_circleIf your data is purely numeric, the generator will automatically use Code Set C to halve the barcode width — take advantage of this by removing unnecessary letters.
  • check_circleMaintain a minimum bar width of 0.19 mm (7.5 mil) to meet ISO print-quality specifications for reliable scanning.
  • check_circleAlways include human-readable text below the barcode so operators can key in the value manually if a label is damaged.
  • check_circleUse a high-contrast combination — ideally black bars on a white background — for maximum scan reliability across all reader types.
  • check_circleVerify your generated barcode against a GS1 validation tool when encoding structured supply-chain data with Application Identifiers.

Frequently Asked Questions

What is the difference between Code 128 and Code 39?expand_more
Code 128 encodes the full 128-character ASCII set and produces shorter barcodes thanks to its multi-character-set encoding. Code 39, by contrast, supports only 43 characters and generates wider barcodes for the same data, but it is self-checking and requires no external check-digit verification.
How many characters can a Code 128 barcode hold?expand_more
There is no fixed character limit defined by the symbology itself. Practical limits are set by available label space and scanner field-of-view. Most implementations keep the payload under 48 characters to ensure reliable scanning at standard distances.
Is Code 128 the same as GS1-128?expand_more
GS1-128 is built on top of Code 128 but adds a special start character (FNC1) and structured Application Identifiers. A plain Code 128 barcode encodes free-form text, while GS1-128 barcodes carry standardized supply-chain data fields recognized worldwide.
Can I encode special characters in Code 128?expand_more
Yes. Code 128 supports the entire ASCII table from 0 to 127, including control characters, tabs, and carriage returns. Character Set A covers control characters and uppercase letters, while Set B covers upper and lowercase letters plus common punctuation.
Do all barcode scanners read Code 128?expand_more
Virtually all modern laser, CCD, and camera-based scanners support Code 128 out of the box. It is one of the most universally recognized linear barcode symbologies, making it a safe default for any application where broad reader compatibility is required.

Create Your Free Code 128 Barcode Now

No registration required. No watermarks. No limits. Completely free.