What is a UPC barcode?

A UPC barcode is a 12-digit numeric code that identifies a specific product for retail sale in North America, but the number matters more than the symbol.

What do the 12 digits mean?

The first digits identify the manufacturer, the middle digits identify the specific product, and the last digit is a check digit. The check digit is calculated from the other 11 using a fixed formula, and it’s what lets a scanner catch a misread instead of ringing up the wrong item.

Can you just make up a UPC number?

You can generate a symbol from any 12 digits, but that doesn’t make the number valid for retail. A real UPC has to be issued to your business by GS1, which keeps manufacturer prefixes unique so two companies never end up with the same code on different products. A barcode generated from a made-up number will scan perfectly and still get a listing rejected on Amazon, eBay, or by a retailer, because the problem is the number’s registration status, not whether the symbol reads correctly.

When don’t you need a registered UPC?

For anything that isn’t a retail product listing. Internal stock tracking, warehouse locations, asset tags and your own inventory systems don’t require a GS1-registered number. Code 128 is usually the better choice for those anyway, since it isn’t tied to retail registration at all.

Generate one on the UPC-A generator, or check a number with the UPC finder.

A barcode generated on this page is not a registered GTIN. It encodes whatever number you enter into a valid, scannable symbol. It does not register that number to you. Selling through a retailer or listing on a marketplace under most categories requires a number issued to your business by GS1. See do you need a GS1 number before you print at scale.

Written by Robert Wells · Published 2026-08-03