How the SKU Generator Builds Codes
AnyTool SKU Generator builds stock-keeping unit codes entirely in the browser in two ways. The segment builder takes an ordered list of segments, each one a fixed code (such as a category abbreviation), an attribute word that is abbreviated to a configurable number of letters, or a zero-padded running sequence number; segments are joined by a chosen separator with the broadest attribute first, producing codes like TSH-NIK-BLK-M-001 or ELC-SAM-PHN-128-0001. Every segment is sanitised to letters and digits, optionally uppercased, and look-alike characters (O/0, I/1, L) can be dropped so the code never gets misread on a label or break a CSV import. A live preview shows the next SKU as settings change, and presets cover apparel, electronics, simple sequential and a no-separator scheme.
- Segment builder: fixed code, abbreviated attribute, or padded sequence, in your chosen order
- Broadest attribute first (Category-Brand-Style-…-Sequence) with a configurable separator
- Words abbreviated to N letters; output uppercased; special characters stripped
- Optional drop of ambiguous characters (O/0, I/1, L) for scannable, import-safe codes
- All generation is client-side JavaScript — no server round-trip
