How to Create SKU Codes: A Naming System That Scales
A SKU is the code you give each thing you sell, so you can find it, count it and match it across every shop. A good system takes an afternoon to set up and saves hours every month. Here is a simple pattern, the rules that keep it working, and how to fix one that has gone wrong.
In this guide:
- What a SKU is for
- A simple pattern
- The rules
- One-off items
- Mistakes that cause trouble later
- Fixing an existing mess
What a SKU is for
A SKU (stock keeping unit) is your own reference for a product you sell. It is not a barcode and it is not the manufacturer's part number. Those identify the product to the world. A SKU identifies it to you. If the difference is new, read what is a SKU and what is an MPN on eBay.
The job is simple. Every sellable version of a product gets one code, and that code means the same thing in your stock list, your shops and your orders. When the codes agree, stock software can match a sale on one shop to the right product on another.
A simple pattern
Build each code from a few short parts, always in the same order, from the general to the specific: category, product, then variant details.
| Product | SKU | How it reads |
|---|---|---|
| Soy candle, lavender, 200 g | CND-LAV-200 | Candle, lavender, 200 g |
| Soy candle, lavender, 400 g | CND-LAV-400 | Same candle, bigger size |
| T-shirt, navy, medium | TSH-NVY-M | T-shirt, navy, medium |
| T-shirt, navy, large | TSH-NVY-L | Same shirt, bigger size |
| Phone case, clear, iPhone 15 | CAS-CLR-IP15 | Case, clear, one model |
Look at the pattern, not the letters. Anyone reading TSH-NVY-L can guess it is a large navy T-shirt without opening a record, and a new product slots in without a new rule.
The rules
- One code per sellable variant. A navy medium and a navy large are different products to a customer and need different codes, because they have different stock.
- Keep it short and readable. Aim for something a person can read out over the phone. Marketplaces limit the length and characters of a SKU, so short and plain is the safe choice.
- Use capital letters, numbers and hyphens only. No spaces, slashes, accents or symbols. They behave differently in different shops and spreadsheets.
- Avoid look-alike characters. The letter O and the number 0, and the letters I and L and the number 1, get mistyped. Pick one and leave the other out of your codes.
- Never reuse a retired code. If a product is discontinued, archive it and keep the code. A reused code makes your sales history lie.
- Do not change a code that has sales history. If you must, map old to new in one place and change it everywhere at once.
- Keep the SKU separate from the barcode. Your own code for the product goes in the SKU field. The EAN or UPC goes in the barcode field.
One-off items
Vintage, second-hand and made-to-order items do not have variants, because there is only ever one. Use a short prefix and a running number: VIN-0001, VIN-0002. Write the code on a tag, a note or the bag, so the object and the record always meet again.
The number tells you nothing about the item, and that is fine. The description, photos and measurements live in the record. The code only has to be unique.
Mistakes that cause trouble later
- Leading zeros in a spreadsheet. Excel and some other tools treat a code like 00123 as a number and strip the zeros. Start codes with a letter, or format the column as text.
- Two products with one code. The most common cause of a wrong stock figure. Check for duplicates before you import anything.
- Putting details in the code that change. A price, a supplier or a season in the code means editing it when they change. Keep codes to things that do not move.
- Different codes in different shops. If eBay has one code and Shopify another for the same product, software cannot match them without a manual mapping.
- A blank code on a few old products. Every product needs one, even the ones you rarely sell.
Fixing an existing mess
- Export your products from every shop and put them in one sheet.
- Group the ones that are really the same product, across shops, using names, images or the barcode.
- Write the new code next to each one in a new column, following your pattern.
- Keep a record of old to new. If an old code appears on past orders, you will want to translate it.
- Change the codes in your inventory system first, then in each shop, in one sitting, so nothing is left half-converted.
- Check a sample by counting a few products and comparing stock in each place.
Salync matches products across shops by SKU or barcode, so one consistent set of codes is the single biggest thing you can do to make multi-shop stock work. You can bring a sheet of products in through the CSV import and see the duplicate-code warnings before you confirm.
Frequently asked questions
How do I create a SKU code?
Build it from short parts in a fixed order, from general to specific: category, product, then variant details such as size or colour. For example CND-LAV-200 for a 200 g lavender candle. Give every sellable variant its own code.
What should a SKU look like?
Short, readable and made of capital letters, numbers and hyphens, with no spaces or symbols. It should be unique to one sellable variant and should not change once it has sales history.
Can I use the barcode as my SKU?
It is better not to. The barcode (EAN or UPC) identifies the product to the world, and your SKU identifies it to you. Keep your own code in the SKU field and the barcode in the barcode field.
What SKU do I give a one-off item?
A short prefix and a running number, such as VIN-0001, written on a tag or note so the item and its record can always be matched.
How do I change my SKUs without breaking things?
Export everything to one sheet, write the new code beside the old one, keep a record of old to new, then change the codes in your inventory system and every shop in one go and check a sample against a stock count.
About this article
Written by the Salync team - UK-based ecommerce developers who built multi-channel inventory software from the ground up. We write from direct experience working with UK eBay, Shopify, and Amazon sellers.
Related reading
Match every product across your shops
Salync matches products across shops by SKU or barcode and keeps one stock count for each. Free for up to 50 products.