Free SKU generator for every product and variant.
This free SKU generator turns a list of products into readable, unique SKU codes built from each product’s name, colour and size. Paste one product per line and download the SKUs as a CSV for Shopify or WooCommerce, or paste the SKUs you have to find duplicates and the formats that cause trouble.
FreeNo accountRuns in your browser
Generate SKUs
Check existing SKUs
The free RankX AI Shopify app works inside Shopify admin, where alt text, barcodes and search titles live. Fix one product or many at once, and undo any change with one click.
New listing copy proposed beside the current words and written to WooCommerce after you approve it. 7-day trial with 1,000 credits. No credit card.
On Shopify, the free RankX AI app fixes products inside Shopify admin: fix one product or many at once, and undo any change with one click. On WooCommerce: new listing copy proposed beside the current words and written to WooCommerce after you approve it.
What it makes
What is a SKU code, and what does this free SKU generator make?
A SKU (stock keeping unit) is your own code for one product or one variant, such as a linen shirt in navy, size medium. Unlike a barcode number, which comes from GS1, you choose your SKUs, so a good SKU code tells anyone in the warehouse or the spreadsheet what the product is.
This SKU generator builds those codes from your product names and options. Here is what it makes from six product lines, with no prefix and with the prefix JN.
| Product line you paste | SKU | With prefix JN |
|---|---|---|
| Juniper Linen Shirt, Navy, M | JLS-NVY-M | JN-JLS-NVY-M |
| Juniper Linen Shirt, Navy, L | JLS-NVY-L | JN-JLS-NVY-L |
| Juniper Linen Shirt, Sage, M | JLS-SGE-M | JN-JLS-SGE-M |
| Ceramic Mug, White | CM-WHT | JN-CM-WHT |
| Ceramic Mug, White | CM-WHT-2 | JN-CM-WHT-2 |
| Waxed Canvas Tote, Sand | WCT-SND | JN-WCT-SND |
The fifth line repeats the fourth, so its SKU gets a number to stay unique. Every SKU the generator makes in one run is different.
How it builds them
Readable SKUs that say what the product is
A good SKU lets anyone in the warehouse or the spreadsheet tell products apart at a glance. The generator builds each one from the product and its options, in the order you would read them, and makes sure no two lines get the same SKU.
1. Prefix
Brand or category
Optional letters at the start, such as JN for your brand or MUG for a category, so related products sort together.
2. Product
Letters from the name
Juniper Linen Shirt becomes JLS. Small words such as “and” and “with” are skipped.
3. Options
Colour and size
Common colours get standard codes (Navy is NVY, Black is BLK), sizes stay as they are (M, XL), and anything else is shortened to three letters.
4. Unique
Never repeated
If two lines would get the same SKU, the second gets a number. An optional running number can go on every line.
SKU or barcode
How is a SKU different from a UPC, GTIN or other GS1 barcode?
A SKU is your internal code for managing stock; a UPC, EAN or GTIN is the barcode number shoppers, Google and marketplaces use to identify the product everywhere. Most products need both, kept in separate fields.
| Compared on | SKU | UPC, EAN or GTIN |
|---|---|---|
| Who makes it | You, in any format you choose | The brand, from a company prefix licensed from GS1 |
| What it looks like | Letters, numbers and hyphens, such as JLS-NVY-M | 8, 12, 13 or 14 digits, the last one a check digit |
| Unique within | Your own store and inventory system | The whole world |
| Where it goes | The SKU field of each variant | The barcode or GTIN field, and your product feed |
| Free tool | This SKU generator and checker | The GTIN Checker and check digit calculator |
SKU best practice
What makes a good SKU number?
A good SKU starts with a letter, runs 8 to 12 characters and uses only letters, numbers and hyphens. The SKU checker applies these rules, taken from Shopify’s and Lightspeed’s published guidance and the identifier limits in Google Merchant Center.
Start
With a letter
A SKU starting with a zero loses it when a spreadsheet reads it as a number. Start with letters.
Length
8 to 12 characters
Long enough to say what the product is, short enough to read and type. Google Merchant Center reads an id of up to 50.
Characters
Letters, numbers, hyphens
No spaces or symbols, and no O beside 0 or I beside 1.
Your own
Not a barcode
Keep the GTIN in its own field, and never reuse a SKU for a new product. Check barcodes with the GTIN Checker.
How to
How to create SKU numbers in bulk for your whole catalogue
Five steps take a store from missing or messy SKUs to one unique code per variant, in your Shopify or WooCommerce admin.
Step 1
List the products
Export your products to a spreadsheet, or write one line per variant: the product name, then its colour and size, separated by commas.
Step 2
Choose the format
Add a prefix for your brand or category if you want one, pick a separator, and decide whether every line gets a running number.
Step 3
Generate and download
Press Generate SKUs, read the list, and download it as a CSV with the product, its options and its SKU.
Step 4
Add them to your store
On Shopify, add each SKU under the variant's Inventory or import a product CSV. On WooCommerce, use each product's Inventory tab or the product importer.
Step 5
Check what is left
Paste your existing SKUs into the checker above to find duplicates, then run the free ecommerce SEO audit to find any product still missing one.
Questions
About the SKU Generator
What is a SKU?
A stock keeping unit: your own code for one product or one variant, such as a shirt in navy, size medium. Unlike a barcode number, which comes from GS1, you make your SKUs up, so they can say what the product is.
How does the SKU generator build a SKU?
From an optional prefix, letters from the product name and a short code for each option, with common colours given standard codes and sizes kept as they are. Juniper Linen Shirt in Navy, size M becomes JLS-NVY-M, or JN-JLS-NVY-M with a JN prefix. If two lines would give the same SKU, the second gets a number.
Can Shopify generate SKUs for me?
Shopify leaves the SKU field of each variant empty until you or an app fill it in. Generate the codes here, download the CSV, and add them under each variant’s Inventory or with a product CSV import.
Can two products share the same SKU?
No. A SKU must point to exactly one product or variant, or stock counts, orders and feeds mix them up. The generator never repeats a SKU in one run, and the checker flags any SKU you paste more than once.
What makes a good SKU?
Shopify and Lightspeed both recommend 8 to 12 characters, starting with a letter, using only letters, numbers and hyphens, avoiding characters that look alike such as O and 0, and never reusing a SKU for a different product.
Can I use the barcode number as the SKU?
It is better not to. The GTIN belongs in its own barcode field, where Google and marketplaces look for it. A SKU should be your own code, so it still works for products with no barcode and does not change if a supplier changes theirs.
What does the SKU checker look for?
SKUs used more than once, spaces, symbols, leading zeros that spreadsheets drop, numbers a spreadsheet has turned into scientific notation, SKUs over 50 characters that Google Merchant Center cannot read as an id, and barcodes used as SKUs.
How do I add the SKUs to my store?
Download the CSV, then on Shopify add them to each variant under Inventory, or import them with a product CSV. On WooCommerce, add them in each product’s Inventory tab, or import them with the product importer. The free Ecommerce SEO Audit then finds any product still missing one.
More free tools for online stores
Check the rest of your store
Start here
Fix it once. Keep it fixed.
These checks show you what is wrong today. RankX AI checks your store for you, fixes products with your approval, and shows whether ChatGPT and Google AI Mode recommend them.
- ShopifyAn app inside your Shopify admin
- WooCommerceThe RankX AI web app, connected to your WordPress site
- Other websitesThe RankX AI web app
7-day free trial. No credit card required. On Shopify, install the app and Shopify bills your plan.