Skip to content

Free calculator

SKU generator

Enter a category code, your style numbers and the colors and sizes you stock. Get a consistent SKU for every variant, checked for duplicates, ready to copy or download as a CSV.

Updated

The broadest part, such as TEE for T-shirts. Letters and numbers only.

Separate with commas. Leave blank if the product has no colors.

Separate with commas. Leave blank if the product has no sizes.

Separator

Your SKUs

  1. TEE-101-BLK-S
  2. TEE-101-BLK-M
  3. TEE-101-BLK-L
  4. TEE-101-BLK-XL
  5. TEE-101-WHT-S
  6. TEE-101-WHT-M
  7. TEE-101-WHT-L
  8. TEE-101-WHT-XL
  9. TEE-101-NVY-S
  10. TEE-101-NVY-M
  11. TEE-101-NVY-L
  12. TEE-101-NVY-XL
  13. TEE-102-BLK-S
  14. TEE-102-BLK-M
  15. TEE-102-BLK-L
  16. TEE-102-BLK-XL
  17. TEE-102-WHT-S
  18. TEE-102-WHT-M
  19. TEE-102-WHT-L
  20. TEE-102-WHT-XL
  21. TEE-102-NVY-S
  22. TEE-102-NVY-M
  23. TEE-102-NVY-L
  24. TEE-102-NVY-XL

SKUs generated

24

First: TEE-101-BLK-S

Style numbers101 to 102
2
Colors × sizesEach variant gets its own SKU
3 × 4
Last SKU
TEE-102-NVY-XL
Longest SKUCharacters, separators included. Many guides suggest about 8 to 12
14
ChecksUnique, starts with a letter, no O or I
Passed

Calculations run in your browser. Nothing you enter is sent or stored.

What this generator does

A SKU (stock keeping unit) is your own code for one product variant. A T-shirt in black, size small, has a different SKU from the same shirt in white, size large, because you count and reorder them separately.

  1. Category code. The broadest part, such as TEE for T-shirts or MUG for mugs.
  2. Style numbers. A number for each design. Set the first number, how many styles, and how many digits to pad to, so 1 becomes 001.
  3. Colors and sizes. Short codes separated by commas. Leave either blank if your product doesn't vary that way.
  4. Separator. A hyphen makes SKUs easier to read aloud and type. Choose none if your system prefers plain codes.

The generator makes one SKU for every combination, broadest part first. It runs in your browser and nothing you type is sent anywhere.

How the SKUs are built

PartExampleRule
CategoryTEEBroadest group, always first
Style number101Padded to the same number of digits
ColorBLKShort code, same length where you can
SizeXLLast, because it changes most often
Number of SKUs24styles × colors × sizes

Codes are turned into capitals, and spaces, slashes and other symbols are removed. Only letters and digits are kept, joined by the separator you choose.

Worked example

A brand sells 2 T-shirt designs, style 101 and style 102, in black (BLK), white (WHT) and navy (NVY), each in sizes S, M, L and XL.

  • 2 styles × 3 colors × 4 sizes = 24 SKUs
  • The first is TEE-101-BLK-S and the last is TEE-102-NVY-XL
  • The longest is TEE-101-BLK-XL at 14 characters, hyphens included

Every SKU has its parts in the same order, so a buyer or packer can read the style, color and size straight from the code.

SKU vs barcode

A SKU is made up by your business for your own stock. Another seller can give the same product a completely different SKU. A barcode number such as a UPC or EAN is different. It comes from GS1 and stays the same whoever sells the product. You can make as many SKUs as you like, but barcode numbers have to be licensed. When you need one, the EAN-13 barcode generator adds the check digit and draws it.

Tips for SKUs that last

  • Start with a letter. Spreadsheets often drop leading zeros, so 012345 can turn into 12345. The generator warns you if a SKU starts with a digit.
  • Avoid O and I. They are easy to misread as 0 and 1. Pick codes such as NVY or BLU rather than ones that need them, where you can.
  • Keep it short. Many guides suggest about 8 to 12 characters. Long codes are slow to type and easy to get wrong.
  • Keep the order fixed. Use the same parts in the same order for every product, even when you add a new category later.
  • Don't reuse old SKUs. When a product is discontinued, retire its SKU so your sales history stays clear.
  • Don't copy your supplier's code. Their numbers can change, and two suppliers can use the same code for different items. Keep theirs in a separate column.
  • Watch for clashes without a separator. Without one, style 1 in color 01 and style 10 in color 1 both become 101. The generator flags duplicates like this.

Next steps

With SKUs in place you can count stock by variant. Work out when to reorder each one with the reorder point calculator and see how fast it sells with the inventory turnover calculator. Then paste the CSV into your product list and publish it as a price list or a line sheet buyers can order from by SKU. If you keep your list in a spreadsheet, read how to make a price list in Excel.

FAQ

SKU generator FAQ

How do I create a SKU number?

Pick a few short codes that describe the item, broadest first: a category, a style number, then color and size. Join them in the same order for every product, for example TEE-101-BLK-S. Make sure each variant gets its own SKU.

Is a SKU the same as a UPC or barcode?

No. A SKU is your own internal code, and another seller can use a different one for the same item. A UPC or EAN barcode number comes from GS1 and stays the same whoever sells the product.

How long should a SKU be?

Many guides suggest about 8 to 12 characters. Shorter codes are quicker to type and read. Check the limit in any shop platform or marketplace you upload to.

Should a SKU start with a number?

It's better to start with a letter. Spreadsheets often drop leading zeros, so a SKU like 012345 can turn into 12345 when you open or import the file.

Can I download the SKUs into a spreadsheet?

Yes. Download CSV gives one row per SKU with a column for each part (category, style, color and size), which opens in Excel or Google Sheets and works for most product imports.

SKUs ready? Put them on a price list.

List each product with its SKU, wholesale and retail price, and download a clean PDF or share a link buyers can order from.