What is a UPC code?
A UPC code, short for Universal Product Code, is the 12-digit number under a product's barcode. Each size, color or flavor gets its own. A store that resells the product can use that same number. It is the kind of GTIN, the global product number, used mostly in North America. Elsewhere, a 13-digit EAN usually does the same job.
What do the 12 digits of a UPC code mean?
| Part | Digits | Who sets it |
|---|---|---|
| Company prefix | The first 6 to 10 | GS1, which licenses it to the brand |
| Item number | The next 1 to 5 | The brand, one for each size, color or flavor |
| Check digit | The last one | Worked out from the other 11, so a scanner can tell a misread |
A shorter UPC-E fits small packs such as cosmetics and gum. A SKU is different: it is the stock code each store makes up for itself.
Do you need a UPC code to sell on Shopify?
Only for some ways of selling. Shopify's help says barcodes might be required when you sell on marketplaces, sell wholesale to retail stores, or ship through a warehouse or fulfillment service. Some sales channels also want a GTIN before they publish a product. Since November 1, 2026, a parcel worth €150 or less sent to an EU customer from outside the EU needs an identifier for each item, such as a UPC. If the product has none, you declare that before you can buy its shipping label in Shopify.
How do you get a UPC code?
If you resell a product, ask its maker for the UPC it may already carry. If you make the product, GS1 US lists one UPC at $30 with no renewal fee. A shirt in 3 sizes and 3 colors needs 9: $270 one by one, or $250 for a 10-code company prefix, then $50 a year. GS1 US says retailers check a UPC against its database and may reject one registered to another company. The GS1 Database shows which company a UPC is registered to, with up to 30 free searches a day.
Where do you enter a UPC code in Shopify?
On the product's page, or on the page of each size and color if it has them, find the Inventory section. Click "Barcodes", the box that holds up to 20 of its codes, and type the 12 digits. When the number is registered with GS1, Shopify marks it as a GTIN on its own and warns you if your product name and vendor don't match GS1's record.
Search and filters for every size and color, with Sledge
Sledge does not make, check or read UPC codes. It runs search and filters on your storefront, so shoppers find products by the words they type and narrow them by size or color. Growth Intelligence turns on when you pick a paid plan. It suggests fixes and sums the sales they could add into one dollar total, labeled "Est. potential".