Make a Code 128 Barcode From Letters, Numbers and Symbols

Turn a SKU, order number or any text into a Code 128 barcode. The hidden check character is added for you, and long numbers are packed to keep the barcode short.

  • Free, no sign-up
  • Check character added
  • Up to 200 in one ZIP
  • Made in your browser

1Enter the text

Letters, numbers, spaces and punctuation, up to 80 characters.

Your barcode

What gets encoded, symbol by symbol

Size and style options

Bars are always black, because scanners need strong contrast. The standard white margin is part of the barcode: leave it on unless you are placing the image in your own layout with space around it. For retail print, choose Extra tall to keep GS1's proportions.

Make many at once

Put one value on each line. It uses the barcode type and options chosen above and downloads one ZIP with a file for every line (up to 200 lines).

Barcode type for this list: Code 128

What a Code 128 barcode can hold

Code 128 is the most common barcode for labels you control: SKUs, order numbers, shipping and warehouse labels, asset tags and document tracking. Nobody issues or registers the values, so any text works as long as your scanner and system expect it.

On this page

Letters, digits, spaces and punctuation, up to 80 characters. Upper and lower case are different: SKU-1025 and sku-1025 are two barcodes.

Not on this page

Accented letters, Urdu script, emoji and the control characters of code set A. If you need those, a QR code is usually the better choice.

Code sets B and C: why numbers come out shorter

Every Code 128 symbol is 11 modules wide. In code set B each symbol carries one character. In code set C each symbol carries two digits, so a 12-digit order number takes 6 symbols instead of 12. The generator switches to set C for runs of digits long enough to save space and back to set B for text, as you can see in the breakdown under the preview.

The hidden check character

Every Code 128 barcode ends with a check character before the stop. Each symbol's value is multiplied by its position, the start symbol counts once, the results are added, and the remainder after dividing by 103 is the check character. It isn't printed in the text, and scanners check it and then drop it. The working below uses the text you typed.

Code 128 or GS1-128?

GS1-128 is Code 128 with a special FNC1 character after the start and data split into GS1 Application Identifiers, such as (01) for a GTIN, (10) for a batch, (17) for an expiry date and (21) for a serial number. It is used on cartons, pallets and shipping labels in supply chains. This page makes plain Code 128, so if a retailer or carrier asks for GS1-128, use a tool built for it.

Size and white margin

Code 128 needs a white margin of at least 10 modules on each side, and the Standard margin here is exactly that. There is no fixed print size: the thinnest bar has to be wider than your scanner's minimum, and longer text makes a wider barcode. Print a test label at the final size and scan it before printing a batch.

Frequently asked questions

Is this Code 128 barcode generator free?

Yes, with no sign-up, no watermark and no limit. Nobody issues Code 128 values, so you can use any text you like.

What can a Code 128 barcode hold?

Here: letters, numbers, spaces and punctuation, up to 80 characters. Accented letters, Urdu script, emoji and control characters can't be used.

Is Code 128 case-sensitive?

Yes. SKU-1025 and sku-1025 make different barcodes, and a scanner returns exactly what you typed.

What is the check character, and do I add it?

It is added for you. Each symbol's value is multiplied by its position, the results are added, and the remainder after dividing by 103 is the check character. A scanner repeats the sum to catch misreads. It isn't printed in the text and the scanner doesn't output it.

Why is a barcode of digits shorter than one of letters?

Code 128 has a set, code set C, that packs two digits into one symbol. The generator switches to it for runs of digits, so long numbers stay compact.

Is this the same as GS1-128?

No. GS1-128 is Code 128 with a special FNC1 start and GS1 Application Identifiers such as (01) for a GTIN. This page makes plain Code 128. If a retailer or carrier asks for GS1-128, use a GS1-128 tool.

Do I need to register a Code 128 barcode?

No. You choose the text and nobody registers it. Use it for your own stock, assets, documents and shipping labels.

How long can a Code 128 barcode be?

Up to 80 characters here, but every character adds width, and many scanners struggle with very wide barcodes. Keep labels short, or use a QR code for long text.

More on barcodes