Free Barcode Generator (Code 128)
Type any text and get a scannable Code 128 barcode instantly — download as PNG or SVG.
Frequently Asked Questions
What is Code 128?
A widely used, high-density barcode format that can encode the full ASCII character set — letters (upper and lower case), digits, and most symbols. It's common on shipping labels, inventory tags, and product packaging.
Will this barcode actually scan?
Yes — the barcode is generated with JsBarcode, a widely used open-source encoding library, rather than a custom implementation, so the bar widths follow the Code 128 specification exactly.
PNG or SVG — which should I use?
SVG scales to any size without blurring, which matters for barcodes since scanners are sensitive to bar-width distortion — ideal for professional printing. PNG is simpler to drop into documents or spreadsheets where exact scaling matters less.
Why did my barcode disappear or show an error?
Code 128 only supports standard ASCII text — if the input is empty or contains characters outside that range, generation is skipped until the text is valid.