Home · Barcode types · UPC-E

Free UPC-E Generator: 8-Digit Compressed UPC Barcodes for Small Packaging

UPC-E is a compressed 8-digit variant of UPC-A used on small consumer packaging — cosmetics, candy, single-serve items — where the standard 12-digit barcode is too wide to print legibly. A UPC-E encodes the same data as a UPC-A by suppressing zeros in specific positions, and scanners decode it back to the underlying 12-digit code on read.

UPC-E example

Validator

Paste an existing UPC-E into the field above. We compute the check digit if you provide just the payload, verify it if you provide the full code, and refuse to render if the check digit is wrong — so anything that renders here is guaranteed to scan.

Generated UPC-Es here use number system 0 or 1 (the only valid prefixes for UPC-E) and include the proper check digit derived from the full UPC-A expansion. Randomize gives you a fresh valid code; paste your own digits and we'll verify or compute the check digit.

Structure

8 digits: 1 number-system digit (0 or 1), 6 compressed payload digits, and 1 check digit computed against the equivalent 12-digit UPC-A after zero-expansion.

When to use UPC-E

Where it's required

FAQ

Why can UPC-E only use number system 0 or 1?

The UPC-E compression algorithm only works for codes whose UPC-A equivalent starts with 0 or 1. Other number systems carry information that can't be reversibly encoded into 8 digits.

Does UPC-E expand back to UPC-A on scan?

Yes. Scanners use a deterministic rule based on the last digit of the 6-digit payload to expand UPC-E into the full 12-digit UPC-A, then look it up against the standard product database.

Is UPC-E accepted globally?

UPC-E is primarily a North American format. Outside North America, EAN-8 serves the same compressed-barcode role for small packages.

Why does my UPC-E fail validation?

Most common cause: starting with a digit other than 0 or 1, or having an incorrect check digit. Our Randomize button always produces a valid code; manually entered codes are verified before render.

Related generators