SKU & Variant Generator
Create consistent internal Stock Keeping Units (SKUs) for standalone products or multi-attribute variation matrices with collision checks and spreadsheet-safe CSV export.
Internal SKU & Variant Matrix Workspace
Deterministic SKU patterns, collision prevention, leading-zero preservation, and formula-guarded CSV export
Tokens: {prefix} {brand} {category} {product} {id} {color} {size} {sequence} {suffix}
| # | Generated SKU | Color / Var 1 | Size / Var 2 | Seq |
|---|---|---|---|---|
| 1 | APP-SHIRT-RED-S-001 | RED | S | 001 |
| 2 | APP-SHIRT-RED-M-002 | RED | M | 002 |
| 3 | APP-SHIRT-RED-L-003 | RED | L | 003 |
| 4 | APP-SHIRT-BLUE-S-004 | BLUE | S | 004 |
| 5 | APP-SHIRT-BLUE-M-005 | BLUE | M | 005 |
| 6 | APP-SHIRT-BLUE-L-006 | BLUE | L | 006 |
How deterministic SKU patterns and variant matrices work
An internal SKU (Stock Keeping Unit) is a human-readable alphanumeric code used by warehouses, POS systems, and e-commerce catalogs to track inventory at the specific variation level.
1. Configurable Pattern Tokens & Empty-Segment Collapsing
Combine any of the nine supported tokens: {prefix}, {brand}, {category}, {product}, {id}, {color}, {size}, {sequence}, {suffix}. If an optional field (such as {prefix} or {brand}) is left blank, its adjacent separator is collapsed automatically so your SKUs never contain doubled or dangling hyphens.
2. Normalization & Strict Collision Prevention
Each token strips diacritics and non-alphanumeric punctuation while preserving leading zeros. If two distinct variant inputs normalize to the same token (for example, "Light-Blue" and "Light Blue"), or if a custom pattern omits a varying token and produces duplicate SKUs, the generator stops and alerts you rather than silently merging distinct product variations.
3. CSV Security & Leading-Zero Trade-Offs
Spreadsheet applications (Excel, LibreOffice Calc, Google Sheets) evaluate cells beginning with =, +, -, or @ as executable formulas, and strip leading zeros from purely numeric strings even when quoted in RFC 4180 CSV. Operuvo’s Spreadsheet-Safe CSV mode prepends a single apostrophe (') to formula-trigger cells and purely numeric leading-zero tokens (like '0042), whereas Machine-Readable CSV mode still neutralizes formula triggers while keeping pure numeric strings unprefixed for ERP/database importers.
Frequently asked questions
Is an internal SKU the same as a UPC or EAN-13 GTIN barcode?
No. A SKU is an internal catalog identifier defined by your business (such as APP-SHIRT-RED-M-001) and can be encoded into a Code 128 warehouse barcode. A GTIN (UPC-A or EAN-13) is a fixed-length numeric retail identifier licensed from GS1.
Why does Excel sometimes drop leading zeros when opening a CSV?
When opening a CSV by double-clicking, Excel ignores RFC 4180 double quotes around numeric strings (turning "001" into 1). Selecting Spreadsheet-Safe CSV or importing via Excel’s Data → From Text/CSV wizard (setting column type to Text) preserves leading zeros.