UPC-E to UPC-A Converter
Convert a UPC-E to UPC-A, or a UPC-A to UPC-E, with every step shown. The converter follows the four GS1 zero-suppression rules, recalculates the check digit, explains why a number has no UPC-E form, and downloads both barcodes as SVG, PNG, PDF or EPS. It runs in your browser.
01234565 ⇄ 012345000065
UPC-A
012345000065
UPC-E
01234565
- GS1 rule
- (a)
- Check digit
- 5
- Number system
- 0
- UPC-A print size
- 42.8 × 27.8 mm
- Read back
- Runs when the number changes
Download
Vector drawing, 42.8 × 27.8 mm. Design and label programs place it at its print size.
Print at 100%, without fit-to-page scaling. Everything runs in your browser.
How to Convert UPC-E to UPC-A
Type the number; the converter reads the direction from its length and shows the result with each step.
- Type a UPC-E of 8 digits (or 6–7 without the number system or check digit) to expand it.
- Or type a UPC-A of 12 digits (or 11) to compress it.
- Read the digit map and the steps: the rule that applies, the zeros restored or removed, and the check digit calculation.
- Choose UPC-A or UPC-E, the format and the DPI, and download the barcode, or press a Make button to open it in the generator.
The Four GS1 Zero-Suppression Rules
A UPC-E keeps six digits of a UPC-A and drops a run of zeros; its last encoded digit tells which of four rules was used.
| Rule | Sixth digit | UPC-A pattern | Example |
|---|---|---|---|
| (a) | 5 to 9 | ends in 5–9 with four zeros before it | 012345000058 ⇄ 01234558 |
| (b) | 4 | five zeros before the last digit | 045670000080 ⇄ 04567840 |
| (c) | 0, 1 or 2 | digit 4 is 0–2, then four zeros | 034000005673 ⇄ 03456703 |
| (d) | 3 | digit 4 is 3–9, then five zeros | 098400000751 ⇄ 09847531 |
Why the Order Matters
GS1 tests the rules in the order (a), (b), (c), (d), and the first one that fits is used. Some UPC-E codes printed under older specifications break this order; the converter still expands them but warns that they do not follow the current rules.
The Check Digit Stays the Same
A UPC-E has no check digit of its own: it carries the check digit of the full UPC-A. The converter recalculates it from the 11 UPC-A digits and shows the calculation.
Converting UPC-A to UPC-E
Only some UPC-A numbers have a UPC-E form: they must start with 0 and have their zeros where one of the four rules expects them.
Numbers That Cannot Be Compressed
When no rule fits, the converter lists each rule and the digits that stop it from applying. Such a product keeps its UPC-A, and a smaller X-dimension is the way to fit a small package.
Number System 1
GS1 allows UPC-E only for numbers that start with 0. A UPC-E starting with 1 is a legacy use: the converter expands it with a warning but never creates one.
UPC-A and UPC-E Compared
Both carry the same 12-digit GTIN; UPC-E simply leaves out zeros so the barcode is about half as wide.
| Property | UPC-A | UPC-E |
|---|---|---|
| Digits shown | 12 | 8 |
| Numbers | every GTIN-12 | GTIN-12s starting with 0 that fit a zero-suppression rule |
| Quiet zone | 9 modules left and right | 9 modules left, 7 right |
| Bars at 100% | 22.85 mm tall, 0.33 mm narrowest | the same |
When to Use UPC-E
Use UPC-E when a package is too small for a UPC-A and your number qualifies. Otherwise print the UPC-A, which every scanner reads without expansion.
Frequently Asked Questions
Is a UPC-E the Same Product Number as Its UPC-A?
Yes. The UPC-E is a compressed way of printing the same GTIN-12, and scanners expand it back to the UPC-A before looking up the product.
Why Does My UPC-A Have No UPC-E?
Most UPC-A numbers do not have enough zeros in the right places. The converter shows which digits stop each of the four rules from applying.
Can I Enter Just the Six Middle Digits?
Yes. The converter assumes number system 0 and adds the check digit. GS1 notes that there is no six-digit UPC-E barcode, so the result always shows all 8 digits.
What Happens If the Check Digit Is Wrong?
The converter stops and names the expected check digit, because a UPC-E and its UPC-A share it. Correct the last digit and the conversion runs.
Does It Convert UPC-E Codes That Start With 1?
It expands them with a warning, because GS1 allows UPC-E only with number system 0. It never compresses a UPC-A that starts with 1.
Can I Make a Barcode From the Result?
Yes. Download either barcode here as SVG, PNG, WebP, JPEG, PDF or EPS; both are read back with the scanner's decoder first. For other sizes, add-ons or colors, the Make buttons open the UPC barcode generator with the number filled in.
Related UPC Tools
- UPC barcode generator
Draw the UPC-A or UPC-E.
- Scan a UPC with your camera
Read a code from a package.
- Barcode lookup
Check a UPC number and the GS1 office behind its prefix.