SKU Generator
Cross your brand, category, colour and size lists into every product variant, apply abbreviation rules and a sequence number, and export the SKUs as CSV.
Attributes
Every one of the 48 SKUs is unique.
Generated SKUs
| brand | category | colour | size | sku |
|---|---|---|---|---|
| Northwind | T-Shirt | Midnight Blue | S | NOR-TSH-MB-S-001 |
| Northwind | T-Shirt | Midnight Blue | M | NOR-TSH-MB-M-002 |
| Northwind | T-Shirt | Midnight Blue | L | NOR-TSH-MB-L-003 |
| Northwind | T-Shirt | Midnight Blue | XL | NOR-TSH-MB-XL-004 |
| Northwind | T-Shirt | Forest Green | S | NOR-TSH-FG-S-005 |
| Northwind | T-Shirt | Forest Green | M | NOR-TSH-FG-M-006 |
| Northwind | T-Shirt | Forest Green | L | NOR-TSH-FG-L-007 |
| Northwind | T-Shirt | Forest Green | XL | NOR-TSH-FG-XL-008 |
| Northwind | T-Shirt | Bone White | S | NOR-TSH-BW-S-009 |
| Northwind | T-Shirt | Bone White | M | NOR-TSH-BW-M-010 |
| Northwind | T-Shirt | Bone White | L | NOR-TSH-BW-L-011 |
| Northwind | T-Shirt | Bone White | XL | NOR-TSH-BW-XL-012 |
| Northwind | Hoodie | Midnight Blue | S | NOR-HOO-MB-S-013 |
| Northwind | Hoodie | Midnight Blue | M | NOR-HOO-MB-M-014 |
| Northwind | Hoodie | Midnight Blue | L | NOR-HOO-MB-L-015 |
| Northwind | Hoodie | Midnight Blue | XL | NOR-HOO-MB-XL-016 |
| Northwind | Hoodie | Forest Green | S | NOR-HOO-FG-S-017 |
| Northwind | Hoodie | Forest Green | M | NOR-HOO-FG-M-018 |
| Northwind | Hoodie | Forest Green | L | NOR-HOO-FG-L-019 |
| Northwind | Hoodie | Forest Green | XL | NOR-HOO-FG-XL-020 |
| Northwind | Hoodie | Bone White | S | NOR-HOO-BW-S-021 |
| Northwind | Hoodie | Bone White | M | NOR-HOO-BW-M-022 |
| Northwind | Hoodie | Bone White | L | NOR-HOO-BW-L-023 |
| Northwind | Hoodie | Bone White | XL | NOR-HOO-BW-XL-024 |
| Acme | T-Shirt | Midnight Blue | S | ACM-TSH-MB-S-025 |
| Acme | T-Shirt | Midnight Blue | M | ACM-TSH-MB-M-026 |
| Acme | T-Shirt | Midnight Blue | L | ACM-TSH-MB-L-027 |
| Acme | T-Shirt | Midnight Blue | XL | ACM-TSH-MB-XL-028 |
| Acme | T-Shirt | Forest Green | S | ACM-TSH-FG-S-029 |
| Acme | T-Shirt | Forest Green | M | ACM-TSH-FG-M-030 |
| Acme | T-Shirt | Forest Green | L | ACM-TSH-FG-L-031 |
| Acme | T-Shirt | Forest Green | XL | ACM-TSH-FG-XL-032 |
| Acme | T-Shirt | Bone White | S | ACM-TSH-BW-S-033 |
| Acme | T-Shirt | Bone White | M | ACM-TSH-BW-M-034 |
| Acme | T-Shirt | Bone White | L | ACM-TSH-BW-L-035 |
| Acme | T-Shirt | Bone White | XL | ACM-TSH-BW-XL-036 |
| Acme | Hoodie | Midnight Blue | S | ACM-HOO-MB-S-037 |
| Acme | Hoodie | Midnight Blue | M | ACM-HOO-MB-M-038 |
| Acme | Hoodie | Midnight Blue | L | ACM-HOO-MB-L-039 |
| Acme | Hoodie | Midnight Blue | XL | ACM-HOO-MB-XL-040 |
| Acme | Hoodie | Forest Green | S | ACM-HOO-FG-S-041 |
| Acme | Hoodie | Forest Green | M | ACM-HOO-FG-M-042 |
| Acme | Hoodie | Forest Green | L | ACM-HOO-FG-L-043 |
| Acme | Hoodie | Forest Green | XL | ACM-HOO-FG-XL-044 |
| Acme | Hoodie | Bone White | S | ACM-HOO-BW-S-045 |
| Acme | Hoodie | Bone White | M | ACM-HOO-BW-M-046 |
| Acme | Hoodie | Bone White | L | ACM-HOO-BW-L-047 |
| Acme | Hoodie | Bone White | XL | ACM-HOO-BW-XL-048 |
Every combination of your attribute lists is generated — four brands crossed with three colours and five sizes gives sixty rows, one per variant. Each value passes through its abbreviation rule before it is substituted into the template, and the finished list is checked for collisions, because two products sharing a SKU is the single most expensive mistake in a product catalogue. Everything is built in your browser and your product data is never uploaded.
What is the SKU Generator?
A SKU generator saves you from typing out every variant of every product by hand. Paste your attribute lists — brands, categories, colours, sizes, anything — give each one an abbreviation rule, and this tool crosses them all together.
- Full cartesian product of up to eight attribute lists
- Six abbreviation rules including initials and drop-vowels
- Zero-padded sequence counter with its own start and step
- Automatic duplicate and collision detection with an example
- Warns when the template names an attribute that does not exist
- CSV export with one column per attribute plus the finished SKU
How to use the SKU Generator
- 1
Write your SKU template using {attribute} placeholders and {seq} for the running number.
- 2
Name each attribute, paste its values one per line, and choose an abbreviation rule.
- 3
Add or remove attributes until the grid matches your catalogue.
- 4
Set the sequence start, step and zero padding.
- 5
Check the collision banner is green, then copy the SKUs or download the CSV.
About the SKU Generator
A SKU generator saves you from typing out every variant of every product by hand. Paste your attribute lists — brands, categories, colours, sizes, anything — give each one an abbreviation rule, and this tool crosses them all together. Four brands times three colours times five sizes gives sixty rows, each with its own code built from your template.
The template is plain text with placeholders. Write {brand}-{category}-{colour}-{size}-{seq} and each placeholder is replaced with that attribute's abbreviated value, with {seq} filling in a zero-padded running number you control. Abbreviation rules include first two or three letters, initials of each word, dropping vowels, or leaving the value exactly as typed.
Every finished list is checked for collisions, because two products sharing a SKU is one of the most expensive mistakes in a product catalogue. The whole thing runs in your browser: your product data is never uploaded, and the CSV is written straight to your device.
Frequently asked questions
What is a SKU and how should I structure one?
A SKU is a stock keeping unit, the internal code you use to identify one specific variant. Good ones read left to right from broad to specific — brand, then category, then colour, then size — and end in a number so two similar products can never collide.
How long should a SKU be?
Between eight and sixteen characters suits most catalogues. Short enough to read off a shelf label and type into a till, long enough to encode the attributes that matter. Anything past about twenty characters starts causing errors in warehouses.
Why does the tool warn me about SKU collisions?
Because two different products with the same code will merge in your inventory system, and you will not notice until stock counts go wrong. Collisions usually mean an abbreviation rule is too short — Apple and Apricot both become AP with a two-letter rule.
Should SKUs contain letters, numbers or both?
Both is normal and readable. Avoid characters that some systems treat specially, such as spaces, slashes and quotes. Avoid the letter O next to a zero too, since warehouse staff mistype it constantly.
Can I generate SKUs for thousands of variants at once?
Yes. The tool builds up to 5000 rows in one pass and tells you when your lists cross to more than that. Trim one list, or split the run, and download each batch as CSV to import into your store.
Related tools
Barcode Generator
Generate Code 128 barcodes online with checksum, adjustable bar width and height, optional text label, and PNG download. Free and fully private.
Number Sequence Generator
Generate a numeric list from a start, step and count or end value, with zero padding, prefixes, thousands separators and per-line, CSV, JSON or SQL output.
License Key Generator
Generate software licence keys from a mask like XXXXX-XXXXX-XXXXX-XXXXX, with a Luhn mod N or MOD 97-10 check character so your app can reject typos offline.
Slug Generator
A free online slug maker that turns any title into a clean, SEO-friendly URL slug: lowercase, accents removed, words joined by hyphens. Live preview and copy.
Random String Generator
Generate random strings with a custom length and character sets — uppercase, lowercase, digits and symbols. Create many at once with secure randomness.