Free UPC-E Barcode Generator
UPC-E is a UPC-A number with its zeros squeezed out, for packs too small for a full UPC-A. Enter the 6 to 8 digits of a UPC-E, or paste a 12-digit UPC-A and the generator tells you whether it can be shortened.
6 to 8 digits (number system 0 or 1, six digits, check digit), or a 12-digit UPC-A that can be shortened.
The blank margin left and right of the bars, in modules (the width of the narrowest bar). UPC-E needs at least 9.
Made in your browser; nothing you type is sent to QRdx. WebP and AVIF are encoded by QRdx's server when you pick them, and nothing is kept.
Where UPC-E barcodes are used
Small products sold in the US and Canada: cans, candy bars, cosmetics. Its bars take 51 modules, against 95 for a UPC-A.
Scanners expand it back to the full UPC-A, so stores see the same number either way.
Can my UPC-A be shortened?
Only some can. The number must start with 0 or 1 and have zeros in the right places: a manufacturer number ending in 000, 100 or 200 with an item number of 00000 to 00999, ending in 00 with 00000 to 00099, ending in 0 with 00000 to 00009, or any manufacturer number with an item number of 00005 to 00009.
The number itself comes from GS1, as for any UPC-A; GS1 US can tell you whether a UPC-E fits your prefix.
UPC-E input and check digit
What it takes
6 to 8 digits (number system 0 or 1, six digits, check digit), or a 12-digit UPC-A that can be shortened.
Example
06543217Enter 6 digits (number system 0 is assumed), 7 (number system and six digits; the check digit is added) or 8 (with the check digit, which is checked), or an 11- or 12-digit UPC-A to shorten.
The check digit is the check digit of the expanded UPC-A, so the generator expands the number first.
UPC-E 06543217 is UPC-A 065100004327: its check digit, worked out
| Digit | 0 | 6 | 5 | 1 | 0 | 0 | 0 | 0 | 4 | 3 | 2 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Weight | ×3 | ×1 | ×3 | ×1 | ×3 | ×1 | ×3 | ×1 | ×3 | ×1 | ×3 |
| Product | 0 | 6 | 15 | 1 | 0 | 0 | 0 | 0 | 12 | 3 | 6 |
The products add up to 43. Adding 7 makes 50, the next multiple of 10, so the check digit is 7.
UPC-E barcode size
| Example as SVG, PDF or EPS | 30.3 × 27.8 mm |
|---|---|
| Module (narrowest bar) | 0.353 mm |
| Bar height | 23 mm |
| Quiet zone | At least 9 modules each side; the generator starts with 9 |
- UPC-E follows UPC-A's sizes: a 0.33 mm module at 100%, from 80% to 200%. Keep 9 modules clear on each side.
- The vector downloads use a 0.353 mm module, about 107%.
UPC-E barcode API
The same barcode is an image URL, with no API key: put it in an img tag, a label template or a product feed. It checks the value the way this page does, and allows 300 requests a minute per IP address. The barcode API docs list every option.
SVG image
https://api.qrdx.dev/v1/barcode?format=upce&data=06543217PNG, 3 pixels per module
https://api.qrdx.dev/v1/barcode?format=upce&data=06543217&type=png&scale=3In a web page
<img src="https://api.qrdx.dev/v1/barcode?format=upce&data=06543217" alt="UPC-E 06543217" />UPC-E barcode FAQ
Why does my scanner show 12 digits?
Many readers expand a UPC-E to its UPC-A, and some to the 13-digit EAN. The scan check on this page accepts all of them.
My UPC-A can't be shortened. What now?
Print the UPC-A, at down to 80% if space is tight, or ask GS1 US for a number that has a UPC-E form.
Other barcode types
All 11 barcode typesBarcodes are static: the data is in the bars, so they work offline and never expire. For a link people scan with a phone camera, use one of the QR code generators.