Generate a Code 128 barcode with ForQRCode. Enter the encoded value, adjust colors and dimensions, and download a production-ready image.
Technical specifications
- Symbology
- Code 128
- Character set
- Full ASCII
- Data length
- Variable length
- Check digit
- Included in the symbol
How to create a Code 128 barcode
Generate a scannable Code 128 symbol in three steps.
- 1
Select Code 128
This page is preset to Code 128. Switch symbologies with the links above if needed.
- 2
Enter the data
Type the digits or characters your Code 128 symbol should encode. Invalid lengths show an error before download.
- 3
Download the image
Adjust bar width and height, then export PNG or SVG for labels and cartons.
About Code 128
Code 128 is used for logistics, cartons, and high-density alphanumeric labels.
Related formats in this family include Code 128, Code 128 Set A, Set B, and Set C. Pick the symbology your scanner or retailer expects.
ForQRCode renders valid bar patterns for proofing and internal labels. Retail distribution may still require official GS1 identifiers where applicable.
Tips for Code 128 labels
- 1
Leave quiet zones (margin) on both sides of linear barcodes.
- 2
Print at sufficient height so narrow bars do not blur on inkjet printers.
- 3
Verify check digits before mass printing EAN and ITF symbols.
- 4
Test scan with the same engine your warehouse or POS uses.
Questions about Code 128
What is Code 128?
Code 128 is a barcode symbology for logistics, cartons, and high-density alphanumeric labels.
Which scanners read Code 128?
Most linear imagers and laser scanners support Code 128 when configured for this symbology.
Can I change colors?
Yes. Keep strong contrast between bars and background for reliable scans.
GS1 compliance?
Code 128 is not a retail POS format; it encodes internal SKU and SSCC data without GS1 retail prefix rules.
Which export format for print?
SVG and PDF keep edges sharp on cartons and labels.