Make a Code 128 barcode from any text or number, such as an order number, SKU or shipping reference. Download it as PNG or SVG for labels. Free, no sign-up, nothing is uploaded.
This is one of our free generators. For Code 39, ITF-14, MSI and other formats, use the main Barcode Generator.
How to make a Code 128 barcode
- Type the text or number you want in the barcode.
- Choose the bar width and height to fit your label.
- Download the SVG for printing or the PNG for documents, then test it with a scanner app.
What Code 128 is used for
- Shipping labels: courier and warehouse references, often as GS1-128.
- Stock and inventory: SKUs and bin locations that mix letters and numbers.
- Asset tags: laptops, tools and equipment with an ID such as IT-00421.
- Documents: invoice and file numbers that a scanner can read back.
How Code 128 works
Code 128 has three character sets. Set A covers capital letters and control codes, set B adds small letters, and set C packs two digits into each symbol, so long numbers stay short. The library switches between sets automatically to keep your barcode as compact as possible, and adds a hidden check character (modulo 103) so scanners can catch errors.
| Barcode | Characters | Best for |
|---|---|---|
| Code 128 | All keyboard characters | Labels, shipping, inventory |
| EAN-13 | 13 digits | Products sold in shops worldwide |
| UPC-A | 12 digits | Products sold in the US and Canada |
| Code 39 | Capitals, digits, a few symbols | Older industrial systems |
Selling the product in shops or online marketplaces? Read our guide on how to get a barcode for your product in India, with every step linked to GS1 India’s official pages.
Frequently asked questions
What can a Code 128 barcode contain?
Any plain keyboard character: capital and small letters, digits, spaces and symbols. That is why it is used for order numbers, SKUs and shipping references.
Is Code 128 the same as GS1-128?
GS1-128 is a Code 128 barcode that follows GS1 rules, with application identifiers, with codes in brackets that say what each part means, such as (01) for a product number. Shipping and pallet labels often use it.
Can I use Code 128 on products sold in shops?
No. Retail tills are set up for the EAN/UPC family (EAN-13 and UPC-A). Use Code 128 for internal stock, shipping and asset labels.
Does Code 128 need a check digit?
Yes, but it is added automatically inside the barcode. You do not type it, and it is not shown under the bars.
Sources
How to cite this tool
Using this tool for coursework, a report or research? You can cite it like this (APA 7th edition):
Kumar, M. (2026). Code 128 Barcode Generator [Online tool]. FreeToolsLand. https://freetoolsland.com/code-128-barcode-generator/
