Skip to content
RankX AI

Cookie settings

Choose which cookies we can use. You can change this at any time from “Cookie settings” in the footer.

Essential

Security, bot protection and remembering your choice. The site needs them to run, and they do not identify you. Always on.

Google Analytics cookies that tell us which pages are read and which links are followed, so we can improve them. Off until you switch it on.

Tells advertisers when their advert led to your visit. Includes the Meta (Facebook) pixel and the LinkedIn Insight Tag, which set cookies on this domain (LinkedIn also on linkedin.com) and can be told if you later start a trial.

More in the cookie policy and the privacy policy.

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

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 lines and the SKU numbers the generator makes for them, without and with a prefix
Product line you pasteSKUWith prefix JN
Juniper Linen Shirt, Navy, MJLS-NVY-MJN-JLS-NVY-M
Juniper Linen Shirt, Navy, LJLS-NVY-LJN-JLS-NVY-L
Juniper Linen Shirt, Sage, MJLS-SGE-MJN-JLS-SGE-M
Ceramic Mug, WhiteCM-WHTJN-CM-WHT
Ceramic Mug, WhiteCM-WHT-2JN-CM-WHT-2
Waxed Canvas Tote, SandWCT-SNDJN-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.

A SKU compared with a UPC, EAN or GTIN barcode number
Compared onSKUUPC, EAN or GTIN
Who makes itYou, in any format you chooseThe brand, from a company prefix licensed from GS1
What it looks likeLetters, numbers and hyphens, such as JLS-NVY-M8, 12, 13 or 14 digits, the last one a check digit
Unique withinYour own store and inventory systemThe whole world
Where it goesThe SKU field of each variantThe barcode or GTIN field, and your product feed
Free toolThis SKU generator and checkerThe 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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

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.

7-day free trial. No credit card required. On Shopify, install the app and Shopify bills your plan.