Barcode Maker Logo

Free Code128B Barcode Generator

Select barcode format

To show custom text below the barcode: press the Tab key after each value and type your caption. Or copy 2 columns from Excel (barcode value | display text) and paste directly.

Options
as

How to use the Code 128B barcode generator

Use Code 128B when your label data is ordinary mixed-case text, ASCII-style IDs, asset labels, or document references.

Steps

  1. Paste mixed-case text or import CSV rows.
  2. Preview each generated barcode and compare it with the expected scanner output.
  3. Download a single PNG/SVG or export all generated labels as a ZIP file.

Example inputs

Mixed-case asset label

Asset-Blue-42

Code 128B supports lowercase letters and punctuation that standard Code 39 does not.

Document IDs

Doc-A102
Doc-A103
Doc-A104

Useful for document labels, sample IDs, or internal references.

Download and print tips

  • Code 128B is usually easier for mixed-case text than forcing Code 128A.
  • Long text creates wider barcodes; keep the encoded value short when label space is limited.
  • Use SVG for packaging artwork or print layouts that may be scaled.
  • Use PNG for quick previews, documentation, and simple label drafts.
  • Use ZIP export when generating many labels from CSV so the batch can be reviewed together.

Common use cases

  • Mixed-case inventory IDs
  • Asset tags and sample labels
  • Internal document or order references

Troubleshooting

  • If the barcode is too wide, shorten the encoded ID or use a wider label.
  • If the value is all numeric and long, Code 128C may be more compact.
  • Keep the encoded value clean: no product names, extra punctuation, or pasted spreadsheet formatting unless the barcode type supports it.
  • Preserve quiet space around the barcode and avoid stretching the image horizontally.
  • Print a small sample and test it with the scanners used in the real workflow before producing labels at scale.

Important note

The generated barcode returns the encoded text. Separate display text can help humans read the label without changing the scanner data.

Code 128B Barcode Generator FAQ

How do I generate a Code 128B barcode online?

Enter your text value in the Code 128B barcode generator, preview the barcode, then download it as PNG or SVG. For multiple labels, paste one value per line or import CSV data and export the generated barcodes as a ZIP file. Code 128B is useful for mixed-case inventory labels, asset tags, document IDs, and product codes that include ordinary text characters.

What is Code 128B?

Code 128B is the Code 128 character set commonly used for mixed-case text and ASCII-style label data. It supports uppercase letters, lowercase letters, numbers, and many punctuation characters. It is often a good fit for internal labels and alphanumeric IDs where the data is readable text rather than purely numeric pairs or GS1 Application Identifier data.

What data should I enter for Code 128B?

Enter the exact mixed-case text or ID you want the scanner to return. Code 128B is appropriate for values such as SKU-like text, asset IDs, bin labels, order references, and document codes. Keep the encoded value as short as practical, because long text creates wider barcodes that may be harder to fit on small labels.

When should I use Code 128B instead of Code 128A or Code 128C?

Use Code 128B for ordinary mixed-case text and punctuation. Use Code 128A when your workflow needs uppercase/control-character behavior. Use Code 128C for long numeric strings because it encodes digit pairs more densely. If your tool or scanner does not require a fixed subset, general Code 128 may be preferable because it can switch subsets for compact output.

Can I generate Code 128B barcodes in bulk from CSV?

Yes. Paste one Code 128B value per line or import CSV rows to generate multiple Code 128B barcode images in one batch. This is useful for inventory lists, asset tags, document labels, sample labels, and internal product codes. Review the generated previews before exporting so pasted spreadsheet formatting, unexpected spaces, or duplicate values do not become printed labels.

Does Code 128B support lowercase letters?

Yes. Lowercase support is one of the common reasons to use Code 128B instead of Code 128A or standard Code 39. If your label data includes lowercase letters or ordinary mixed-case text, Code 128B is usually a reasonable choice. If the data is only numeric and long, Code 128C may produce a more compact barcode.

Is Code 128B suitable for shipping labels?

Code 128B can be used for shipping or warehouse labels when the encoded data is plain alphanumeric text and the receiving scanner expects Code 128. However, shipping labels that need structured GS1 data, such as GTIN, batch, expiration date, or SSCC, should use GS1-128 instead of plain Code 128B. The right barcode depends on what the receiving system expects to parse.

Which download format should I use for Code 128B labels?

Use SVG for printed labels, design files, and any workflow where the barcode may be scaled. Use PNG for previews, documentation, and quick internal labels. If you generate many Code 128B barcodes from CSV, export a ZIP file so the barcode images can be saved and reviewed together.

Why is my Code 128B barcode too wide?

Long mixed-case text can create a wide Code 128B barcode. If the symbol does not fit the label, shorten the encoded value, increase the label width, or consider whether Code 128C can be used for numeric data. Avoid squeezing the barcode horizontally because distortion can reduce scan reliability. Print a sample and test it with your actual scanner before producing a batch.