Code128 generator
Subset (optional)
Different encoding tables allow you to encode data more efficiently.
Thickness (optional)
Barcode thickness in pixels
Content

What is Code128?

Code128 is a versatile barcode type that can encode a wide range of characters, including letters, numbers, and special symbols. It’s commonly used in logistics, warehousing, and manufacturing for product labeling, thanks to its high encoding density and ability to handle relatively long data strings.

Generation Parameters

  • Subset – This is the subset (or character set) used when generating the barcode. Code128 offers three main subsets:

    • A: Includes control characters and special symbols from the extended ASCII range.
    • B: Contains letters, numbers, and most standard ASCII characters.
    • C: Optimized for purely numeric data, making it efficient for encoding long strings of digits.

    If you’re unsure which subset to pick, Subset B is generally suitable for most applications.

  • Thickness – This controls the thickness of the barcode lines. Adjusting it affects how the barcode looks visually, allowing you to make the lines thicker or thinner. In some cases, thicker lines can be easier for scanners to read—especially if you need a large barcode or you’re dealing with lower-quality printing. However, for most situations, the default thickness works just fine.

To generate a barcode, simply provide the content (text or numbers), select the Subset, and, if necessary, adjust the Thickness. The result is a barcode that’s ready to print and use for labeling or streamlining inventory management.

Examples

ImageSubsetThickness
Text_1234567890
A-
Text_1234567890
B-
Text_1234567890
C-
Text_1234567890
C50