UPC-E Barcode Generator Online – Free Small Package Codes

Use this free UPC-E barcode generator to create a compact UPC-E barcode online for small US and Canadian retail packages. Enter a 7-digit code, a full 8-digit code, or a compressible 12-digit UPC-A, and download a print-ready PNG or SVG — no signup, nothing uploaded.

UPC-E Barcode Generator

Create a compact UPC-E barcode for small packages — from a 7-digit code, a full 8-digit code, or straight from a 12-digit UPC-A — free, private, no signup. The barcode is drawn entirely in your browser.

How UPC-E compression works

UPC-E is the squeezed form of UPC-A: 8 digits instead of 12, for chewing-gum packs, batteries, cosmetics and other items too small for a full UPC-A. The first digit is the number system (0 or 1 only), the last digit is the check digit, and the six middle digits are a compressed manufacturer-plus-product code. Not every UPC-A can be compressed — the manufacturer and product numbers must contain the zero patterns the compression rules require — so if your 12-digit code does not compress, this tool tells you plainly instead of drawing a barcode that decodes to a different product. When you enter 7 digits, the tool expands the code, calculates the check digit with the GS1 mod-10 algorithm, and draws the full 8-digit symbol.

100% private — the barcode is drawn in your browser. Nothing is uploaded and no account is needed.

How to use this UPC-E barcode generator

  1. Enter 7 or 8 digits for UPC-E, or 12 digits for a UPC-A you want compressed.
  2. Click Generate barcode — the tool calculates or verifies the check digit and shows the conversion.
  3. Download PNG or SVG for your label.

What UPC-E is used for

UPC-E is the short barcode for small retail packs that cannot fit a full UPC-A label, such as chewing gum, batteries, cosmetics and small pharmaceutical packs. It carries the same product identity as UPC-A in just eight digits, so it fits narrow labels and curved surfaces where a twelve-digit code would be cramped or unreadable. It is a US and Canadian system, used at checkout in North American stores, and it is the code a small-pack manufacturer reaches for when shelf space and label size are both tight.

How UPC-E compression works

A UPC-E code has eight digits: the first is the number system, which can only be 0 or 1, the six middle digits are the compressed manufacturer and product code, and the last digit is the check digit. Compression works by removing zeroes from a UPC-A code according to strict rules, so the twelve-digit code is squeezed into six digits without losing its identity. Not every UPC-A can be compressed, because the manufacturer and product numbers must contain the zero patterns those rules require. This tool is honest about that limit: if your UPC-A does not compress, it says so plainly instead of drawing a barcode that would decode to a different product. When you enter only seven digits, it expands the code, calculates the check digit, and draws the full eight-digit symbol.

UPC-E vs UPC-A and EAN-8

UPC-A is the full twelve-digit North American retail code, and UPC-E is its compact form for small packs in the same market. EAN-8, by contrast, is the international small-pack equivalent, used outside North America where EAN codes are the standard. Choosing between them is a question of market, not of preference: a product sold in the United States or Canada uses UPC-E, while the same kind of small pack sold in Europe or elsewhere uses EAN-8, because scanners and retail systems in each region expect their own format. If you sell in both markets, you will need both codes, printed on the packs destined for each region, rather than trying to make one code serve everywhere.

Printing small UPC-E labels

Small labels leave no room for error, so quiet zones matter most at UPC-E sizes. Print at 100 percent scale, never with a fit-to-page setting, and keep the white space on both sides of the symbol completely clear of text, borders and other graphics. Use dark bars on a light background, avoid printing on glossy or curved surfaces where glare can break the scan, and place the code where a checkout scanner can reach it easily. Before a full print run, print one label and test it with the UPC-A barcode scanner, checking that it decodes to the correct eight-digit code. A single test scan costs seconds and prevents a batch of labels that look right but fail at the till.

This page builds UPC-A to UPC-E compression in the browser and warns when a code cannot be compressed. For the full-size code, see the UPC-A barcode generator, and for related tools try the barcode generator or the GS1 check digit calculator.

Frequently asked questions

How many digits is a UPC-E barcode?

Eight digits: a number system digit of 0 or 1, six compressed digits, and a check digit.

Can any UPC-A become a UPC-E?

No. Only UPC-A codes whose numbers fit the zero patterns can compress.

How is the UPC-E check digit calculated?

Expand the code to UPC-A and apply GS1 mod-10. It matches the UPC-A check digit.

Can I use UPC-E outside the US and Canada?

No, not for retail checkout. Use EAN-8 internationally for small packs.