Standards/upc-e
UPC-E
Overview
UPC-E is the short member of the EAN/UPC barcode family that carries a 12-digit GTIN-12 in only six encoded symbol characters, by removing zeros from the number ("zero suppression"). Only GTIN-12s that begin with the U.P.C. Prefix 0 and contain four or five zeros in defined positions can be shown this way 1. The leading 0 is not encoded, and the check digit is not drawn as a character: it is implied by the pattern of number sets A and B used for the six characters 1. GS1 is explicit that "there is no six-digit UPC-E barcode": the reader software or the application must expand the symbol back to the full GTIN-12 1.
The bars are specified in ISO/IEC 15420 (current edition 2025), and the numbering and usage rules in the GS1 General Specifications 21. GS1 describes EAN-8 and UPC-E as intended for very small trade items sold at the point of sale 1.
History
UPC (1973–1974). GS1 dates the barcode to 3 April 1973, when U.S. grocery industry leaders created it. In 1974 the Uniform Code Council (UCC) was appointed administrator of the Universal Product Code, and on 26 June 1974 a pack of Wrigley's gum became the first product scanned with a barcode, in a Marsh supermarket in Ohio 5. Wikipedia credits the IBM symbol proposal designed by George J. Laurer, presented on 1 December 1972 and accepted by the industry's Symbol Selection Committee 18.
UPC-E. Wikipedia says only that "a version of UPC called UPC-E was developed" for smaller packages 18. None of the sources read for this page gives the year UPC-E was introduced or names its designers.
GS1 and ISO. The UCC and EAN merged in 2005 into GS1, with 101 Member Organisations 5. The EAN/UPC symbology became ISO/IEC 15420: the 2000 first edition was revised in December 2009, and the third edition, ISO/IEC 15420:2025 (37 pages, ISO/IEC JTC 1/SC 31), was published on 19 November 2025, the day the 2009 edition was withdrawn 32. A 2016 GS1 change notice added normative definitions of the GS1 Company Prefix and the U.P.C. Company Prefix, and noted that the prefixes 00 00000 and 00 01000 to 00 07999 have a specific use for Locally Assigned Codes and Retailer Zero-Suppressed Codes, which are carried in UPC-E 41.
Technical specification
The rules below are from GS1 General Specifications Release 26.0 (January 2026) unless another source is cited 1.
What it carries. A GTIN-12, or an RCN-12 (restricted circulation number) for internal use, whose first digit D1 SHALL always be 0 1. The U.P.C. Prefix 0 corresponds to GS1 Prefixes beginning 00; a U.P.C. Company Prefix is a GS1 Company Prefix with its leading zero removed, and is used only for 12-digit numbers 14.
Zero suppression. With D1 to D12 the GTIN-12 (D12 = check digit) and X1 to X6 the six encoded characters 1:
| Condition on the GTIN-12 | Digits removed | X1 X2 X3 X4 X5 X6 |
|---|---|---|
| D11 is 5–9, D7–D10 are all 0, D6 is not 0 | D7–D10 | D2 D3 D4 D5 D6 D11 |
| D6–D10 are all 0, D5 is not 0 | D6–D10 | D2 D3 D4 D5 D11 4 |
| D4 is 0, 1 or 2, D5–D8 are all 0 | D5–D8 | D2 D3 D9 D10 D11 D4 |
| D4 is 3–9, D5–D9 are all 0 | D5–D9 | D2 D3 D4 D10 D11 3 |
Decoding works from the last character X6: if it is 0, 1 or 2, X6 becomes D4 and X3–X5 the last three digits before the check digit; 3 leaves two such digits; 4 leaves one; 5–9 means X6 itself is D11 1. ZXing's convertUPCEtoUPCA implements the same four cases 12. GS1's four worked examples 1:
| GTIN-12 | UPC-E characters | Number sets |
|---|---|---|
| 012345000058 | 123455 | B A B A A B |
| 045670000080 | 456784 | B B B A A A |
| 034000005673 | 345670 | B B A A A B |
| 098400000751 | 984753 | B B A B A A |
Implied check digit. The check digit is the standard GS1 mod-10 digit of the full GTIN-12. It is encoded only through the combination of number sets 1:
| Check digit | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|---|---|
| Sets, positions 1–6 | BBBAAA | BBABAA | BBAABA | BBAAAB | BABBAA | BAABBA | BAAABB | BABABA | BABAAB | BAABAB |
ZXing's decoder describes the same table in odd/even parity terms (set A = odd, B = even) 12.
Validity tests. GS1 warns that false UPC-E barcodes can be made if the encoding rules are not followed. A reader checks (1) that the six digits fit an allowed pattern, and (2) that the check digit computed from the expanded GTIN-12 matches the one implied by the parities; a mismatch means an invalid symbol. Some patterns valid in earlier specifications must still be accepted when decoding 1.
Symbol structure. Reading left to right: left quiet zone, normal guard pattern (bar-space-bar, 3 modules), six symbol characters from number sets A and B, the special guard pattern (6 modules of alternating space and bar), right quiet zone. There is no centre guard 118. Each character is 7 modules wide (two bars, two spaces). The symbol is 51 modules without quiet zones (3 + 42 + 6) and 67 with the minimum quiet zones of 9X left and 7X right; with a 2-digit or 5-digit add-on (EAN Add-on (EAN-2, EAN-5)) it is 92 or 119 modules 1. A UPC-A, for comparison, is 113 modules including quiet zones 1.
Dimensions (GS1 symbol specification table 1, retail POS). 1
| Parameter | UPC-E |
|---|---|
| X-dimension, minimum / target / maximum | 0.264 / 0.330 / 0.660 mm |
| Bar height at those X-dimensions | 18.28 / 22.85 / 45.70 mm |
| Quiet zones, left / right | 9X / 7X (2.97 / 2.31 mm at nominal size) |
| Minimum print quality | 1.5/06/660 |
The guard bars extend 5X below the data bars, and characters 1, 2, 7 and 8 are narrowed or widened by 1/13 of a module, as in the rest of the family 1.
Human-readable line. GS1 requires the six encoded digits plus the leading zero and the implied check digit to be printed, so the text under a UPC-E has 8 digits; the first and last are printed smaller 1.
Transmission. The ISO/IEC 15424 symbology identifier is ]E0, shared with EAN-13 and UPC-A and followed by 13 digits; ]E3 covers the symbol with an add-on (15 or 18 digits) 1.
Internal numbering (RCN-12). Part of U.P.C. Company Prefix 0 is reserved for numbers a company assigns for its own use, carried in UPC-E: U.P.C. Company Prefixes 000000 and 001000 to 007999. GS1 shows three blocks: a LAC (local assigned code) version with 35,000 UPC-E applications, an RZSC (retailer zero-suppression code) version with 4,500, and a velocity version with 1,000. These numbers are not unique outside the company 14. RCNs SHALL be carried only in EAN-8, EAN-13, UPC-A or UPC-E, never with GS1 Application Identifiers 1.
Composite. UPC-E can be the linear part of a GS1 Composite symbol with a 2-column CC-A or CC-B component, but not CC-C 1.
Use cases
- Small retail items. The GS1 application standard for fixed-measure trade items scanned at retail POS lists UPC-E as the carrier for a GTIN-12 in six encoded digits 1. GS1 adds that UPC-E is designed for small packages, and that UPC-A, EAN-13, ITF-14 or GS1-128 should be used in general distribution whenever space permits 1.
- Books and serials. GS1 lists UPC-E, with EAN-13 and UPC-A, as a carrier for individual books and paperbacks and for serial publications, optionally with a 2-digit or 5-digit add-on 1.
- Healthcare. For healthcare primary packaging (non-retail trade items), GS1 allows the EAN/UPC family, UPC-E included, to carry the GTIN 1.
- Groupings. GS1 permits UPC-A, UPC-E and EAN-13 to carry the GTIN-12 of a trade item grouping, both of identical and of mixed items 1.
- In-store numbering. Companies use the LAC, RZSC and velocity blocks of RCN-12 in UPC-E for their own items 1.
- Next to 2D codes. During GS1's 2D transition, a GS1 DataMatrix or a QR Code with a GS1 Digital Link URI may be added beside the linear barcode. When a UPC-E sits beside a 2D barcode, GTIN HRI is required and should accompany both 1.
Implementations
| Library | Language | Kind | Stars | Last active | UPC-E notes |
|---|---|---|---|---|---|
| bwipp/postscriptbarcode (BWIPP) | PostScript | encoder | 504 | 2026-10 | upce takes 7 or 8 digits (check digit computed or verified) or 11–12 UPC-A digits that it zero-suppresses; optional add-on after a space; options includetext, guarddescent (default 5), addondescent 78 |
| metafloor/bwip-js | JavaScript | encoder | 2431 | 2026-08 | Port of BWIPP; bcids upce and upcecomposite 9 |
| zint/zint | C | encoder | 828 | 2026-10 | BARCODE_UPCE (37), BARCODE_UPCE_CHK (38), BARCODE_UPCE_CC (136); up to 7 digits, zero-filled if shorter, check digit added; 8 digits verified; reports the data expanded to 13 digits 1011 |
| lindell/JsBarcode | JavaScript | encoder | 5900 | 2026-06 | Lists "UPC (E)"; UPCE.js expands to UPC-A to pick the parity pattern, with number system 0 or 1 1617 |
| zxing/zxing | Java | decoder | 34186 | 2026-11 | UPCEReader (author Sean Owen) recognises number systems 0 and 1 from the parity pattern and verifies the check digit on the expanded UPC-A; the project is in maintenance mode 1213 |
| zxing-cpp/zxing-cpp | C++ | encoder/decoder | 2095 | 2026-11 | UPC-E listed with read and write support 14 |
| mchehab/zbar | C | decoder | 1390 | 2026-10 | Reads EAN-13/UPC-A, UPC-E and EAN-8 15 |
Number system 1. Several tools also accept a leading digit of 1, a variant usually called UPC-E1. BWIPP says UPC-E1 is "not defined by any symbology standard", Zint calls number system 1 non-standard, and Zebra's scanner reference guide says UPC-E1 is not a UCC-approved symbology and stars "Disable UPC-E1" as its option, while it stars "Enable UPC-E" 7101920. GS1 itself requires the leading digit to be 0 1. Wikipedia's article still describes number systems 0 and 1 with mirror-image parity tables, with the example 654321, which maps to 065100004327 under system 0 and 165100004324 under system 1 18.
Scanner output. Zebra scanners have a "Convert UPC-E to UPC-A" parameter (#37) that transmits the decoded data in UPC-A format, after which UPC-A settings such as check-digit transmission apply 21.
Comparison
| UPC-E | UPC-A | EAN-8 | |
|---|---|---|---|
| Number carried | GTIN-12 (or RCN-12) beginning with 0, with four or five zeros in set places | Any GTIN-12 or RCN-12 | GTIN-8 or RCN-8 |
| Encoded characters | 6 (leading 0 and check digit implied) | 12 | 8 |
| How the number is obtained | The company's own GTIN-12, if it has the required zeros | From the U.P.C. Company Prefix | Assigned individually by a GS1 Member Organisation |
| Width with minimum quiet zones | 67 modules | 113 modules | 81 modules |
| Nominal bar height | 22.85 mm | 22.85 mm | 18.23 mm |
All figures are from the GS1 General Specifications 1. UPC-E is a different way of printing a 12-digit number, so the product keeps one GTIN; EAN-8 needs a separate 8-digit number. GS1 warns that an EAN-8 with an RCN-8 starting with 0 can be confused with a UPC-E number when codes are keyed in by hand 1. When extra data such as a batch or an expiry date is needed, UPC-E can take a 2-column composite component, or the GTIN can move to GS1 DataBar, GS1-128, GS1 DataMatrix or GS1 QR Code; RCN-12s cannot, because RCNs are barred from Application Identifiers 1.
Fun facts
- The same example number,
012345000058, appears in the GS1 General Specifications (as UPC-E123455), on the BWIPP wiki (01234558) and in the Zint manual (123455) 1710. - The Google Wallet pass API offers
UPC_A,EAN_8andEAN_13, but no UPC-E type 22. - Only two family members have unequal quiet zones: EAN-13 (11X left, 7X right) and UPC-E (9X left, 7X right) 1.
Status
Active. GS1 calls EAN/UPC barcodes the longest-established and most widely used GS1 barcodes 6. The January 2026 General Specifications still list UPC-E among the barcodes for trade items scanned at retail POS, alongside 2D barcodes allowed during the transition, and mention GS1's ambition for retail POS worldwide to read 2D barcodes by the end of 2027 (GS1 Sunrise 2027) 1. ISO/IEC 15420:2025, published in November 2025, is the current symbology standard 2. RCN-12s in UPC-E cannot move to 2D barcodes, because RCNs cannot use Application Identifiers 1.
Sources
Deployments
No country reports mention this standard by name.
Regions / aggregations not mapped to a single country
- Universal