SKU generator
Create consistent stock-keeping unit codes for a product and all of its variants. Enter the brand, category and product name, then list the options for each variant, such as sizes and colours. The generator shortens each part to a code of the length you choose, builds a SKU for every combination, keeps every code unique, and can add a running number. Codes use only letters and digits, so they work in spreadsheets, barcodes and every marketplace.
Shorten words to
Separator
Enter the product and its variant options.
How to use the SKU Generator
- 1
Enter the product
Brand, category and product name; any can be left blank.
- 2
List the variants
Comma-separated options, for example S, M, L and Black, White.
- 3
Choose the format
Code length, shortening style, separator and an optional running number.
- 4
Download
Copy the SKUs or download a CSV with the options in columns.
When to use it
- Create SKUs for a new clothing line in every size and colour.
- Set up inventory codes before importing products to a shop.
- Standardise messy product codes.
Limits
- Up to 5,000 combinations at a time.
- Accents are removed and only A–Z and 0–9 are used.
- Check codes against your existing catalogue to avoid clashes with old SKUs.
Privacy
Everything is calculated in your browser. Nothing you enter is sent anywhere or stored.
Frequently asked questions
What makes a good SKU?
Short, readable, unique and built from the same parts in the same order for every product, without letters that are easy to confuse.
Is a SKU the same as a barcode?
No. A SKU is your own internal code; a GTIN or UPC barcode number is assigned through GS1. You can print a SKU as a Code 128 barcode.
What happens if two options shorten to the same code?
A number is added to the repeat so every SKU stays unique; a longer code length usually avoids this.
What does consonants style do?
It keeps the first letter and then consonants, so Black becomes BLC and Medium becomes MDM, which often reads better than the first letters.
Should SKUs start with a zero?
Avoid it, because spreadsheets often remove leading zeros.
Related tools
- Barcode GeneratorEAN-13, UPC-A, EAN-8 and Code 128 barcodes with check digits, as SVG or PNG.
- Unit Cost CalculatorCost per good unit from materials, labour, overhead and waste, with prices for a margin or markup.
- Marketplace Fee CalculatorSeller fees, payout, profit and margin per order, and the price for a target margin.
People also use
- Discount CalculatorSale price, savings and stacked discounts.
- Profit Margin CalculatorProfit, margin and markup, or the price for a target margin.
- Break-Even CalculatorUnits and sales needed to cover your costs.
- PayPal Fee CalculatorSee the fee and payout on a payment, or what to charge to receive an exact amount.
Last updated November 22, 2026 · How we build and test our tools