Code 128 barcode tool

Code 128 Generator

Generate Code 128 barcodes with automatic or manual code-set control, built-in validation, and high-quality SVG or PNG export.

Free to useNo account required
Code 128 validationClear input feedback
SVG & PNG exportReady for product and business workflows

Configure Code 128

Enter printable ASCII text or numeric data to encode.
Let the shared renderer choose an appropriate Code 128 encoding.
Output format

● Valid Code 128

Code 128 Preview

● Valid Code 128
Enter a valid value to preview
Encoded Value
BARLORA-001
Barcode Type
Code 128
Encoding Mode
Automatic
Image Size
400 × 100 px
Output Format
SVG (vector)
Human-readable
On
Quiet Zone
On
Status
● Valid

How to use the Code 128 Generator

Create your Code 128 barcode in four simple steps.

1

Enter your value

Type the text or numeric data you want to encode.

2

Choose a code set

Use Automatic for most cases, or select a specific Code 128 set when needed.

3

Configure output

Set dimensions, readable text and quiet-zone options.

4

Generate & download

Preview and export as SVG or PNG.

Why this tool helps

Build compact, readable barcode graphics for operational workflows.

Product & SKU labels

Create compact product and SKU barcode labels.

Inventory systems

Encode identifiers used in warehouse and stock workflows.

Shipping & logistics

Prepare Code 128 barcode graphics for operational labels.

Internal business IDs

Encode alphanumeric identifiers for business workflows.

Code 128 rules & output

Use the appropriate encoding mode, then export the same normalized barcode state you preview.

Automatic encoding

Use automatic Code 128 encoding for general alphanumeric data.

Code Set control

Choose A, B or C when your workflow requires a specific set.

SVG & PNG export

Download scalable vector or raster output for labels and digital use.

Code Set A supports printable characters from space through underscore in this V1 interface. Code Set B supports letters, digits and common printable ASCII characters. Code Set C encodes numeric digits in pairs.

Frequently asked questions

Find answers to common questions about Code 128.

What is Code 128?⌄

Code 128 is a high-density linear barcode that can encode alphanumeric data.

What is the difference between Code Set A, B and C?⌄

Code Set A supports a more limited printable range in this V1 interface, Code Set B supports common printable ASCII characters, and Code Set C encodes digits in pairs.

Which Code Set should I use?⌄

Automatic is recommended for most users. Choose a specific set only when your workflow requires it.

Does Code 128 include a check digit?⌄

Yes. The Code 128 checksum is generated automatically as part of the barcode symbol; you do not enter it yourself.

Is Code 128 the same as GS1-128?⌄

No. GS1-128 uses Code 128 symbology with GS1-specific data structure and conventions. It is a separate workflow.

Can I download Code 128 as SVG or PNG?⌄

Yes. Download the current valid Code 128 barcode as SVG or PNG.

Barlora creates the barcode graphic from data you provide. It does not issue or register identifiers.

Create a Code 128 barcode today.

Fast. Free. No account required.

Create Code 128 →Explore More Tools