WooCommerce SKU Generator
Build a SKU pattern from a prefix, category code, padded sequential number, and optional random suffix. See a live preview, then generate a batch of sequential SKUs. Runs in your browser.
About the WooCommerce SKU Generator
The WooCommerce SKU Generator builds product SKUs from a fixed pattern so your codes stay consistent across a store. You set a prefix, an optional category code, a sequential number with the padding you want, and an optional random suffix, then pick a separator. A live preview shows the result as you type, and bulk mode produces a numbered list of sequential SKUs you can copy into WooCommerce or a CSV import. Everything runs in your browser, so nothing is uploaded.
How it works
- Set the parts of your pattern: prefix, optional category code, the starting number with its padding, and an optional random suffix.
- Pick a separator (dash, underscore, dot, or none) and a case (uppercase, lowercase, or as entered).
- Watch the live preview and the coloured part strip update so you can confirm the shape before generating.
- Set a bulk count, click Generate, then copy a single SKU from its row or all of them with Copy all.
Features
- Live single preview that updates as you change any field.
- Sequential numbers with selectable zero-padding from none up to five digits.
- Optional random suffix of two to four characters for codes that need to be unique.
- Separator and case options, plus a coloured strip that labels each part of the pattern.
- Bulk mode that builds a numbered list of sequential SKUs with per-row copy and Copy all.
Frequently asked questions
Is my data sent anywhere?
No. The SKUs are built in your browser with plain JavaScript. Nothing is uploaded, stored, or logged.
What does the random suffix do?
It adds two to four random letters and digits to the end of each SKU. Use it when you need codes that are unlikely to collide, for example across variants or separate product batches. The single preview shows the suffix as Xs so it stays stable while you edit; bulk mode fills in real random characters.
How does padding work?
Padding sets the minimum width of the sequential number by adding leading zeros. With three-digit padding, 1 becomes 001 and 42 becomes 042. Numbers longer than the padding are left as they are.
Can I generate many SKUs at once?
Yes. Set a bulk count and click Generate. The tool produces that many sequential SKUs starting from your starting number, up to a maximum of 1000 per run. Use Copy all to grab the full list.
Are these SKUs guaranteed to be unique?
Sequential numbers are unique within a single run. Across separate runs or existing products, check for duplicates before importing, since the tool does not know your current catalogue. Adding a random suffix lowers the chance of a collision.