SKU vs. UPC vs. Barcode: What's the Difference and Which Does Your Store Need?

SKUs are your own codes; UPCs are global product numbers; barcodes are how either gets scanned. When you need each one and how to set them up in Shopify.

3 min read
SKU vs. UPC vs. Barcode – Zohanify blog cover

Quick answer: A SKU is your own internal code for a product variant; you make it up. A UPC (or EAN outside North America) is a global product number bought from GS1, needed to sell on Amazon, in many retail stores and in Google Shopping for branded goods. A barcode is just the scannable picture of a number, and it can encode either.

These three terms get mixed up all the time, and the mix-up causes real problems: duplicate listings on marketplaces, rejected Merchant Center feeds and warehouses that cannot find stock.

SKU: your own code

A stock keeping unit identifies one variant in your inventory, such as TEE-BLK-M for a black medium T-shirt. You decide the pattern. Good SKUs are short, consistent and readable: product type, color, size, maybe a number. Do not start with zero and do not use spaces or special characters. Our free SKU generator builds codes for a whole product list from one pattern, and our guide on how to create SKU numbers explains the patterns.

UPC and EAN: global product numbers

A UPC (12 digits) or EAN (13 digits) is a GTIN, a number that identifies the same product everywhere. Brands license them from GS1. You need one when:

  • you sell on Amazon or Walmart Marketplace (unless you get an exemption),
  • a retail store will stock your product,
  • Google Merchant Center asks for GTINs on branded products.

If you resell someone else's product, use the manufacturer's UPC, not a new one. Codes bought from cheap resellers may be rejected by marketplaces, because the GS1 database lists a different company.

Barcode: the scannable picture

A barcode turns a number into lines a scanner can read. A UPC-A barcode encodes a UPC; other formats like Code 128 can encode letters and are often used for internal SKU labels in warehouses. Making the barcode image is the easy part; having a valid number is what matters.

Where they go in Shopify

Open a product, then a variant. Put your own code in SKU and the UPC or EAN in Barcode (ISBN, UPC, GTIN, etc.). Shopify POS and inventory apps scan the barcode field; feeds to Google use it as the GTIN.

Quick answers

Do I need a UPC to sell on Shopify?

No. Shopify works fine with only SKUs. You need UPCs for marketplaces like Amazon, retail partners and some Google Shopping listings.

Can I make my own UPC codes?

No. Valid UPCs come from GS1. You can make your own SKUs and internal barcodes.

Is a SKU the same for every variant?

No. Each variant gets its own SKU so you can track stock separately.

Related services

Found this useful? Share it.

Want this done on your store?

Tell us about your Shopify store and we'll send back a clear plan — what to fix first, how long it takes and what it costs.

Get a free plan →

Ready to grow your store?

Free, fixed-price quote within one business day. No calls required.