Advertisement
Code 128

Code 128 Barcode Generator

Generate Code 128 barcodes for shipping labels, inventory tags, and logistics. Supports the full ASCII character set — any text or numbers. Download as SVG or PNG — all client-side, no data leaves your browser.

Advertisement

Barcode Format

Barcode Data

Any ASCII characters

Appearance

2
100
#000000
#FFFFFF
14
10

Enter a value to generate your barcode

Code 128 encoding

Code 128 automatically selects the most efficient encoding subset for your input data. The three subsets allow it to handle diverse use cases with minimal barcode width.

Subset A

0–9, A–Z, control

Uppercase + ASCII control characters

Subset B

Full printable ASCII

All 95 printable characters including lowercase

Subset C

00–99 (pairs)

Double-density numeric — pairs of digits

Frequently asked questions

What is Code 128?

Code 128 is a high-density linear barcode that can encode the full 128-character ASCII set. It is widely used in shipping, logistics, inventory management, and supply chain applications due to its compact size and flexibility.

What characters does Code 128 support?

Code 128 supports the full ASCII character set — all 128 characters including letters (upper and lower case), numbers, punctuation, and control characters. This makes it one of the most versatile 1D barcode formats.

What are Code 128 subsets A, B, and C?

Code 128 has three encoding subsets. Subset A encodes uppercase letters and control characters. Subset B encodes the full printable ASCII range. Subset C encodes pairs of digits with double density. The encoder automatically selects the optimal subset for your data.

How does Code 128 differ from Code 39?

Code 128 is more compact than Code 39 — it encodes data in roughly half the space. It also supports lowercase letters and special characters that Code 39 cannot encode. Code 39 is simpler but produces longer barcodes for the same data.

Advertisement