Free Code 128 barcode generator

Turn a stock code, serial number or reference into a barcode. Enter your letters and numbers, adjust the size and download PNG or SVG.

Make labels for stock, equipment and records

Code 128 is useful when your own system already gives each item a code, such as SKU-00123. It can hold uppercase and lowercase Latin letters, numbers and punctuation in one barcode. Enter the identifier you want your scanner to return; the image does not create an inventory record or assign a product number.

Longer content makes a wider barcode. Increase the image scale rather than squeezing the bars to fit a label. Download SVG for layouts that need resizing, or PNG for a ready-to-use image, and try a printed sample before making a batch.

Code 128 questions

Is Code 128 the same as GS1-128?
No. GS1-128 uses additional rules and application identifiers to describe fields such as a product number or batch. If a trading partner asks for GS1-128, choose the separate GS1-128 generator.
Do I need to enter the checksum?
No. The generator calculates the barcode's check character. Enter only your data; do not add a guessed check character.

Symbology rendering uses BWIPP via bwip-js — MIT License. BWIPP © 2004–2024 Terry Burton; bwip-js © 2011–2025 Mark Warren.