How to create a UPC-E barcode
- Enter your data in the box above. Enter 7 digits starting with 0 or 1 and the check digit is added, or all 8 digits and it is verified. Add a space and 2 or 5 digits for an add-on.
- The barcode updates live as you type. Open Customize to change the bar height, colors, rotation or quiet zone.
- Click Download PNG for labels and documents, or SVG / PDF for print and packaging design.
- Test it with our online barcode scanner before you print a large run.
What is a UPC-E barcode?
UPC-E is a compressed form of a UPC-A number. It squeezes certain 12-digit UPCs that contain runs of zeros down to 8 digits, so the barcode is about half the width. It is used on small items like soda cans, candy bars and cosmetics in North America.
The 8 digits are a number system digit (normally 0), six data digits and the check digit of the full UPC-A. Scanners expand UPC-E back to the 12-digit UPC-A before looking up the product, so both forms refer to the same item.
Not every UPC-A can become a UPC-E. The company prefix and item number need enough zeros in the right places. Our UPC converter shows whether a number can be compressed.
Where UPC-E is used
- Small packages in the US and Canada: drinks cans, gum, cosmetics
- Products that need a short barcode on a narrow label
- Retail point-of-sale and grocery checkout
- Older items from companies with small (6-digit) UPC prefixes
UPC-E specifications
| Type | Linear (1D), fixed length |
|---|---|
| Characters | Digits 0–9 only |
| Length | 8 digits: number system, 6 data digits, check digit |
| Number system | 0 under GS1 rules (this generator also accepts 1) |
| Check digit | Mandatory, modulo 10 of the expanded UPC-A |
| Nominal size | 22.11 mm × 25.91 mm at 100% magnification |
| Allowed scaling | 80% – 200% |
| Standard | GS1 General Specifications, ISO/IEC 15420 |
Tips for a barcode that scans first time
- Check that your UPC-A really compresses to the UPC-E you are printing. A wrong conversion points to a different product.
- Keep clear space of at least 9 modules on the left and 7 on the right.
- Do not shorten the bars. UPC-E is already small, and truncation makes it hard to scan.
Frequently asked questions
What is the difference between UPC-A and UPC-E?
UPC-A has 12 digits. UPC-E has 8 and is a zero-suppressed version of some UPC-A numbers, so the barcode is narrower. Both identify the same product. Convert between them with the UPC to EAN converter.
Can any UPC be turned into a UPC-E?
No. Only UPC-A numbers with the right pattern of zeros can be compressed, which in practice means companies with short GS1 prefixes. If yours cannot, use the standard UPC-A barcode.
Does UPC-E have a check digit?
Yes. The last digit is the check digit of the full 12-digit UPC-A, not of the 7 digits you see. Enter 7 digits and the generator calculates it. Enter 8 and it is verified.
Why does my UPC-E have to start with 0?
GS1 only allows number system 0 for UPC-E in retail. bwip-js, the engine behind this tool, will also draw number system 1, but numbers starting with 2 to 9 are rejected.
What size is a UPC-E barcode?
The nominal size is 22.11 × 25.91 mm, and GS1 allows 80% to 200% of that. See our barcode size guide for the full table.
Can I add an add-on to a UPC-E?
Yes. Add a space and 2 or 5 digits after the code, for example 01234565 12. Magazines sometimes use this for the issue number.