Skip to content
UPC Maker

SKU Generator

Paste your product list and get a clean SKU for every row, built from the product name and its options. Codes stay short and readable, duplicates are flagged, and one click turns the whole list into barcodes.

Free, no sign-up, no watermark. Barcodes are drawn in your browser and nothing you type is uploaded.

How the SKUs are built

Each line you paste becomes one SKU. The product name and every option after it are shortened to a few characters and joined with a separator. The rules are fixed, so the same input always gives the same code:

  • One word becomes its first letter followed by consonants: Black gives BLK, Large gives LRG, Green gives GRN.
  • Short words are kept whole: Red stays RED.
  • Several words become initials: Canvas Tote Bag gives CTB.
  • Sizes and numbers are left alone: S, XL, 32 and 12OZ stay readable.
  • Duplicates get a number on the end, so two rows can never share a SKU.

So "T-Shirt, Black, M" with the prefix ACME becomes ACME-TS-BLK-M. Anyone in the stockroom can read that without a lookup table, which is the whole point.

What makes a good SKU

  1. Order from general to specific. Product first, then colour, then size. Sorted alphabetically, the list then groups itself by product.
  2. Keep it short. Eight to twelve characters is ideal. A long SKU makes a wide barcode and gets misread aloud.
  3. Use capitals, digits and hyphens only. Spaces and slashes break in file names, URLs and marketplace imports.
  4. Do not start with zero. Spreadsheets strip leading zeros unless the column is formatted as text.
  5. Avoid look-alikes where you can. The letter O and the digit 0, and the letter I and the digit 1, cause picking mistakes. If a code is ambiguous, change one segment by hand.
  6. Never reuse a retired SKU. Old orders and reports still point at it.
  7. Leave the supplier's code out. Suppliers change. Your SKU should describe the product, not where you bought it this year.

SKU, UPC and barcode: how they fit together

SKUUPC or EAN
Who creates itYouLicensed from GS1
Who uses itYour team and systemsRetailers, marketplaces, Google
FormatLetters and digits, any length12 or 13 digits
CostFreePaid
Can it change?Yes, if you reorganiseNo

A product can have both. The longer comparison, including ASIN and MPN, is in the guide to UPC vs EAN vs GTIN vs SKU.

From SKU list to printed labels

Press "Make barcodes for these SKUs" and the list opens in the bulk barcode generator as Code 128, with the product name as the text line on each label. From there you can print on 30-up sheets or download a zip of images. If you only need one, the Code 128 generator has size and height controls.

Loading SKUs into your store

The CSV download has two columns, Product and SKU. Most store platforms let you paste a SKU column in a bulk editor or import it from a product CSV. On Shopify, the column in the product export is Variant SKU. There is more on how SKU and barcode fields differ on the Shopify barcode generator page.

Frequently asked questions

What is a SKU?

A stock keeping unit is your own internal code for one sellable variant, such as a black T-shirt in medium. You invent it. It is different from a UPC, which is a licensed number shared by everyone who sells that product.

How long should a SKU be?

Aim for 8 to 12 characters and stay under 16. Short codes are quicker to read aloud, fit on a small label, and make a narrower barcode.

Which characters are safe in a SKU?

Capital letters, digits and hyphens. Avoid spaces, slashes and accented letters, which break in spreadsheets, URLs and some marketplace imports. Avoid starting with a zero, because Excel will strip it.

Should the SKU be the same as the barcode?

They do different jobs. The SKU is for you and can change if you reorganise. The UPC or EAN belongs to the product and never changes. For internal labels it is fine to print the SKU itself as a Code 128 barcode.