Generate Code 128 barcodes online for free with this barcode generator . Create scannable barcodes for products, inventory, retail SKUs, shipping labels, and asset tags — all compatible with virtually every laser and image scanner, ready to print in seconds. No registration, no watermarks, and the barcode downloads as a high-resolution PNG.
Code 128 is a one-dimensional (linear) barcode: it encodes data as a sequence of vertical bars and spaces of varying widths that a scanner reads in a single pass. Unlike a QR code , which stores data in a 2D grid, a linear barcode holds a single short string. That makes it ideal for product IDs, SKUs, and serial numbers where you want a compact, universally-scannable identifier.
An online barcode generator lets you produce a Code 128 barcode the moment you need one, without buying label software or installing a plugin. Type a product code, SKU, or serial number and the tool renders the bars instantly, ready to copy into an invoice, paste onto a packaging design, or print onto an adhesive label. The output is a clean PNG that scales without quality loss.
Code 128 is the most flexible linear barcode maker format because it supports all 128 ASCII characters — letters, digits, and symbols — in a compact width. That is why it is the default for shipping (GS1-128), warehouse inventory, and point-of-sale systems worldwide. Because this create barcode online tool runs entirely in your browser, your product codes never leave your device, which matters for confidential SKUs and unreleased catalogues.
Type any alphanumeric value and the generator renders it as a Code 128 barcode on the right. The bars represent your value encoded as a sequence of widths; the scanner decodes those widths back into the original text:
PROD-000123456|||| ||| | |||| || ||||| ||| | || ||A barcode is a machine-readable representation of data. The most common retail style is the one-dimensional (linear) barcode, which prints data as parallel vertical bars and spaces of different widths. A scanner shines a light or laser across the bars, measures the widths of the dark and light regions, and converts that pattern back into the original characters using a defined symbology .
This tool generates Code 128 , one of the most powerful linear symbologies. Code 128 can encode all 128 ASCII characters (digits, letters, and symbols) and comes in three subsets: Code 128 A (uppercase letters and control characters), Code 128 B (upper- and lowercase letters), and Code 128 C (pairs of digits, which are the most compact). The generator auto-selects the best subset for your input and appends a check digit — a calculated character that lets a scanner detect a misread, so a damaged or smudged code is rejected rather than silently returning the wrong value.
Code 128 is the backbone of shipping labels (GS1-128), warehouse bins, and asset tags because it is compact and universally supported. It is different from retail point-of-sale codes like EAN-13 or UPC-A (which have a fixed 12–13 digit length) and from QR codes (which are two-dimensional and hold far more data). For anything longer than a short ID — a URL, contact, or Wi-Fi login — reach for a QR code instead. To turn a generated label graphic into a raster file, use SVG to PNG .