Free tool · Product data
SKU generator
for products and their variants.
Paste your products, one per line with their variants such as color and size. The generator turns them into short, readable SKUs that follow one pattern.
Duplicates get a suffix, so every SKU stays unique. Copy the list or download it as CSV for your spreadsheet or store import.
How it works
From product name to SKU
Each line is one product or one variant. The first field is the product name, every further field is an attribute such as color, size or material. The generator shortens each field and joins the parts with the separator you choose:
- Words are shortened to the first letter and the following consonants, so “Black” becomes BLC and “Cotton” becomes CTN. Short words like “Mug” or “Red” stay as they are.
- From longer fields the first two words count, and filler words like “the” or “and” are skipped.
- Sizes, numbers and units stay complete: S, XL, 42 or 350ML.
- Accents and special characters are removed, everything is written in capital letters.
- Optionally a prefix in front, for example a brand or store code, and a running number at the end.
| Line | SKU |
|---|---|
| Organic Cotton T-Shirt, Black, S | ORGCTN-BLC-S |
| Canvas Tote Bag, Natural | CNVTOT-NTR |
| Ceramic Mug, Blue, 350 ml | CRMMUG-BLU-350ML |
Good SKU rules
- One SKU per variant. Black in S and black in M are two products in your stock, so they get two SKUs.
- Same order every time. For example product, then color, then size. Then you can read a SKU without looking it up.
- Start with a letter. Spreadsheets drop leading zeros, 00123 turns into 123.
- Only letters, digits and dashes. No spaces, slashes or umlauts, which break in imports and URLs.
- Do not change a SKU later. Orders, stock and your shopping feed refer to it.
SKUs in a Google Shopping feed
In a Google Shopping feed the SKU belongs in the id attribute. Google's Merchant Center help says: “We recommend that you use your product SKU for this value.” The id may have 1 to 50 characters, should use letters, digits, underscores and dashes, and should stay the same once it is assigned. Your own SKU does not belong in mpn, which is reserved for the number the manufacturer assigned. If your products have a UPC or EAN, it goes into gtin; the GTIN checker validates the check digit. The category ID for google_product_category is in the Google product category finder.
SKU FAQ
What is a SKU?
A SKU (stock keeping unit) is a code you create yourself for each product you sell, so that you, your warehouse and your software can tell products apart. Every variant gets its own SKU: a T-shirt in black size S and the same shirt in black size M are two SKUs.
What is the difference between a SKU and a UPC, EAN or GTIN?
You make up your SKUs and they only have to be unique in your own store. UPC, EAN and GTIN numbers are assigned through GS1, are the same in every store that sells the product and end with a check digit. A product can have both: your SKU and the manufacturer's GTIN.
How long should a SKU be?
Short enough to read out and type without mistakes. If you use the SKU as the id in a Google Shopping feed, Google allows 1 to 50 characters and recommends letters, digits, underscores and dashes.
Should I use my SKU in a Google Shopping feed?
Yes, as the id. Google's Merchant Center help says: "We recommend that you use your product SKU for this value" and asks you not to change an id once it is assigned. Do not put your own SKU into mpn: according to Google, the MPN is the number assigned by the manufacturer.
Should a SKU start with a zero?
Better not. Spreadsheets such as Excel read a code like 00123 as a number and drop the leading zeros unless the column is formatted as text. Starting with letters avoids that.
Are SKUs case-sensitive?
Do not rely on it. Google points out that product IDs that differ only in upper and lower case can cause problems. This generator writes all SKUs in capital letters.
Is my product list sent anywhere?
No. The generator runs in your browser, the lines you enter stay on your device.
For online stores
Can your customers find a product by its SKU?
Customers who know a product, such as B2B buyers, sometimes type its SKU into the store search, and with one typo many store searches show nothing. Grumeria is a typo-tolerant site search for online stores that also finds products by SKU and GTIN when they are in your product data. The free feed check shows it on your own products; it reads WooCommerce, Shopify, Magento and PrestaShop stores straight from the store address.
- 14-day free trial, no payment method needed
- Then from €29 a month (excl. VAT)
- Free feed check, no account needed