Free Code 128 Generator
Code 128 is the workhorse of modern logistics — a high-density alphanumeric symbology that encodes the full ASCII character set in a very compact width. This free generator renders compliant Code 128 (Subsets A, B and C) directly in your browser and exports print-ready vector SVG or 600 DPI PNG.
How to generate a Code 128 barcode
- 1Open the generator and choose Code 128 from the format list (or open the tool with this page pre-selecting it).
- 2Type your data — any ASCII text, serial number, SKU or shipment reference works. The Mod-103 check digit is added automatically.
- 3Download your barcode as an uncompressed vector SVG or a high-resolution 600 DPI PNG, ready for print.
Code 128 was designed in 1981 by Computer Identics and is now standardized as ISO/IEC 15417. Unlike fixed numeric symbologies, it supports all 128 ASCII characters — letters, digits, punctuation and control characters — and automatically switches between Subsets A, B and C to minimize bar width. A mandatory Modulo-103 checksum is calculated for you, so scanners verify every read. It is the required base symbology for GS1-128 shipping labels and the default choice for internal logistics, shipping containers and asset management.
Code 128 — technical specifications
- Standard
- ISO/IEC 15417 (GS1-128 for AI-encoded data)
- Character set
- All 128 ASCII characters (Subsets A, B, C)
- Checksum
- Mandatory Modulo-103
- Length
- Variable; full ASCII messages
- Best for
- Logistics, shipping labels, inventory, asset tags
Where Code 128 is used
- Shipping and pallet labels for fulfillment warehouses
- Internal inventory and asset tracking tags
- Cardboard carton marking for distribution centers
- Product carton labels with batch and lot data
- Shipping carrier labels (DHL, FedEx, UPS, India Post)
- Equipment and tool tracking in manufacturing plants
Code 128 — Frequently Asked Questions
What data can Code 128 encode?
Does Code 128 include a check digit?
Code 128 vs GS1-128 — what is the difference?
Is this Code 128 barcode free for commercial use?
Is this barcode generator really free?
Can I use these barcodes commercially?
Do generated barcodes ever expire?
How do I print a barcode that scans properly?
What size should my barcode be?
What is a check digit?
Can I scan the barcode on my phone?
Does my data leave my browser?
What's the difference between SVG and PNG?
Can I print on adhesive label paper?
Will this barcode work with any scanner?
Related generators
Ready to generate?
Free, instant, in your browser. No account, no watermark.
Create your Code 128 barcode now