Skip to generator
oddsprig

Free Code 128 Barcode Generator

Create Code 128 labels from standard letters, numbers and symbols. Enter one value per line or import a spreadsheet; download PNG or SVG.

Loading generator…

Open the full generator with this preset

How to use this generator

  1. Enter your identifier, one value per line.
  2. Keep Code 128 selected, or use the format example.
  3. Review the preview and choose the code you need.
  4. Download PNG or SVG, then test it with your scanner.

What Code 128 is

Code 128 is a compact, high-density 1D barcode that holds letters, numbers and symbols. It’s used on shipping labels, inventory and asset tags, tickets and internal labels. The name comes from the 128 ASCII characters it can encode.

Every Code 128 barcode has a start character, your data, a check character worked out from the data, and a stop character. Scanners use the check character to catch misreads, and the generator adds it for you.

Code 128 switches between three character sets: A for capitals and control characters, B for capitals, lowercase letters and punctuation, and C for pairs of digits. Set C packs two digits into each character, so long numbers make shorter barcodes. The generator chooses and switches sets automatically.

Code 128 examples

Example valueTypical use
ABC-12345An inventory or asset tag
1234567890An order or ticket number. All digits, so it encodes compactly.
SHELF-B04A shelf or bin location

Copy an example into the generator above to see how it looks.

GS1-128 and shipping labels

GS1-128 (formerly UCC/EAN-128) is Code 128 with a special start character and GS1 Application Identifiers in brackets, such as (00) for a shipping container code or (01) for a product’s GTIN. Retail and logistics partners often ask for it on carton and pallet labels. Choose the separate GS1-128 format in the full generator when a partner requires it.

Printing Code 128 so it scans

Barcode formats

FormatWhen to use it
Code 128Internal labels with standard English letters, numbers and symbols.
Data Matrix ECC 200Compact identifiers for scanners that support Data Matrix.
QR CodeWebsites, text, Wi-Fi and vCard contacts for compatible phones.

About this tool

This tool accepts standard English letters, numbers, spaces and punctuation for Code 128. Use a QR code for other alphabets, emojis or multi-line text.

Your inventory system must still recognize the identifier it contains.

Your values are processed locally without uploads.

GS1-128 uses Code 128 with GS1 structure and application identifiers. Choose the separate GS1-128 format when required.

Code 128 can be used for retail checkout only if the receiving system accepts it. Retail products commonly require an assigned EAN-13 or UPC-A identifier instead.

Code 128 questions

Is this Code 128 generator free?

Yes. There’s no sign-up and no watermark, and your values are encoded in your browser, not uploaded.

Can I make many Code 128 barcodes at once?

Yes. Enter one value per line, or import a column from a CSV or Excel file, then browse and download each barcode.

What’s the difference between Code 128 and Code 39?

Code 39 is an older format that holds fewer kinds of characters and makes longer barcodes for the same data. Use it only if your system specifically asks for it.

All barcode and QR tools · Free Data Matrix Generator (ECC 200) · Free EAN-13 Barcode Generator