Free generator
SKU generator for a consistent code on every variant
Enter a brand prefix, the product, and its option values. This SKU generator builds one consistent code for every variant combination, ready to paste into Shopify.
12 SKUs — one per variant
FC-LINENC-SAND-S FC-LINENC-SAND-M FC-LINENC-SAND-L FC-LINENC-SAND-XL FC-LINENC-OLIV-S FC-LINENC-OLIV-M FC-LINENC-OLIV-L FC-LINENC-OLIV-XL FC-LINENC-NAVY-S FC-LINENC-NAVY-M FC-LINENC-NAVY-L FC-LINENC-NAVY-XL
Good SKUs are codes you can read at a glance in a picking list: brand, product, then options, most-stable part first. Avoid letters that read as digits (O, I), and never reuse a retired SKU — your sales history keeps pointing at it.
Runs in your browser. Nothing you enter is stored or sent.
How to use this SKU generator
The generator keeps letters and digits, drops spaces and symbols, and shortens each piece: the prefix to four characters, the product name to six, and each option value to four. It then writes one SKU per combination, most-stable part first. The same inputs always rebuild the same codes, so a new size later follows the pattern instead of inventing a new one.
- Enter a brand or line prefix of two to four characters, such as FC.
- Enter the product name. Linen Crew Tee becomes LINENC.
- Enter option values separated by commas. Use option 1 for color or scent and option 2 for size. Leave option 2 empty when there is no second option.
- Choose a dash, an underscore, or no separator.
- Copy the list. In Shopify, open the product, select the variant, and paste one code into the SKU field under Inventory.
Worked example
Prefix FC, product Linen Crew Tee, colors Sand, Olive and Navy, sizes S, M, L and XL, dash separator. That is three colors times four sizes, so twelve SKUs. Sand in medium is FC-LINENC-SAND-M. Olive shortens to OLIV, so olive in small is FC-LINENC-OLIV-S. Navy in XL is FC-LINENC-NAVY-XL. Write sizes as S, M, L and XL. A size typed as X-Large becomes XLAR, because the hyphen is removed and only the first four characters are kept.
- Sand / M
- FC-LINENC-SAND-M
- Olive / S
- FC-LINENC-OLIV-S
- Navy / XL
- FC-LINENC-NAVY-XL
- Variants in this example
- 12 SKUs
More examples
A canvas tote with colors and no sizes: prefix HG, product Canvas Tote, option Natural, Black, second option left blank. Canvas Tote shortens to CANVAS and Natural to NATU, so the codes are HG-CANVAS-NATU and HG-CANVAS-BLAC. A gift box with no options at all: prefix HG, product Gift Box, both option fields blank. Gift Box shortens to GIFTBO, and the generator returns one code, HG-GIFTBO.
- Canvas Tote, Natural
- HG-CANVAS-NATU
- Canvas Tote, Black
- HG-CANVAS-BLAC
- Gift Box, no options
- HG-GIFTBO
What makes a good SKU
A SKU is your internal code. Unlike a barcode, you invent it. Good ones read at a glance on a pick list: brand or line, product, then options, most-stable part first, as in FC-LINENC-SAND-M. Keep one scheme for the whole catalog. Consistency is the value.
Rules that save you later
Avoid characters that break spreadsheets and scanners, including spaces, slashes and leading zeros that Excel eats. Skip letters that read as digits, such as O and I. Never encode facts that change, like price or supplier. Retired SKUs stay retired. Reusing one points old sales history at the new variant.
More guides on this topic
Compare apps
Frequently asked questions
What's the difference between a SKU and a barcode?
A SKU is your own internal code, invented by you, structured however helps your operation. A barcode (GTIN/UPC/EAN) is a globally unique number assigned through GS1 that identifies the product everywhere it's sold. Every variant should have its own SKU; barcodes only matter when you sell through channels that require them.
What format should my SKUs follow?
Short segments from stable to variable: brand or product line, product code, then options like color and size, separated by dashes. Keep it under ~20 characters, uppercase, letters and digits only. The test: can someone in a warehouse tell two variants apart from the SKU alone?
Should SKUs be sequential numbers or meaningful codes?
For small and mid-size catalogs, meaningful codes win — humans read them constantly in orders, pick lists and spreadsheets. Pure sequences avoid any risk of encoding stale facts and suit very large catalogs where software does all the reading. Whichever you pick, don't mix the two.
Does every Shopify variant need its own SKU?
Yes. Shopify tracks inventory per variant, so two variants sharing a SKU makes stock counts, reports and 3PL integrations ambiguous. Same product, different size or color — different SKU.
How do I use the SKUs this generator creates?
Copy the list and paste one code into each Shopify variant's SKU field, under Inventory on the variant. Adding a color or size later with the same prefix and product rebuilds the new codes without a new pattern.