Skip to the SKU generator

SKU generator for product variants

Set a prefix and attributes. The page builds a matrix of one code per combination, flags exact duplicates in the batch, then lets you copy the codes or download a CSV. You can use this free SKU generator tool in your browser with no account.

Product attributes
#NameValuesInclude in SKURemove
1
2

4 SKUs

Variant SKUs
SKUProductSizeColorOptions
Tee-S-BlackTeeSBlackSize: S; Color: Black
Tee-S-WhiteTeeSWhiteSize: S; Color: White
Tee-M-BlackTeeMBlackSize: M; Color: Black
Tee-M-WhiteTeeMWhiteSize: M; Color: White

How to use this SKU generator

  1. Type a short prefix.
  2. Add one row per attribute. Type the name and the values, separated by commas. Leave Include in SKU checked when that value belongs in the code.
  3. Set the separator and the case. Use leading zeros when an all-digit value should be padded.
  4. Read the live results. Each combination gets one code.
  5. Choose Copy SKUs, or Download CSV.

What a SKU is

A SKU is the code you assign to one sellable variant. A tee in size S and color Black is a different SKU from the same tee in size M. You choose the pattern. The code has to stay unique inside your business.

That code is also called a SKU number. You can generate a SKU number for each sellable variant on this page.

SKU vs UPC vs barcode names three different things. A SKU is your code for a variant. A UPC or EAN is a retail number from GS1. A barcode is the printed mark a scanner reads. This page builds the SKU text.

SKU vs UPC vs barcode
IdentifierUsed forWhat it is
SKUYour catalogA code you define for one variant. Unique inside your business.
UPC/EANRetail checkoutA 12-digit UPC or 13-digit EAN issued by GS1.
BarcodeScanningThe printed mark, such as Code 128 or UPC bars. It can carry a SKU or a UPC.

Source: GS1 barcode standards

Examples

Each row is one code this page can build from a prefix and attribute values. The breakdown names the segments. It is not stored in the code.

This SKU maker builds those codes from the prefix and attributes you type in the form.

Apparel

The form starts with prefix Tee, Size S and M, and Color Black and White.

Example SKUs for Apparel
ProductSKUBreakdown
Tee, size S, BlackTee-S-BlackPrefix-Size-Color
Tee, size M, WhiteTee-M-WhitePrefix-Size-Color
Tee, size L, NavyTee-L-NavyPrefix-Size-Color

Candles

Example SKUs for Candles
ProductSKUBreakdown
Soy candle, lavender, 8 ozCNDL-Lavender-8ozPrefix-Scent-Size
Soy candle, cedar, 12 ozCNDL-Cedar-12ozPrefix-Scent-Size

Soap/Bath

Example SKUs for Soap/Bath
ProductSKUBreakdown
Bar soap, lavender, 100 gSOAP-Lavender-100gPrefix-Scent-Size
Bar soap, cedar, 100 gSOAP-Cedar-100gPrefix-Scent-Size

Naming conventions

Pick one pattern and keep it. These are naming rules. The form does not enforce them.

Use a readable pattern

A readable pattern such as [Category]-[Color]-[Size]-[Seq] stays the same on every variant. A picker can name the product from the code.

Skip lookalike characters on a label

Avoid O and 0, and I and 1, on a printed label. The page does not strip them.

Skip spaces and special characters

Leave spaces and special characters out of the code. Letters, digits, and one separator are enough.

Leave the price out

Do not put the price in the code. A price change would force a new code for the same variant.

Do not rely on a leading zero

Do not rely on a leading zero. Spreadsheets drop it when they store the cell as a number.

Leave a retired code retired

Do not reuse a retired code. The old sales and the new item would share one string.

Duplicates and CSV export

The page flags an exact match inside the batch, after case and separator. Two different option paths can collapse to one string. Codes that already exist in another store stay outside this check.

Excel and Google Sheets drop a leading zero when a cell looks like a number, so Product 01 becomes 1. A SKU such as 01-S-Black stays text. Format any column that looks like a number as text before you sort or import, so the zero stays.

Download CSV writes SKU, Product, one column per attribute, and Options. The file name is sku-plain.csv.

Import the CSV into Excel or Google Sheets

Download sku-plain.csv, then open it in Excel or Google Sheets. The Excel SKU generator page shows a worked example where SKU 01-S-Black stays text and Product 01 becomes 1. Format any column that looks like a number as text before you sort or import, so the zero stays.

Import the CSV into Shopify

  1. Download sku-plain.csv from this page.
  2. Export or download Shopify's own product CSV from Shopify Admin → Products (use Shopify's current template).
  3. Copy the SKU column from sku-plain.csv into the SKU column of Shopify's file (match rows by product / variant). An older export may still use the header Variant SKU. Shopify keeps backward compatibility with older column names.
  4. Import that Shopify CSV with Shopify's product importer in one upload.

Import the CSV into WooCommerce

  1. Download sku-plain.csv from this page. This file is not WooCommerce's product CSV.
  2. Export WooCommerce's product CSV from Products → Export (UTF-8).
  3. Copy the SKU column from sku-plain.csv into WooCommerce's SKU column (match rows by product / variation).
  4. Import that WooCommerce CSV with Products → Import in one upload.

Limits

  • Max 12 axes
  • Max 20 values per axis
  • Warns at 500 SKUs
  • Hard max 2,000 SKUs
  • Prefix max 64 characters
  • Custom separator max 3 characters

Shopify and Excel

The Shopify page maps codes into a product CSV. The Excel page shows a worked example with a leading zero.

FAQ

Can I change SKUs after I generate them?

Yes. Edit the prefix, the values, the separator, the case, or the leading zeros, and the matrix refreshes. Settle the pattern before you import. Use that same string on every channel.

Is this SKU generator free?

Yes. There is no account. You can use this free SKU generator tool in your browser. The page does not load advertising scripts. See the Privacy page for request logs.

Do you store my SKUs on a server?

No. Generation runs in your browser. The site does not save a product catalog. Request logs for loading the page are separate from your codes.

Is there a maximum SKU length on Shopify, WooCommerce, or Amazon?

There is no single maximum SKU length that covers Shopify, WooCommerce, and Amazon. Each channel documents its own field length, and those limits change. Check the current import template before you rely on a long code. This page allows a prefix of 64 characters, plus the values you type.

Is this inventory or warehouse software?

No. This page builds variant SKU strings from a prefix and attributes. Stock levels, purchase orders, and warehouse workflows stay in your store or ERP.

Can I use the codes commercially?

Yes. The strings you generate are yours to use in your catalog. You remain responsible for uniqueness in that catalog, for trademark conflicts, and for each channel's rules.

Is this a SKU number generator?

Yes. This SKU number generator builds one SKU number per combination from a prefix and attributes. A SKU number on this page is the SKU text you assign in your catalog.

Can I generate a SKU number for each variant?

Yes. Add one row per attribute, type the values, and the matrix generates a SKU number for each combination. You can copy the codes or download a CSV.

Is this a SKU maker?

Yes. This SKU maker builds one code per combination from a prefix and attributes. Set the prefix, add attributes, then copy the codes or download sku-plain.csv.

How do I use the CSV in Excel or Google Sheets?

Download sku-plain.csv and open it in Excel or Google Sheets. SKU 01-S-Black stays text. Product 01 becomes 1 if the spreadsheet stores it as a number. Format any column that looks like a number as text before you sort or import, so the zero stays. The Excel SKU generator page shows a worked example with a leading zero. The columns are SKU, Product, one column per attribute, and Options.

Ready to build codes? Jump to the SKU generator at the top. Set your prefix and attributes, check duplicates, then copy or download CSV.