1D linear

Code 128 generator

The workhorse of shipping labels: full ASCII, three character sets and a mandatory check digit, so it stays readable even on cheap thermal printers.

What will the code contain?

Your input never leaves this page.

What is Code 128?

The workhorse of shipping labels: full ASCII, three character sets and a mandatory check digit, so it stays readable even on cheap thermal printers.

  • Code 128-B covers printable ASCII; Code 128-C packs pairs of digits at half the width.
  • GS1-128 is Code 128 with application identifiers (01, 10, 21 …) for supply chains.
  • Keep payloads under 48 characters — the symbol grows fast with every extra character.

Where Code 128 is used

Shipping labels & cartons
Stock & asset tracking
Part marking & traceability

Shipping labels & cartons · Stock & asset tracking · Part marking & traceability

Technical specifications

Code 128 — Technical specifications
Type 1D linear
Character set Full ASCII (128 characters)
Typical length 1–48
Check digit Required
Data density High
Standard ISO/IEC 15417

How to create a Code 128

  1. Open the Code 128 generator — it is pre-selected.
  2. Choose the content type and fill in the fields.
  3. Adjust colours, size and quiet zone if you need print output.
  4. Download a PNG or SVG file and test-scan it before printing.

A laser or imaging scanner that supports this symbology. Most modern phone cameras will not read 1D codes, so keep a dedicated scanner for checkout and warehouse work.

Code 128: common questions

Is Code 128 free to create?
Yes. QRify generates Code 128 locally in your browser and lets you download a PNG or SVG file at no cost, with no account, watermark or usage limit.
What content can Code 128 hold?
Code 128 accepts full ascii (128 characters). Typical payloads are 1 to 48 characters long; the exact limit depends on the module size you print. Content outside this set is rejected before a broken symbol is produced.
Which scanners can read Code 128?
A laser or imaging scanner that supports this symbology. Most modern phone cameras will not read 1D codes, so keep a dedicated scanner for checkout and warehouse work.
Can I use Code 128 commercially?
Yes. Codes you generate are yours to print on products, packaging, tickets or signage. Always test-scan the final artwork at the real print size before a full production run.

Create a Code 128 now

Free, no signup, generated in your browser in under a second.

Open generator