⭐ 0

Code 128 Barcode Generator — Free SVG and PNG

Generate Code 128, EAN-13, EAN-8, UPC-A and Code 39 barcodes with live validation and automatic check digits, downloadable as SVG or PNG.

Processed entirely in your browser — nothing you enter here is ever uploaded.

Processing... 0%

Result

About this tool

This page opens the barcode generator with Code 128 already selected — type your value, run the tool and download the barcode as SVG or PNG.

Code 128 is the workhorse of logistics and warehousing: it encodes all printable ASCII characters, packs digits densely by switching to subset C automatically, and always carries a mod-103 checksum, which is why couriers, inventory systems and shipping labels rely on it.

Everything is encoded locally in your browser from the official pattern tables — no upload, no watermark. If you need a retail code with a check digit instead, switch the format to EAN-13 or UPC-A in the same tool.

Example. The twelve digits 400638133393 in EAN-13 are completed with check digit 1, so the symbol encodes 4006381333931.

Limit. EAN-13, EAN-8 and UPC-A accept only digits of the GTIN length, and a wrong final check digit is refused.