Free tool

SKU Generator

Create consistent SKUs for a product and every variant

Enter the product and its options, such as size and colour, and get a readable SKU for every variant. Copy the list or download a CSV. Free, no signup.

Product

Already have a short code, such as NL? Type it and it's kept as it is.

Options and values
Format

How to shorten words

12 SKUs, up to 18 characters long.

VariantSKU
Black / SmallNRT-TSH-CLT-BLC-S
Black / MediumNRT-TSH-CLT-BLC-M
Black / LargeNRT-TSH-CLT-BLC-L
Black / Extra LargeNRT-TSH-CLT-BLC-XL
White / SmallNRT-TSH-CLT-WHT-S
White / MediumNRT-TSH-CLT-WHT-M
White / LargeNRT-TSH-CLT-WHT-L
White / Extra LargeNRT-TSH-CLT-WHT-XL
Navy Blue / SmallNRT-TSH-CLT-NVB-S
Navy Blue / MediumNRT-TSH-CLT-NVB-M
Navy Blue / LargeNRT-TSH-CLT-NVB-L
Navy Blue / Extra LargeNRT-TSH-CLT-NVB-XL

SKUs are your own internal codes, so any pattern works as long as every code is unique and you apply it the same way everywhere. Check the list against the SKUs you already use before importing. Nothing you enter is saved.

Embed

Add the SKU Generator to your site.

Free for blogs, newsletters, client sites and courses. Paste the code into an HTML or custom code block. Please keep the credit line under the tool.

<iframe id="am-sku-generator" src="https://www.ahmadmujtaba.com/tools/sku-generator?embed=1" title="SKU Generator" width="100%" height="950" style="border:0;max-width:100%;" loading="lazy"></iframe>
<p style="font-size:13px;margin:6px 0 0;">Free <a href="https://www.ahmadmujtaba.com/tools/sku-generator">SKU Generator</a> by <a href="https://www.ahmadmujtaba.com/">Ahmad Mujtaba</a></p>
<script>addEventListener("message",function(e){if(e.origin==="https://www.ahmadmujtaba.com"&&e.data&&e.data.amEmbed==="sku-generator"){var f=document.getElementById("am-sku-generator");if(f)f.style.height=e.data.height+"px";}});</script>

The script line resizes the frame to fit the tool. If your site strips scripts, the tool still works at the fixed height and scrolls inside the frame.

How it works

How to build SKUs that stay readable.

A SKU (stock keeping unit) is your own code for one sellable item. A good SKU tells your team what the item is at a glance: brand, product, then the details that separate one variant from another.

The generator shortens each part to a few letters and joins them from general to specific, for example NRT-TSH-CLT-BLC-M. Sizes such as Small or Extra Large become S and XL, numbers are kept as they are, and when two values would get the same code, a number is added so every SKU stays unique.

Use the same pattern for every product in your catalogue. Avoid spaces and special characters, and don't start a SKU with zero, because spreadsheets tend to strip it.

FAQ

Common questions.

What is a SKU?

A SKU, or stock keeping unit, is a code a seller makes up to identify one specific item, including its variant, such as a medium black t-shirt. It's used to track stock, pick orders and read sales reports.

What's the difference between a SKU and a barcode?

A SKU is internal: you choose it and it only has to make sense inside your business. A barcode number such as a UPC or EAN is a standard global number, issued through GS1, that other retailers and marketplaces can scan and recognise.

Does Shopify require SKUs?

No, the SKU field on a Shopify product is optional. But SKUs make inventory, fulfilment, reports and most stock or shipping apps far easier to work with, so it's worth adding them before your catalogue grows.

How long should a SKU be?

Short enough to read and type without mistakes. As a rule of thumb, 8 to 16 characters is plenty for most catalogues. Put the most general part first and the variant details last.

How do I add these SKUs to Shopify?

For one product, paste each SKU into its variant in the Shopify admin. For many, export your products as a CSV from Shopify, fill in the Variant SKU column, and import the file again.

Need scannable labels for these SKUs? The barcode generator makes Code 128 barcodes from any SKU, plus EAN-13 and UPC-A. Add the SKU and GTIN to your product pages' structured data with the product schema generator.

Need help making your store more profitable?

I'm Ahmad Mujtaba, a Shopify Select Partner. My team builds and maintains Shopify stores, from speed and SEO to checkout and tracking.