How to generate SKUs for your variants
- Enter the product. Type the product name, and a short product code if you have one, such as
TEE.
- Add its options. Name up to three options, such as Colour, Size and Material, and list their values separated by commas.
- Generate and review. Choose Generate & add SKUs. Every combination appears in the variant list with its SKU. Change the format if you need to, then download a CSV of your variants or go straight to printing barcode labels.
What the SKUs look like
3 colours × 3 sizes = 9 SKUs. A product called Classic Cotton Tee with the code TEE, in Black, White and Navy and sizes S, M and L, gives nine SKUs, including TEE-BLA-M for Black, size M:
TEE-BLA-S TEE-BLA-M TEE-BLA-L TEE-WHI-S TEE-WHI-M TEE-WHI-L TEE-NAV-S TEE-NAV-M TEE-NAV-L
Each SKU is built from the same parts, in the same order, so anyone on your team can read it:
| Part | Your choices | Example |
| Prefix (optional) | Up to 12 characters, such as your brand or a supplier code | SO |
| Product | Your own code, or the first 6 or 3 characters of the name, or the full name | TEE or CLASSI |
| Options | The first 3 characters of each value, the first character, or the full value | BLA, B or BLACK |
| Separator | Hyphen, underscore or none | TEE-BLA-S, TEE_BLA_S or TEEBLAS |
SKUs are always in capitals.
When two options shorten to the same code
Shortening can make two different values look the same. A Linen Shirt in Blue and Black, using the first character of each colour, would give LINENS-B twice. The generator adds a numbered suffix to the second one, LINENS-B-02, so every SKU in your list stays unique. Codes already in your list are checked too.
Tips for a SKU system that lasts
- Keep it short. 8 to 14 characters fits on small labels and is easy to read out over the phone.
- Start with the broad part. Product first, then colour, then size, so SKUs sort into sensible groups in a spreadsheet.
- Never reuse a SKU. When a product is discontinued, retire its SKUs rather than giving them to something new, or old orders and reports get confusing.
- Avoid look-alike characters. The letter O and the number 0, or I and 1, are easy to mix up when SKUs are typed by hand.
- Don’t put prices or dates in SKUs. They change, and the SKU shouldn’t have to.
SKU or barcode: what’s the difference?
A SKU is your own internal code: you invent it, and it only has to be unique within your business. A GTIN barcode number, such as an EAN-13 or UPC-A, is a global product identifier issued through GS1, which retailers and marketplaces use to recognise the same product everywhere. Many sellers use both: SKUs for their own stock and picking, GTINs where a retailer or marketplace requires them. You can print SKUs as Code 128 barcodes with the barcode label generator.
Already have products in Shopify?
This page creates SKUs for new products. If your products are already in Shopify with missing or inconsistent SKUs, use the Shopify bulk SKU editor instead. It applies the same SKU format to your Shopify product export and gives you an edited CSV to import.
Frequently asked questions
How do I create SKUs for product variants?
Enter the product name and an optional short code, list each option’s values separated by commas (for example Black, White, Navy and S, M, L), and choose “Generate & add SKUs”. You get one SKU per combination, which you can edit, download as a CSV or print as labels.
What is a SKU?
A SKU (stock keeping unit) is a code you create to identify each product variant you stock, such as a black T-shirt in size M. SKUs are for your own inventory, warehouse and orders. Unlike barcodes such as EAN-13 or UPC-A, you do not need to buy or register them.
How many SKUs can I generate at once?
Up to 2,048 combinations per product, which matches the most variants Shopify allows on one product. You can add as many products to your list as you like.
What happens if two variants get the same SKU?
The generator gives the second one a numbered ending, such as LINENS-B-02, so every SKU in your list stays unique. Codes already in your list are taken into account too.
Can I use my own product code instead of the name?
Yes. Type a short code such as TEE in the Product code box and it is used in place of the shortened product name.
Should SKUs contain spaces or special characters?
Avoid them. Spaces, slashes and symbols cause problems in spreadsheets, barcode scanners and marketplace uploads. The generator uses capital letters, numbers and your chosen separator only.
Are my files uploaded anywhere?
No. The tool runs entirely in your web browser. Your files are read and processed on your own computer, and nothing is sent to a SkipOtter server.
More free tools