Skip to content
koducathome

UPC-E Barcode Generator

Create EAN, UPC, Code 128 and other 1D barcodes.

How to use this tool

Steps for using the Barcode Generator.

  1. Type 7 digits: the number system (0 or 1) followed by the 6-digit compressed code. The check digit is worked out from the expanded UPC-A number.
  2. Or type all 8 digits to verify the check digit.
  3. Adjust the bar colour, bar width, height, quiet zone and text under Customize Appearance.
  4. Press Generate Barcode, then Download a PNG, SVG or PDF, Print it, or Copy the data. For many codes at once, upload a CSV under Batch Barcode Generation.

Example

7 digits: expanded and checked

Typed
0425261
Result
Valid UPC-E — expands to UPC-A 042100005264; check digit 4.
Encoded: 04252614

Common use cases

  • Small packs such as soft-drink cans and confectionery in the US and Canada
  • Converting a UPC-E back to its UPC-A to look it up
  • Checking UPC-E codes printed by a co-packer

How UPC-E zero suppression works

UPC-E squeezes a 12-digit UPC-A into 8 digits by leaving out runs of zeros, so it fits on small packs such as cans and bottles. Only UPC-A numbers with the right pattern of zeros can be compressed.

The last of the six middle digits says where the zeros go. With 425261, the final 1 means the expanded number is 0 42 1 0000 526 — giving UPC-A 04210000526, whose check digit is 4.

The check digit always comes from the expanded UPC-A, not from the 8 printed digits — that's why the tool shows the UPC-A it expands to.

Limitations

  • Only number systems 0 and 1 are valid for UPC-E.
  • Not every UPC-A can be compressed — it needs zeros in the right places.

Frequently asked questions

Why does UPC-E show a UPC-A number?

Because UPC-E is a compressed form of a UPC-A. Scanners expand it back to the 12-digit number, and the check digit is calculated from that number.

Can every UPC-A be printed as UPC-E?

No. Only numbers whose zeros fit one of the suppression patterns can be compressed. If yours can't, use the UPC-A Barcode Generator.

What does the first digit of a UPC-E mean?

It is the number system and must be 0 or 1. It isn't drawn as bars; it is encoded in the pattern of the six digits.

Is the data I type uploaded anywhere?

No. Barcodes, including batch CSV files, are created in your browser. Recent barcodes are saved only in this browser.