CodeBox Hub
FREE
No sign-up · free & unlimited100% in your browserPNG / SVG export
Some libraries failed to load — download features may be unavailable (offline).

Online Code 128 Generator

13 one- / two-dimensional barcode formats, check digits computed automatically.

条码类型 — 外观设置
…

What is Code 128?

Code 128 uses 107 data characters plus start/stop symbols in three subsets (A, B, C) that switch automatically. It is the ISO/IEC 15417 standard and the de-facto standard for shipping labels, receiving tags and asset tags worldwide.

Encoding rules and capacity

  • Full ASCII 128 (upper/lower case, digits, punctuation);
  • Pure-numeric input auto-uses subset C — two digits per character, near-EAN density;
  • Practical capacity around 25 digits or 43 alphanumeric characters;
  • Check digit (mod 103) is optional and computed for you.

How to generate a Code 128 barcode

  1. Type your data, e.g. CB-2026-001;
  2. Turn on the check digit if your scanner expects it;
  3. Adjust height, margins and colors — preview updates live;
  4. Download PNG (print bitmap) or SVG (lossless vector).

Typical uses

  • Shipping labels and receiving tags;
  • Pick locations and tote numbers;
  • Asset tags where mixed case beats Code 39.

FAQ

Does the online Code 128 generator require an account or payment?

No. Every CodeBox tool is 100% free, no sign-up, unlimited use, and all processing happens locally in your browser.

Which characters does Code 128 support?

Digits and letters (see the spec section for this symbology); example: CODE-BOX-2026.

Can I download a vector format?

Yes. PNG (512–2048 px) and SVG vector output are both supported; SVG is ideal for print and large formats.

Is my data uploaded anywhere?

No. CodeBox is a fully client-side tool — your data is processed only on your device and never touches a server.

Can I print the barcode?

Yes. The tool has built-in printing; for bulk runs use the batch QR generator to lay out A4 sheets.

More tools

Contact us