Close Icon
Get the Orca scan app QR code

Scan the QR code to download the mobile app

Code 128 Barcode Generator

How to generate a Code 128 barcode in 3 steps

1. Select a barcode type

2. Enter the barcode data

Barcode content
You can either manually input the barcode content or simply click the 'Randomise' button for automatic generation.
Barcode caption
Font size
Quantity
Need to create multiple unique barcodes?

Barcode preview

Customise your barcode

3. Generate the barcode image

File format

What is a Code 128 barcode?

Code 128 is a high-density linear barcode symbology that is commonly used in logistics, shipping, and inventory management for encoding complex data. Unlike other barcode types such as UPC or EAN, Code 128 can encode letters, numbers, and special characters, making it versatile for various industries. It is not tied to a specific system like GS1 but is widely used across many applications where detailed data needs to be stored compactly.

How much data can a Code 128 barcode hold?

A Code 128 barcode can hold up to 128 characters, which can include a combination of numeric, alphanumeric, and special characters. This makes it far more flexible than barcodes like EAN-8 or UPC, which are limited to numeric digits. Code 128 is structured into three subsets—A, B, and C—each of which handles different character sets, providing broad flexibility.

How to generate multiple code-128 barcodes

You can use Orca Scan web or mobile application to generate multiple code-128 barcodes using the following steps:

Import a spreadsheet of barcode data

To generate barcodes from a spreadsheet of data:

  1. Create a free Orca Scan account
  2. Import your spreadsheet of barcodes
  3. Select the barcodes you wish to generate
  4. Open the Barcode Preview on the left
  5. Select the Barcode Type
  6. Click Download or Print

Scan barcodes on existing products

To generate barcode images for existing products:

  1. Scan your products using the Orca Scan mobile app
  2. Login to the Orca Scan web app
  3. Select the barcodes you wish to generate
  4. Open the Barcode Preview on the left
  5. Select the Barcode Type
  6. Click Download or Print

How to generate code-128 barcodes programmatically

You can generate Code 128 barcodes programmatically using our Barcode Image API. Simply pass the desired data and barcode type as URL parameters. For example: https://barcode.orcascan.com/?type=code128&data=hello world

Need help generating barcodes?

We've helped over 350,000 users solve barcode tracking issues. For expert advice on barcode generation, chat to us live.

Ready to start scanning?