Code 128 Barcode Generator
Make Code 128 barcodes from letters, numbers and symbols, for labels, stock and asset tags. The check character is added for you. Free PNG and SVG.
Loading the barcode engine…
Made in your browser: the value you type is not sent anywhere. Scan a test print before you print in bulk.
Labels people scan with their phones?
Phone cameras read QR codes, not Code 128. A dynamic QR code can open a manual or product page and be changed after printing.
- Update destination anytime
- Never reprint physical materials
- Pay once, own for life
How to Make a Code 128 Barcode
1. Type the value
Any mix of letters, numbers and keyboard symbols, such as a SKU, asset number or order ID. Up to 80 characters.
2. Check the preview
The barcode updates as you type, with the text printed underneath. The check character is added for you.
3. Download PNG or SVG
Use the PNG in label software or a spreadsheet, or the SVG for print, where it stays sharp at any size.
What Code 128 is good for
Code 128 is the everyday barcode for anything that isn't sold at a shop till: shipping and warehouse labels, stock bins, asset tags, library cards, tickets, lab samples. It can hold upper and lower case letters, numbers and symbols, so your existing item numbers work as they are, and it is denser than older types such as Code 39, so the same value makes a shorter barcode.
It does not replace UPC or EAN for products sold in shops; checkout systems expect those. For that, use the UPC barcode generator.
How Code 128 packs data
Code 128 has three character sets. Set B covers normal letters, numbers and symbols; set A covers capitals and control characters; set C stores pairs of digits in a single character, which is why long numbers come out compact. The generator picks and switches sets for you to keep the barcode as short as possible, and adds the hidden check character that lets a scanner catch a misread. You never type either.
Tips for labels that scan
- Keep values short. Every extra character makes the barcode wider; past about 20 characters, consider a QR code or Data Matrix.
- Leave clear white space on both sides of the bars, at least 10 times the width of the thinnest bar.
- Print black on white. Thermal label printers work well; check that the thinnest bars don't blur together.
- Scale the barcode in one piece. Stretching only the width or only the height can make it unreadable.
Code 128 or GS1-128?
They look the same. GS1-128 is Code 128 carrying GS1 fields (shipping container codes, GTINs, batch numbers, dates) in a fixed format that trading partners can read automatically. If a customer or distributor asks for a GS1 or SSCC label, use the GS1-128 barcode generator; for your own labels, plain Code 128 is right.
Frequently Asked Questions
Is this Code 128 generator free?
Yes. Make and download as many Code 128 barcodes as you need, as PNG or SVG, with no account and no watermark. They are made in your browser; what you type is not sent to a server.
What characters can Code 128 hold?
All 128 ASCII characters: upper and lower case letters, digits, punctuation and symbols. This tool accepts the printable ones you can type on a keyboard. Accented letters and emoji are not supported.
Do I need to add a check digit?
No. Code 128 has a check character calculated from the rest of the barcode, and the generator adds it automatically. It is not shown in the text under the bars.
Can I use Code 128 for Amazon FBA labels?
Amazon generates FNSKU labels for you in Seller Central, and those are Code 128. If you need to recreate one, enter the FNSKU exactly as Amazon shows it, but printing Amazon’s own label is the safer choice.
How long can a Code 128 barcode be?
This tool allows up to 80 characters, but shorter is better: the barcode gets wider with every character, and very wide barcodes are hard to scan. For long data, a QR code or Data Matrix holds much more in less space.
Recommended Guides
Technical best practices and printing guidelines from our engineering team.
QR Codes on Product Packaging: Design, Size and Compliance
Master QR code implementation on retail boxes, bottles, pouches, and cartons: substrate absorption, curved surface distortion, regulatory compliance, and dynamic manuals.
Product Authenticity QR Codes: How Serial QRs Help Catch Counterfeits
A hologram sticker can be reprinted. A serial QR code that counts its own scans can’t be copied without giving itself away. Here’s how authenticity QR codes work, and what they can and can’t do.
How to Test a QR Code Before Printing: A Checklist
Avoid catastrophic print reruns with our 7-point pre-flight checklist: 100% scale proofing, multi-device camera verification, glare tests, and destination flexibility.
More Free QR Tools
Explore our suite of client-side QR utilities.
Free QR Code Generator
Generate instant static QR codes for URLs, Wi-Fi, contacts, SMS, and text.
QR Code Scanner Online
Scan and decode QR codes directly in your browser from an image or live camera.
Can You Change This QR Code?
Upload any QR code to find out if its destination can be updated after printing.
QR Code Size Calculator
Calculate the minimum and recommended physical print size based on scan distance.