A Shopify SKU is a short code you give each product variant, like ZB-TEE-BLK-M for a black T-shirt in size M. It looks like a small detail. But once you sell more than a few products, clean SKUs make stock counts, packing, reports and app syncs much easier.
In this guide I show you where the Shopify SKU field sits in your admin today, a simple format you can copy, and how SKUs differ from barcodes. I have set up SKU systems on many client stores, and these are the rules I use. Every setting name was checked against Shopify’s help center, as of November 2026.
Here is what you will learn:
- What a SKU is in Shopify and where to add it
- A simple SKU format, plus a free SKU generator formula for
Google Sheets - SKU vs barcode, and when you need real
GS1 barcodes for
Google and
Amazon - How to bulk add SKUs with a CSV file and print SKU labels
- The mistakes I see most, and which way to choose
What is a SKU in Shopify?
A SKU (stock keeping unit) is an internal code that points to one exact item you sell. In Shopify, the SKU belongs to the variant, not to the product. So a shirt in 3 sizes and 4 colors has 12 variants and needs 12 different SKUs. Shopify uses this same example in its guide to using SKUs.
SKUs are optional, and your store works without them. But a Shopify SKU on every variant helps in four ways:
- Inventory: you know exactly which item is in stock and where.
- Reports: sales reports work best when every variant has a unique SKU.
- Packing: staff find and pack the right item faster.
- Apps: many inventory, shipping and marketplace apps match products by SKU.
You can also search by SKU in the admin search bar and in
Shopify POS. Products with many options need many SKUs, so check the Shopify variant limit before you plan a big product.
How to add a Shopify SKU
You add a Shopify SKU in the Inventory section of each variant.
Add a SKU to one variant
- In your Shopify admin, go to Products.
- Open the product, or click Add product to create a new one.
- In the Variants section, click the variant you want to edit.
- In the Inventory section, click SKU and type the code.
- Click Save, then repeat for the next variant.
If the product has no variants, the Inventory section sits right on the product page. The Barcodes field lives in the same section, which is why many owners mix the two up.

Add a SKU in the Shopify app
Tap Products and open the product. In the Variants section, tap the variants and pick one. Add the SKU in the Inventory section and tap Save.
Edit many SKUs with the bulk editor
- In Products, tick the products you want to change and click Bulk edit.
- Click Columns and select SKU if it isn’t shown yet.
- Type a SKU in each variant row, then click Save.
The bulk editor is fine for a few dozen variants. For hundreds, a CSV file is faster.
A simple Shopify SKU format with examples
A good Shopify SKU format is short, easy to read and the same across your whole catalog. For most stores I use four parts: brand, product type, color and size. So ZB-TEE-BLK-M means brand ZB, a T-shirt, black, size M.
Shopify’s own guidelines support this kind of format:
- Letters, numbers and dashes only. Spaces and symbols can cause search problems.
- Keep it short. Shopify suggests no more than 16 characters.
- Avoid look-alikes. The number 0 and the letter O, or 1 and I, are easy to confuse.
- Be consistent. If BLK means black on one product, it means black on every product.
- Make every SKU unique, and leave room for new products and colors.
| Product | Variant | SKU |
|---|---|---|
| T-shirt | Black, M | ZB-TEE-BLK-M |
| T-shirt | White, XL | ZB-TEE-WHT-XL |
| Hoodie | Navy, S | ZB-HOD-NVY-S |
| Mug | White, 11 oz | ZB-MUG-WHT-11OZ |
| Tote bag | Natural, one size | ZB-TOT-NAT-OS |
| Ring | Gold, size 7 | ZB-RNG-GLD-07 |
Put the most general part first and the size last. Then your SKUs sort well in a spreadsheet. Don’t put prices, supplier names or dates in a Shopify SKU. Those change, and a SKU should not.

A free SKU generator in Google Sheets
You don’t need an app to create SKUs for a whole catalog. A spreadsheet works as a free SKU generator. Put the brand code in column A, the type in B, the color in C and the size in D. Then paste this formula in cell E2 and drag it down:
=UPPER(A2&"-"&B2&"-"&C2&"-"&D2)A row with zb, tee, blk and m becomes ZB-TEE-BLK-M. To catch duplicates, paste this in F2 and drag it down. It shows TRUE next to any SKU that appears twice:
=COUNTIF(E:E,E2)>1There are also SKU generator apps in the Shopify App Store that create codes inside your admin. For most small stores, this spreadsheet SKU generator is enough.
Shopify SKU vs barcode: what is the difference?
A SKU is your own internal code. A barcode is a code a scanner can read, and a GTIN barcode (such as a UPC or EAN) is a global number for the same product in every store. Shopify keeps them in two separate fields, and you can use both on one variant.
| Question | SKU | Barcode (GTIN) |
|---|---|---|
| Who creates it? | You | The brand owner, via GS1 |
| Format | Letters, numbers, dashes | 8, 12, 13 or 14 digits |
| Same in other stores? | No, yours only | Yes, worldwide |
| Main use | Stock, packing, reports | Scanning, marketplaces, Google |
| Required? | No | For many marketplaces |
An easy way to remember the SKU vs barcode difference: a SKU is yours, a GTIN is everyone’s. Your Shopify SKU means nothing to Amazon. A UPC or EAN means the same product in every shop and marketplace.

Barcode types you can pick in Shopify
As of November 2026, a product or variant can hold up to 20 barcodes, and each one has a type. Shopify sets the type to GTIN by itself when the number is registered with GS1.
- Custom: the default. Any value up to 255 characters, such as a label with your SKU.
- GTIN: 8, 12, 13 or 14 digits.
- UPC: 8 or 12 digits, mostly in North America.
- EAN: 8 or 13 digits, mostly outside North America, including the UK and EU.
- Others: ISBN for books, ASIN for Amazon, and NS-PID for part numbers on EU customs forms.
When you need a real GS1 barcode
You need a real GTIN when a sales channel asks for one. For most stores, that means Google and Amazon:
Google Merchant Center: if a product has a GTIN from its maker, Google wants it, and leaving it out can limit visibility. Google also says never to put an internal SKU in the GTIN field. If you make the product yourself, use your store name as the brand plus a unique MPN of your choice.- Amazon: most categories need a GTIN to create a new listing. Amazon checks UPCs against the GS1 database and removes listings with invalid ones. Private label and handmade sellers can apply for a GTIN exemption instead.
So who needs to buy barcodes? If you resell branded goods, use the barcode on the package, never your own. If you make your own products and want to sell on Amazon or to shops, get numbers from the GS1 office in your country. If you sell only on your own store, SKUs are enough. In the
Google & YouTube channel, Shopify says products without a GTIN need a brand and an MPN instead.
How to bulk add Shopify SKUs with a CSV file
For a big catalog, a CSV file is the fastest way to add a Shopify SKU to every variant. You export your products, fill in the SKU column, and import the file again.
- Go to Products and click Export. Choose All products and the CSV option for spreadsheet programs, then click Export products.
- Open the file in Google Sheets. Each variant has its own row.
- Type a code in the SKU column on every variant row. Keep the URL handle, Option1 name and Option1 value columns.
- Download the sheet as a CSV file.
- In Products, click Import, then Add file, and pick your file.
- Tick Overwrite products with matching handles and click Upload and continue.
- Check the preview and click Import products.
Two rules matter here. If the file has the SKU column but not the option columns, Shopify can delete the variant options. And with overwrite on, a blank cell in an included column clears that value in your store. So delete the columns you don’t want to change.
The Barcodes column takes up to 20 values per row, split by semicolons. Put the type and a colon first, like upc:012345678905, or leave it off for a Custom barcode. Older files used a Barcode column, and a file with both columns fails to import.

Need a clean file to start from? My free Shopify product CSV template has the current column headers, and it checks your file for errors before you import it.
Print SKU labels with a free barcode generator
Stickers with the SKU make picking, returns and stock counts faster. You don’t need GS1 numbers for that. A Code 128 barcode can hold letters, numbers and dashes, so it can hold your SKU as it is.
- Open my free Shopify barcode generator and choose Code 128 (SKUs).
- Paste up to 200 SKUs, one per line.
- Download a ZIP of PNG or SVG files, or print a sheet.
- In Shopify, add the same text to the variant’s Barcodes field as type Custom. A scan in Shopify POS then finds the item.
Follow Shopify’s printing tips: print at 300 DPI or higher with dark ink, and keep the barcode at least 1.5 inches wide and 1 inch tall (about 3.8 by 2.5 cm). Print one test sheet first. More free helpers are in my Shopify tools collection.
Show the SKU on your product page
Some stores show SKUs to shoppers, such as spare parts or wholesale shops. Both free Shopify themes have a SKU block, so you don’t need code.
- Dawn: in the theme editor, open the default product template. In Product information, click Add block and choose SKU. Pick a Text style and save.
- Horizon: in Product information, open the Details block, click Add block and choose SKU. Save.
The block shows the SKU of the selected variant. In Dawn, it is hidden for variants without a SKU. Keep SKUs out of your product descriptions, since the block does the job better.
To let shoppers search your store by SKU, Shopify points to the
Search & Discovery app or a theme code edit. If store search acts up in other ways, see my guide on Shopify search not working.
Common Shopify SKU mistakes
Most SKU problems I fix on client stores come from the same seven habits:
- Duplicate SKUs. Shopify shows a warning when you enter a SKU that another variant already uses. Duplicates confuse reports and app syncs. The COUNTIF formula above finds them in an export.
- A SKU on some variants only. Shopify notes that SKU search works only when every variant has its own SKU.
- Mixed case and spaces. SKUs are case-sensitive, so ABC123 and abc123 are two different SKUs. Pick upper case.
- Using SKUs to group products. For collections and filters, use Shopify product tags or product types.
- Saving a SKU as a GTIN. If your Shopify SKU sits in the Barcodes field, keep its type as Custom.
- Buying cheap UPCs from resellers. Amazon tells sellers to get UPCs from GS1, and numbers that don’t match the GS1 database can get listings removed.
- Adding SKUs late. Shopify notes that SKUs added after an order was placed won’t show in historical reports.
Which way should you use?
Pick the method that matches your catalog:
- Under 50 variants: type SKUs by hand on the product page or in the bulk editor.
- Hundreds of variants: build them with the spreadsheet SKU generator and import a CSV file.
- Stock on shelves or a shop counter: print Code 128 SKU labels and add the same value as a Custom barcode.
- Selling on Amazon or to retailers: add real GS1 barcodes as well, with the right type.
Related guides
- Shopify low stock alert: free alerts with Shopify Flow, no app needed.
- Shopify product schema: what your theme outputs and how to get rich snippets.
- Shopify B2B: wholesale on Basic, Grow and Advanced since April 2026.
Frequently asked questions
Does Shopify generate SKU numbers?
No. Shopify leaves the SKU field for you to fill in. You can type SKUs, import them with a CSV file, build them in a spreadsheet, or use a SKU generator app.
Is there a Shopify SKU character limit?
Shopify’s help center doesn’t list a hard limit. It recommends 16 characters or fewer, using only letters, numbers and dashes.
Is a SKU the same as a barcode?
No. A SKU is your own internal code. A GTIN barcode, such as a UPC or EAN, identifies the same product in every store. Shopify has a separate field for each.
What is a variant SKU in Shopify?
It is the SKU of one variant, such as the black T-shirt in size M. Every variant has its own SKU field, and each code should be unique.
How do I find duplicate SKUs in Shopify?
Export your products to a CSV file and open it in a spreadsheet. Use COUNTIF on the SKU column to flag repeated codes, fix them, and import the file again.
Can customers search my store by SKU?
Yes, with a little setup. Shopify suggests the Search & Discovery app or a theme code edit to let shoppers find products by SKU.
Clean SKUs take an afternoon to set up and save time on every order after that. If you would rather have your catalog cleaned up and SKUs added for you, I do this as part of my Shopify product listing service. Message me on WhatsApp and I will take a look.




