A useful first step. No signup.

Free SKU Generator for WooCommerce and Online Stores

Turn a list of product names and attributes into readable, unique SKUs. Download a plain list, or a WooCommerce import file that creates the products as drafts.

Free to useNo email requiredYour entries stay in this page

Generate your SKUs

Example values are shown. Nothing leaves your browser.

What makes a good SKU

A SKU (stock keeping unit) is your own code for one sellable item. Each size and colour of a shirt gets its own, because each is counted, picked and reordered separately. Unlike a barcode, it's yours to design, and nobody assigns it to you.

  • Keep it readable. Someone will read it off a shelf label, so ACME-CLCTTS-BLA-M beats 83921744.
  • Put the broad part first. Starting with the brand or product line keeps related items together when a list is sorted.
  • Don't encode what changes. Leave out the price, supplier and season. When they change, a SKU that contains them is wrong and you can't easily rename it.
  • Avoid confusing characters. O and 0 or I and 1 look alike on a label, which is why the option above is on by default.
  • Start with a letter. A spreadsheet can strip the leading zeros from 00123 and turn 1E5 into 100000. The tool warns you when a SKU could be read as a number.

How the tool builds a SKU

The format is prefix, product code, running number, then one code for each attribute value. For the example above:

  • Product code: letters from each word of the name, up to the length you chose. Small words like "the" and "with" are skipped.
  • Attribute codes: the first letters of the value, or its initials if it has several words, so Navy Blue becomes NB. Sizes like S and XL stay as they are.
  • Clashes: values that would share a code get more letters. At two letters, Black and Blue would both be BL, so they become BLA and BLU. If two whole SKUs still match, or one matches your existing list, the later one gets a number.

Accented letters are converted, so Çanta becomes CANTA. A name with no Latin letters or digits gets a code like P1, and the tool tells you when that happens.

Importing into WooCommerce

The WooCommerce import file creates draft products with these SKUs. With attributes, it makes a variable product for each name and one variation per combination, all with no price yet. We tested the file through the WooCommerce 11.2.1 importer. Fill in your prices and stock in the file, or in WooCommerce afterwards, then publish when you're ready.

WooCommerce won't let two products share a SKU, and the variations and their parent must be different too. The generator allows for both, but it can't see your store. To avoid clashes, export your products and paste your current SKUs into the box above. To give variations more control over prices and stock, use the variation CSV generator, then check your file before you import it.

Be careful about changing SKUs on products that are already selling. Anything else that uses them, such as a marketplace feed or a shipping integration, will stop matching.

Frequently asked questions

How do I create a SKU number?

Combine short codes that describe the item, usually starting with the brand or product line, followed by the product and its attributes. For example, ACME-CLCTTS-BLA-M. Keep it short and readable, and leave out anything that changes, such as the price or supplier.

What is the difference between a SKU and a barcode?

A SKU is your own internal code, and you can design it however you like. A barcode number such as a UPC or EAN identifies the product across the supply chain, and comes from GS1 or the manufacturer. Many products have both.

Should every variation have its own SKU?

Yes, if you track stock per variation. Each size and colour is counted, picked and reordered separately, so each needs its own code.

Does WooCommerce require SKUs?

No, the field is optional. Without them, though, you lose a reliable way to update products by CSV or match them to other systems, so they're worth having once your range grows.

Can two WooCommerce products have the same SKU?

No. WooCommerce rejects a SKU that's already in use, including one on a variation. Paste your current SKUs into the tool so that it avoids them.

Can I change a SKU later?

You can, but anything else that uses it, such as a marketplace feed, a shipping integration or a printed label, will stop matching. It's worth getting the format right before you have many products.

Take the next step

Set variation SKUs without a spreadsheet.

Quick Variable Products lets you pick attributes, generate every variation in one click, then set price, SKU and stock per row, right inside WooCommerce.

Explore Free and Pro →Read the step-by-step guide

More free tools

Free browser tool

Inventory count sheet

Open a WooCommerce stock CSV, count products in a browser worksheet, or download a printable inventory count sheet PDF. Review differences and export your count record.

Open tool →
Free browser tool

EOQ calculator

Find the cheapest order size, rounded to your pack size and supplier minimum, and compare it with what you order now.

Open tool →