SKUs and Product Variants Made Simple for Online Sellers
How to plan product options, write a SKU naming scheme, avoid duplicate and invalid SKUs, check barcodes and export variants for Shopify, Amazon and Etsy.

If you sell a T-shirt in three colours and six sizes, you do not have one product. You have eighteen. Each needs its own stock count, possibly its own price and, above all, its own SKU, the stock keeping unit code that your shop, warehouse, accountant and marketplaces use to tell them apart. Getting SKUs right early saves hours of confusion later. This guide covers the essentials and shows how to build a full variant list with the free Product Variant Matrix and SKU Generator.
What makes a good SKU
A SKU is your own internal code, unlike a barcode, which is a registered global number. Because it is yours, you can design it to be useful:
- Keep it short and simple. Use capital letters, digits and dashes. Avoid spaces, slashes and symbols that break spreadsheets and some marketplaces.
- Use the same order every time. BASE-COLOUR-SIZE is the most common pattern and sorts neatly.
- Make codes meaningful. BLK, WHT and GRN are easier for staff to read than 01, 02 and 03.
- Never reuse a SKU. Even after a product is discontinued, old orders and returns still refer to it.
- Avoid leading zeros and confusable letters such as O and 0 or I and 1.
- Stay under 40 characters if you sell on Amazon, which rejects longer seller SKUs.
Step 1: describe the product
Enter the product title, a base SKU (for example TEE), the base price, default stock, weight in grams, vendor and product type. The base SKU is the start of every variant code.
Step 2: list your options
Type one option per line, up to three, in the form Name: value, value, value. You can add two extras to any value:
- A code in square brackets, such as
Forest Green [GRN]. Without one, the first three letters are used. - A price change, such as
XL +2orSample -5. The variant price is the base price plus the changes for all its values.
So Size: XS, S, M, L, XL +2, XXL +4 means XL costs 2 more and XXL 4 more than the base price.
Step 3: choose a pattern and exclusions
The SKU pattern decides how codes are joined. {BASE}-{Color}-{Size} or the shorter {BASE}-{1}-{2} produces TEE-BLK-XL. {N} adds a running number, which is useful when you want short sequential codes. Quick buttons fill in common patterns.
Not every combination always exists. If forest green is not made in extra small, add an exclusion line such as Color=Forest Green & Size=XS. You can add as many lines as you need, and any variant that matches every condition on a line is left out.
Step 4: edit the variant grid
The Variants tab lists every combination with its SKU, price, stock, barcode and weight. All of them are editable. Switch off a variant you are not ready to sell, override a single price, or use the bulk tool to set the price or stock of every variant containing a value, for example every XL. Reset edits takes everything back to the rules.
Below the grid a check lists problems: duplicate SKUs, SKUs that are too long or contain spaces and symbols, variants with no price and barcodes with the wrong length or check digit. Duplicates usually mean two values share the same code, so give one of them its own code in brackets.
Barcodes and check digits
EAN-13, UPC-A, EAN-8 and GTIN-14 barcodes all end in a check digit calculated from the other digits, which is how scanners catch misreads. The generator checks the digit of every barcode you enter, so a typo shows up before it reaches a marketplace. It cannot tell you whether a code is registered to your brand. Marketplaces such as Amazon generally expect barcodes bought from GS1 or an approved brand exemption.
Step 5: check the matrix
The Matrix tab shows your first option against the second, for example colours down the side and sizes across the top, with the price and stock in each cell. Excluded and switched-off combinations show as blank, and out-of-stock cells are highlighted, so gaps in your range are easy to see.
Step 6: export
- Shopify product CSV: one row per variant with the handle, option names and values, variant SKU, price, inventory, barcode and weight. The title and description appear only on the first row, as Shopify expects. Most Shopify plans allow up to 100 variants and three options per product.
- Amazon parent/child CSV: a parent row and a child row per variant with the variation theme, attribute columns such as colour and size, price, quantity and barcode. Copy these into your category's inventory template, checking the exact column names in Seller Central.
- Plain CSV: a simple table for Etsy, WooCommerce, eBay or your inventory spreadsheet, which you map to columns when importing.
- SKU list: a text file of active SKUs for labels or stock counts.
A worked example
An organic cotton T-shirt comes in black, white and forest green, sizes XS to XXL: 18 combinations. Forest green is not made in XS, so one exclusion leaves 17 variants. With the base SKU TEE, the black XL is TEE-BLK-XL at 22 plus 2, so 24, and the XXL sizes sell at 26. The Shopify file has 17 variant rows, ready to import.
Before you upload
Marketplaces change their templates and category rules from time to time, so always try an import on a single test product first. The generator does not connect to any store and is not affiliated with Shopify, Amazon or Etsy. Your products are stored only in your browser.

&c=%23991b1b&k=business)
&c=%23991b1b&k=business)
