Code 128 Generator

Create Code 128 barcodes for shipping, logistics, inventory and asset tracking — letters and numbers supported.

Letters, numbers and symbols (ASCII).

Design options

Preview

About Code 128

Code 128 is a high-density linear barcode that can encode all 128 ASCII characters — uppercase and lowercase letters, digits and symbols. It is the most versatile 1D barcode and the backbone of logistics.

The generator automatically switches between the code sets A, B and C to produce the shortest possible barcode, and adds the mandatory Modulo 103 check character for you. Its GS1 variant (GS1-128) is used on shipping labels and pallets.

Technical specifications

Technical specifications
Character setFull ASCII (0–127)
LengthVariable
Check characterModulo 103 (automatic)
StandardISO/IEC 15417
Quiet zoneAt least 10 modules on each side

Common uses

  • Shipping and courier labels
  • Warehouse, inventory and asset tracking
  • E-commerce order and SKU labels
  • Healthcare specimen and patient labels

How to create a Code 128

  1. Type or paste your data into the content field.
  2. Adjust colors, size, human-readable text and quiet zone.
  3. Check the live preview — it updates instantly as you type.
  4. Download as PNG, JPG, SVG, PDF or EPS, or print it directly.

Why use our Code 128 generator?

  • Free, no watermark

    Unlimited barcodes for personal and commercial use, without registration.

  • Print-ready vectors

    SVG, PDF and EPS downloads stay sharp at any size — perfect for packaging and print shops.

  • Private by design

    Everything is generated locally in your browser. Your data is never uploaded.

  • Works everywhere

    Optimised for phones, tablets and desktops, and fully keyboard and screen-reader accessible.

Frequently asked questions

What is the difference between Code 128 and Code 39?

Code 128 supports all ASCII characters including lowercase letters and is much more compact. Code 39 only supports uppercase letters, digits and a few symbols, but is very simple and robust.

Is this Code 128 generator really free?

Yes. You can create and download as many codes as you need, for free, with no account and no watermark.

Can I use the codes commercially?

Yes. The generated images are yours to use on products, packaging, labels, documents and marketing. For retail product barcodes (EAN/UPC) you need valid numbers from GS1.

Which file formats can I download?

PNG and JPG for screens and office documents, and SVG, PDF and EPS vector files for professional printing.

Is my data stored or shared?

No. Codes are generated entirely in your browser with JavaScript. Nothing you type is sent to our servers.

Related tools