▌▌ CODE128 Generator

Free CODE128 Barcode Generator

Enter any text or number →
Barcode appears here instantly
⚙️ CODE128 Settings
80px
Encodes any text or number PNG, SVG & PDF No character limit No signup

How to Use

1

Enter Content

Type any text, number or alphanumeric code above. Barcode generates instantly.

2

Adjust Settings

Change height or colors to match your label requirements.

3

Validate

Click Validate to confirm the barcode scans correctly before printing.

4

Download

PNG for digital use, SVG for print (any size), PDF for direct printing.

What Is a CODE128 Barcode?

CODE128 is a high-density linear barcode that can encode the full 128 ASCII character set — letters, numbers, punctuation and special characters. It was developed in 1981 and has become the dominant barcode format for logistics, shipping, and inventory management worldwide.

Unlike EAN-13 which is fixed at 13 digits, CODE128 has no set length. You can encode a short order number like "ORD-001" or a long reference like "WH-A12-SHELF-03-BIN-07". That flexibility is what makes it the go-to choice for internal systems.

💡 CODE128 vs EAN-13 in one sentence: EAN-13 is for retail products sold at checkouts. CODE128 is for everything else — logistics, warehouses, shipping, internal tracking.

Common Use Cases for CODE128

CODE128 vs Other Barcode Formats

FormatCharactersLengthBest For
CODE128All ASCIIVariableLogistics, inventory, shipping
EAN-13Numbers onlyFixed 13Retail product identification
CODE39AlphanumericVariableAutomotive, defense, older systems
UPC-ANumbers onlyFixed 12North American retail
ITF-14Numbers onlyFixed 14Cartons and pallets

Print Requirements for CODE128

Minimum Bar Width

The minimum bar width (called the X dimension) should be at least 0.25mm for standard scanners, and at least 0.19mm for high-resolution scanners. Most label printers at 300 DPI produce bars around 0.08mm per pixel — use a width multiplier of at least 2–3 in the generator for reliable scanning.

Minimum Height

CODE128 height should be at least 15% of the barcode length or 6.35mm, whichever is greater. Taller barcodes scan more reliably because scanners can compensate for slight vertical misalignment.

Download as SVG

For print production, always download the SVG version. SVG is a vector format that prints sharp at any size, while PNG can become pixelated when enlarged. Place the SVG in your label design software and scale to the required size.

Amazon FBA tip: For FNSKU labels, set height to at least 25mm and width multiplier to 2. Amazon's scanner systems require a minimum quiet zone of 6.35mm on each side of the barcode.

Frequently Asked Questions

Generate Your CODE128 Now

Free, instant, no signup. PNG, SVG and PDF download.

⬆ Back to Generator

Related Tools