Logotipo de QRCodeChamp

Code-128 Barcode Generator

Shipping, inventory, general purpose (most popular)

Linear Codes › Code-128

Valid Code-12815 charactersAllowed: All 128 ASCII characters

Live preview
Loading barcode engine…
Download format

What is a Code-128 barcode?

Code 128 is a compact linear barcode that can hold letters, digits and punctuation. Warehouses, shipping companies, factories and shops use it for item numbers, serial numbers, order IDs and internal labels. If you are not sure which barcode to use for your own system, Code 128 is usually a safe choice.

It has three character sets, and set C packs two digits into each symbol, so long numbers stay short. Every Code 128 barcode ends with a modulo 103 check character that scanners use to catch misreads. Our generator adds it automatically, and it is not shown in the text under the bars.

What data can Code-128 hold?

Any standard ASCII character: A-Z, a-z, 0-9, space and common punctuation. Accented letters and emoji are not supported, the check character is calculated for you, and we warn you if a value is longer than 80 characters.

Recommended size

Leave a blank quiet zone of at least 10 times the narrowest bar (the X-dimension) on both sides. An X-dimension of about 0.25 mm to 0.5 mm suits most labels; test-print one before a big run.

More Linear Codes barcodes

How to Create a Barcode in 3 Steps

1

Choose a barcode type

Select a category on the left (e.g. Linear Codes), then the exact type like Code-128.

2

Enter data & customise

Type your data — we check it live and add check digits. Adjust size, font and colors.

3

Download or print

Get PNG, JPG, SVG, PDF or EPS, or print a full sheet of labels in one click.

Why Use QRCodeChamp Barcode Generator

125+ barcode types

Every linear, 2D, GS1, postal, healthcare and payment code.

Live validation

Friendly errors with one-click fixes and automatic check digits.

Print-ready PDF

Exact mm sizes, label sheets (Avery, A4, 4×6 thermal).

Bulk barcodes

Paste a list or generate number sequences.

Choose the Type of Barcode You Need

Not sure which barcode to use? Start with what you need it for — we’ll pick the right type.

Frequently Asked Questions

Yes. Code 128 supports upper and lowercase letters, digits and punctuation, so you can type your data as it is.

Code 128 uses a modulo 103 check character. Our generator calculates and adds it automatically; it is part of the bars but is not printed in the text.

GS1-128 is Code 128 with a special FNC1 start and data written as GS1 Application Identifiers, such as (01) for a GTIN. Use plain Code 128 for your own labels and GS1-128 when a trading partner asks for GS1 data.

Yes. Enter one value per line or generate a number sequence, then download the barcodes or print them on a label-sheet PDF.