Home / Code 128 Generator

Code 128 Generator

Create Code 128 barcodes online for free – high-density and ideal for logistics, shipping and internal labelling.

Open the generator →

Try it now

Code 128 barcode

What is a Code 128 barcode?

Example of a Code 128 barcode barcode
Example rendering of a Code 128 barcode, created with Barcode Studio

Code 128 is a high-density 1D barcode that encodes the full ASCII set (numbers, letters, symbols) while staying very compact.

It is the standard for internal labeling, shipping labels and Amazon FNSKU – flexible and reliably scannable.

Technical details

Category
1D linear barcode
Data & character set
full ASCII set (128 characters: digits, upper/lowercase, symbols)
Capacity
variable length, practically unlimited
Check / error correction
internal Modulo-103 check character (automatic)
Norm / standard
ISO/IEC 15417
Size & printing
very compact; free bar height
Good to know
Three character sets (A/B/C) – set C compresses digit pairs and saves space for numeric data.

Compared to related codes

CodeCategoryData & character set
Code 128 barcode1D linear barcodefull ASCII set (128 characters: digits, upper/lowercase, symbols)
Code 39 barcode1D linear barcodeA–Z, 0–9 and - . $ / + % plus space
GS1-128 barcode1D linear barcode (logistics)ASCII with standardized data identifiers (GS1 Application Identifiers)
ITF barcode1D linear barcode (numeric)digits only, always an even count

This helps you pick the right code type for your use case faster.

How to create a Code 128 barcode

  1. The type “Code 128 barcode” is preselected – you can change it anytime in the generator.
  2. Enter your value (example: ABC-12345).
  3. Adjust colors, module size and the quiet zone and check the live preview.
  4. Download the Code 128 barcode as PNG, SVG or PDF, or print an A4 label sheet.

Use cases

Tips for clean printing & scanning

Features

FAQ

How do I create a Code 128 barcode?
Choose the type, enter your value (e.g. ABC-12345), adjust the design and download the Code 128 barcode as PNG, SVG or PDF.
What is a Code 128 barcode used for?
Typical use cases are Logistics and shipping, Serial numbers, Internal labelling.
What is an example value for a Code 128 barcode?
A valid example is “ABC-12345”. Just enter your own value and the Code 128 barcode is generated instantly in the preview.
Is the Code 128 Generator free?
Yes. Barcode Studio is completely free and requires no sign-up.
Which download formats are available?
You can export as PNG, SVG or PDF and print directly.
Does it work on mobile?
Yes, Barcode Studio runs in any modern browser on desktop and mobile.

Related codes

Related guides

Trustpilot

Review on Trustpilot ↗