Online Free Bulk Code 128 Barcode Generator

Recommand:  Windows Version Barcode Software With More Features: 

1. Import data from Excel file to print bulk barcodes. 2. Make a group of barcodes with sequence numbers.
3. Design complex barcode label with texts and logo. 4. Print barcode label sheet to Avery 5160, 5161, 5162, etc.
5. Print barcode label by DOS command line. 6. Make barcode including Ascii key: tab, enter, separator, etc.

Barcode Value: 

You can enter up to 100 rows,

Each row generate a barcode,

Desktop version no limits

Tips:   First edit data in notepad, Excel

or Word, then copy & paste

to the right text input field.

Use Excel Data to Print Bulk Barcode Labels - Desktop Freeware

Code 128

0123456789!"#$%&''()*+,-./:;<=>?@[\]^_`{|} [Space]ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz

Control characters:  ASCII 1-31,127

Code 128A:

Encodes numbers 0-9, uppercase A-Z, and control characters, and special characters. ASCII characters 00 to 95 (0–9, A–Z and control codes), special characters, and FNC 1–4

Code 128B:

Encodes numbers 0-9, uppercase A-Z, lowercase a-z, and special characters. ASCII characters 32 to 127 (0–9, A–Z, a–z), special characters, and FNC 1–4

Code 128C:

Encodes numeric data and FNC1, specially optimized for numbers.

00–99 (encodes two digits with a single code point) and FNC1

Barcode Type:

Code128   Code128A   Code128B   Code128C

Barcode Size:

  /     [ Width / Height ]    

Show Text Under Barcode:

Yes       No

Stretch Barcode:

Yes       No

Font Name / Font Size:



Desktop version software can export a group of barcode images to a folder

Simple Edition:   Code128    Code128A    Code128B    Code128C

About Code 128 Barcode:

Code 128 is a barcode symbology widely used in enterprise internal management, production processes, and

logistics control systems. Because of its excellent characteristics, it is widely used in the management information systems. Code128 code is a high-density bar code introduced in 1981. It can represent 128 characters from ASCII 0 to ASCII 127, so it is called 128 code. It contains numbers, letters and symbol characters.

Code 128 is one of the many barcode formats currently in use.

A Barcode is a method of representing data in a visual, machine-readable form.

The barcode formats has two categories:

One-dimensional (1D) --- Barcodes represented data by varying the widths and spacings of parallel lines.

Two-dimensional (2D) --- Using rectangles, dots, hexagons and other geometric patterns to represented data.

Code 128 is 1D barcode.

It includes verification protection both via a checksum digit and byte parity checking. This symbology has been widely implemented in many applications where a relatively large amount of data must be encoded in a relatively small amount of space.

Code 128 is variable with no fixed length.

But including start bit and end bit, it cannot

exceed 232 characters.

Coding Table 128



  Code 128 barcode has three code sets (Code 128A, Code 128B, Code 128C).  

Code 128 Auto can encode the complete ASCII-character set. It will switching in all 3 character sets of Code 128:

Code 128A: Includes upper case letters and control characters.

Code 128B: Includes upper and lower case letters.

Code 128C: Specially optimized for numbers. It combines every two numbers together, reducing the length.


Code 128 is a high-density linear barcode symbology. It is used for alphanumeric or numeric-only barcodes. It can encode all 128 characters of ASCII and, by use of an extension symbol (FNC4), the Latin-1 characters defined in ISO/IEC 8859-1.[citation needed]. It generally results in more compact barcodes compared to other methods like Code 39, especially when the texts contain mostly digits.


Allow two-way scanning (both in the opposite direction)


For the end user, Code 128 barcodes may be generated by either an outside application to create an image of the barcode, or by a font-based barcode solution. Either solution requires the use of an application or an application add in to calculate the check digit and create the barcode.


Check digit:

The check digit is a weighted modulo-103 checksum. It is calculated by summing the start code 'value' to the products of each symbol's 'value' multiplied by its position in the barcode string. The start symbol and first encoded symbol are in position 1. The sum of the products is then reduced modulo 103. The remainder is then converted back to one of the 103 non-delimiter symbols (following the instructions given below) and appended to the barcode, immediately before the stop symbol.

For example, in the following table, the code 128 variant A checksum value is calculated for the alphanumeric string PJJ123C:



  Value   Position Value * Position
  Start Code A   103   1 103
  P   48   1 48
  J   42   2 84
  J   42   3 126
  1   17   4 68
  2   18   5 90
  3   19   6 114
  C   35   7 245
  Sum         878

Remainder mod

  103 54

For the purpose of computing the check symbol, the shift and code-switch symbols are treated the same as any other symbol in the bar code. The checksum is computed over the symbol values, without regard for which code set is active at the time. For instance the code set C value "33" and the code set B value "A" are both considered to be a Code 128 value of 33, and the check digit is computed based on the value of 33 times the symbol's position within the barcode.


Barcode length optimization:

Code set C (Code 128C) uses one code symbol to represent two digits, so when the text contains just digits it will generally result in shorter barcodes. However, when the string contains only a few digits or it's mixed with non-digit character, it does not always produce a more compact code than code sets A or B.


The different of Code128 and code39:

Code 128 and Code 39 have many similarities, and they are widely used in enterprise internal management, production processes, and logistics control systems. The difference is that Code 128 can express more characters than Code 39, and the encoding density per unit length is higher. When the unit length cannot accommodate Code 39 encoding or the coded characters exceed the limit of Code 39, you can choose Code 128 to encode. So Code 128 is more flexible than Code 39.


Technology of Code 128 cbarcode

From left to right are black and white barcodes, the black one is called "bar" (B), and the white one is called "empty" (S).

If you look closely, the bars and spaces have 4 different widths.

We assign the values ​​1, 2, 3, and 4 from fine to coarse.

Then we started to read the barcode according to the thickness value, and the results are as follows:


Note that this result is black and white.

Don't just read the "bar" and forget it is empty.

There are 61 people in total here.

Code128 has a head and a tail.

The tail is always 2331112, which means that Code128 has ended.

The remaining part is 6 bits as a block, including the header.

There are 3 kinds of head: A) 211412 B) 211214 C) 211232.

This respectively indicates what type of Code128 is.

(One of ABC)

We remove the head and tail of the code we read, and divide it into blocks again:

231131 | 221213 | 131222 | 212222 | 221224 | 121213 | 121211 | 32113

It happens to be 6 bits as one piece.

The last block (excluding the tail section) is the check digit, which is used to check whether the barcode is correctly encoded.

Then, we have a character table.

(It should be said that I have this table)

What does this character correspond to each number?

Ours is Code128C type.

Type C code is purely digital, and each block corresponds to 2 digits.

Look up the table to get 50 09 05 00 01 91 91.

Coding Table 128

 - For Other Type of Barcode Online - For PC

EasierSoft Ltd.