UtiliKit

Code 128 Barcode Generator

Turn any SKU, serial number or tracking code into a Code 128 barcode. It takes letters, numbers and symbols, previews as you type and saves as PNG or SVG without uploading your data.

⌛ Ready

Letters, numbers, spaces and symbols such as - . / # all work. Example: SKU-10482-BL.

#000000

SVG: 5 free exports per day shared with QR tools; resets 00:00 UTC. Compare Premium for no daily cap.

How to make a Code 128 barcode

  1. Type or paste the value: a SKU, serial number, order number or any short text. The preview updates as you type.
  2. Keep black bars on white for the best scan rate. Adjust the thickness if the barcode has to fit a narrow label.
  3. Download PNG for documents and label software, or SVG for print artwork that stays sharp at any size.
  4. Print one label and scan it with the scanner you will really use before printing the whole batch.

What is Code 128?

Code 128 is a compact barcode for letters and numbers. It can hold all 128 ASCII characters: capital and small letters, digits, spaces and punctuation. That makes it the usual choice for shipping labels, warehouse bins, asset tags, order numbers and internal SKUs. It has no fixed length, so A-17 and SKU-10482-BL are both valid.

Code sets A, B and C

Code 128 has three code sets. Set A covers capital letters and control characters, set B covers capital and small letters, and set C packs two digits into one symbol. This generator chooses and switches sets by itself, so a long run of digits takes about half the width it would otherwise need. You only type the value.

The check character

Every Code 128 barcode ends with a check character (modulo 103) that lets the scanner reject a misread. The generator calculates it and adds it to the bars. It is not printed in the text under the barcode, and you do not type it.

How long can a Code 128 barcode be?

There is no fixed limit, but every character makes the barcode wider. For hand scanners and ordinary label sizes, values up to about 20 characters scan most reliably. Digits take half the room of letters. If you need to store a web address or a paragraph of text, a QR code holds far more in a small square.

Code 128 or GS1-128?

GS1-128 (formerly UCC/EAN-128) is Code 128 with a special FNC1 start character and GS1 application identifiers such as (01) for the product number or (10) for the batch. Carriers and retailers ask for it on logistics labels. This tool makes plain Code 128 and does not add FNC1, so use it for your own internal codes, not for labels that must be GS1-128.

Code 128, Code 39, UPC or EAN?

Size, quiet zone and print tips

SVG or PNG?

SVG is vector artwork: it stays sharp at any size and suits print shops and packaging files. PNG is a fixed-pixel image on a white background, exported at three times the preview size, which suits documents, spreadsheets and label software.

Which downloads are free?

PNG downloads have no daily cap. The free tier includes 5 SVG exports per day shared across the QR and barcode tools in this browser, resetting at midnight UTC. Premium (€49 once or €4.99/month) removes that cap and adds Bulk Mode: paste one value per line and download all the barcodes as one ZIP.

Related generators

For retail products use the UPC generator or the EAN-13 generator; the general barcode generator covers every format. To link to a web page, use the QR code generator, or print whole sheets of QR labels with the QR Label Maker.

Frequently Asked Questions

What characters can a Code 128 barcode hold?

All 128 ASCII characters: capital and small letters, digits, spaces and punctuation. Accented letters and other characters outside ASCII are not supported.

Is there a length limit for Code 128?

There is no fixed limit, but each character makes the barcode wider. For hand scanners and ordinary labels, values up to about 20 characters scan most reliably. Digits take half the room of letters.

Does Code 128 have a check digit?

Yes. Every Code 128 barcode includes a check character (modulo 103). This generator calculates it and adds it to the bars; it is not printed in the text under the barcode.

Is Code 128 the same as GS1-128?

No. GS1-128 is Code 128 with a special FNC1 start character and GS1 application identifiers. This tool makes plain Code 128 without FNC1, for internal SKUs, serial numbers and tracking codes.

Can I use Code 128 on products sold in shops?

Shop checkouts expect UPC-A or EAN-13 with a number issued by GS1. Code 128 is meant for internal use: shipping labels, warehouse bins, asset tags and order numbers.

Should I download SVG or PNG?

Use SVG for print artwork, because it stays sharp at any size. Use PNG for documents, spreadsheets and label software. PNG downloads are free without a daily cap; SVG has 5 free exports per day.

Can I make many Code 128 barcodes at once?

Yes, with Bulk Mode (a Premium feature): paste one value per line and download all the barcodes as one ZIP. Making barcodes one at a time is free.

Are my values uploaded anywhere?

No. The barcode is drawn in your browser and the value you type is not sent to a server.

Explore More Tools

Barcode Generator QR Generator WiFi QR Color Picker QR Label Maker Product Photo Studio