How to Create SKU Numbers: Format, Examples and a Free SKU Generator

A simple SKU format you can use today, real examples for products with variants, the mistakes that cause inventory headaches, and a free generator.

Updated 4 min read
How to Create SKU Numbers: Format, Examples and a Free SKU Generator cover illustration

Quick answer: A good SKU is short, readable and built from the same parts every time, for example TSH-BLK-M for a black medium T-shirt. Pick 3 to 4 parts (category, style, color, size), use letters and numbers only, keep it under about 12 characters and never reuse a SKU. Our free SKU generator builds codes in bulk and can add EAN-13 or UPC-A barcodes.

A SKU (stock keeping unit) is your own internal code for each product variant. Unlike a UPC barcode, nobody assigns it to you. That freedom is why so many stores end up with a mix of supplier codes, random numbers and blanks. It works until you have a few hundred variants, a warehouse, or a marketplace that requires SKUs.

A simple SKU format that works for most stores

Build every SKU from the same parts, in the same order:

  1. Category or product line (2-3 letters): TSH for T-shirts, MUG for mugs.
  2. Style or model (2-4 characters): CL for classic, V2 for version two.
  3. Main variant, usually color: BLK, WHT, NVY.
  4. Second variant, usually size: S, M, XL, 11OZ.

Join them with hyphens: TSH-CL-BLK-M. Anyone on your team can read it and know what's in the box.

SKU number examples

Product SKU
Classic T-shirt, black, medium TSH-CL-BLK-M
Ceramic mug, white, 11 oz MUG-CR-WHT-11
Running shoe v2, navy, size 10 SHO-RN2-NVY-10
Candle, lavender, large CND-LAV-L
Phone case, iPhone 16, clear CSE-I16-CLR

Rules that save you trouble later

  • Don't start with zero. Spreadsheets drop leading zeros, so 0045 becomes 45.
  • Avoid letters that look like numbers. O and 0, I and 1, cause picking errors.
  • Use only letters, numbers and hyphens. Spaces, slashes and special characters break some apps, marketplaces and barcode fonts.
  • Don't put price or supplier in the SKU. Both change. The SKU shouldn't.
  • Never reuse a SKU, even for a discontinued product. Old orders and reports still point to it.
  • Keep it short. Under about 12 characters fits on labels and is easy to type.

SKU vs. barcode (UPC, EAN, GTIN)

A SKU is internal. You make it up. A UPC or EAN barcode number is a global product identifier. If you sell on Amazon or Google Shopping, or to retailers, you'll usually need official GTINs from GS1. For your own warehouse, shelf labels or packing, you can print your SKU as a barcode (for example Code 128). Our SKU and barcode generator creates both, but remember that a barcode you generate yourself is not a registered GTIN.

How to add SKUs in Shopify

  1. Open a product and scroll to Variants. Click a variant.
  2. Under Inventory, enter the SKU and, if you have one, the barcode (ISBN, UPC, GTIN).
  3. For many products at once, export your products to CSV, fill in the Variant SKU column, and import the file again. Make a backup of the export first.

Once SKUs are consistent, inventory reports, low-stock alerts and marketplace syncs become much easier. Our guide to Shopify inventory management covers the next steps.

When a generator helps

Typing hundreds of SKUs by hand is where mistakes creep in. A generator applies the same pattern to every variant, so you get consistent codes in minutes. Paste the result into your product CSV and import it. If your catalog is large or messy, our team can do the cleanup for you.

To create codes in bulk, use the free SKU generator and barcode maker. Not sure which code goes where? Read SKU vs. UPC vs. barcode.

Frequently asked questions

What is a good SKU format?

Category, style, color and size joined by hyphens, such as TSH-CL-BLK-M. Keep it short, readable and the same structure for every product.

Can I make up my own SKU numbers?

Yes. SKUs are internal codes, so you choose them. Barcode numbers like UPC or EAN are different and must come from GS1 for retail and most marketplaces.

Should every variant have its own SKU?

Yes. Each size and color combination is a separate item in stock, so each needs its own SKU.

Is the SKU generator free?

Yes. It runs in your browser with no sign-up and no app to install.

Related services

Found this useful? Share it.

Want this done on your store?

Tell us about your Shopify store and we'll send back a clear plan โ€” what to fix first, how long it takes and what it costs.

Get a free plan โ†’

Ready to grow your store?

Free, fixed-price quote within one business day. No calls required.