What is a SKU generator?

A SKU generator builds product codes from a fixed pattern of segments — prefix, category, colour, size — followed by a sequential number, producing whole batches of consistent codes at once. SKUs look trivial until a catalogue reaches a few hundred variants; then the difference between a system and a pile of improvisations is the difference between finding stock and guessing at it.

This generator enforces the pattern for you: segments uppercase, empty segments skipped without leaving gaps, numbers zero-padded so everything sorts.

How this generator works

Quick answer: Prefix FS, category MUG, colour BLK, size L, starting at 101 with 3-digit padding produces FS-MUG-BLK-L-101, FS-MUG-BLK-L-102, FS-MUG-BLK-L-103. Clear the colour field and the same settings produce FS-MUG-L-101 — no double hyphen, no empty segment.

Set the segments once per product family, choose the numbering, and generate up to 100 codes. Copy takes them as a plain list; Download saves a CSV with one SKU per row.

Anatomy of a good SKU

SegmentExampleWhat it encodes
PrefixFSBrand, store or warehouse — constant across the catalogue
CategoryMUGProduct family in 2–4 letters
ColourBLKVariant colour, from a fixed code list you control
SizeLSize, capacity or pack count
Sequence101Zero-padded running number within the family

Read left to right, the code narrows: whose it is, what family, which variant, which individual entry. Anyone on your team can decode it at a shelf without a lookup — that readability is the entire point of a structured SKU over a random string.

Rules that keep a catalogue sane

  • Never reuse a retired SKU. Old codes live on in order history and printed labels forever.
  • Never encode anything that changes. No prices, no suppliers, no seasons you will regret.
  • Fix your segment code lists. BLK always means black; if BLU and BLK both appear for blue, the system is already broken.
  • One variant, one code. If it can sell out separately, it is a separate SKU.
  • Keep a master list. Every batch you download here is a page of it — file them, and start each family beyond the last number issued.

Padding, sorting and sequence numbers

Computers sort text character by character, so unpadded numbers order as 1, 10, 101, 2, 20 — useless on a shelf list. Zero-padding to a fixed width (001, 010, 101) makes text order and numeric order identical. Choose the width for the family's lifetime size: 3 digits to 999, 4 to 9,999. Starting sequences at 101 rather than 001 is a common convention that leaves the sub-100 range for samples, seconds and test listings — optional, but tidy.

SKU vs UPC: which do you need?

Both, usually, for different audiences. The SKU is yours: free, instant, meaningful inside your business. The UPC/GTIN is rented from the global registry (GS1) and is what retail chains and some marketplace categories require so a product can be identified across companies. Your SKU rides along in your Amazon seller SKU field, eBay custom label and Shopify variant SKU regardless — the internal system is never wasted work.

What this generator leaves out

  • Uniqueness checking. It cannot see your existing codes — your master list is the registry.
  • Barcode images. It produces code text; label software renders the bars.
  • Stock management. Codes identify products; counting them is the Inventory Calculator's and your platform's job.
  • Random or encrypted IDs. Deliberately: SKUs are meant to be read by humans.

Sources & References

Every code in this guide was produced with this page's own pattern and settings, so you can reproduce each one exactly by entering the same segments above.