ToolNimba Browse

🏷️ SKU Generator

By ToolNimba Editorial Team · Updated 2026-06-19

    Set your parts and press Generate SKUs. Everything runs in your browser.

    A SKU (Stock Keeping Unit) is the internal code you use to identify and track each distinct product variant in your inventory. This generator builds clean, consistent SKUs from the parts you choose: a brand prefix, attribute codes for category, color and size, and a sequential or random number, joined by the separator you prefer. Set your pattern once, generate a whole batch, and copy them in one click. Everything runs in your browser, so nothing about your products is sent anywhere.

    What is the SKU Generator?

    A SKU is a short, human-readable code a business assigns to a product so staff and software can find, count and reorder it. Unlike a barcode (UPC or EAN), which is a global identifier you usually buy from a standards body, a SKU is yours to design however you like. A good SKU encodes a few meaningful attributes (what the item is, its color, its size) followed by a number that keeps each variant unique. For example, ACME-TS-BLK-L-001 reads as an Acme black large t-shirt, unit 001.

    The whole point of a SKU is consistency. When every product follows the same pattern (prefix, then category, then color, then size, then a counter), a person can glance at a code and know roughly what it is, and a spreadsheet or point-of-sale system can sort and filter by the parts. That is why this tool builds SKUs from fixed segments joined by one separator: you decide the structure, and every code that comes out follows it exactly.

    There are two common ways to handle the trailing number. A sequential number (001, 002, 003) is tidy and tells you roughly how many items you have created, but it leaks order volume and can clash if two people generate codes at once. A random number avoids guessable, sequential codes and reduces collisions in distributed teams, at the cost of readability. This tool offers both, plus a no-number option for when your attribute codes alone are already unique.

    When to use it

    • Creating SKUs for a new product line before loading it into Shopify, WooCommerce, Square or a spreadsheet.
    • Standardizing an inventory that grew organically, so every variant follows one readable pattern.
    • Generating size and color variants of the same product in bulk (for example S, M, L, XL across three colors).
    • Spinning up placeholder SKUs for a catalog mockup, sample data, or a warehouse layout test.

    How to use the SKU Generator

    1. Enter a prefix (often your brand or company short code, such as ACME).
    2. Fill in the attribute codes you want: category, color, size, and an optional extra field.
    3. Pick a separator (hyphen, underscore, dot, or none) to join the parts.
    4. Choose a number type: sequential (counts up from a start value), random, or no number, and set how many digits.
    5. Set how many SKUs to generate, then press Generate SKUs and copy them individually or all at once.

    Formula & method

    SKU = prefix + sep + category + sep + color + sep + size + sep + number. Empty parts are skipped. number is padded to the chosen digit length: sequential counts up from the start value, random uses crypto random digits.

    Worked examples

    A black large t-shirt for brand Acme, sequential numbering with 3 digits starting at 1, hyphen separator.

    1. prefix = ACME, category = TS, color = BLK, size = L
    2. number = first sequential value 1, padded to 3 digits = 001
    3. join the non-empty parts with hyphens
    4. ACME + - + TS + - + BLK + - + L + - + 001

    Result: ACME-TS-BLK-L-001

    Same product but a random 4-digit number and an underscore separator, uppercase on.

    1. prefix = ACME, category = TS, color = BLK, size = L
    2. number = random 4 digits, for example 7382
    3. join with underscores and uppercase the result
    4. ACME _ TS _ BLK _ L _ 7382

    Result: ACME_TS_BLK_L_7382

    Example attribute codes you can use as building blocks

    AttributeSample valueShort code
    CategoryT-shirtTS
    CategoryHoodieHD
    ColorBlackBLK
    ColorWhiteWHT
    SizeSmallS
    SizeLargeL

    Number type: when to use each

    TypeLooks likeBest for
    Sequential001, 002, 003Small catalogs, readable order, single editor
    Random7382, 1905, 4460Distributed teams, non-guessable codes
    No number(omitted)When attribute codes alone are already unique

    Common mistakes to avoid

    • Putting spaces or special characters in codes. Spaces, slashes and symbols break sorting and trip up some point-of-sale and spreadsheet imports. Keep SKUs to letters, numbers and a single separator. This tool strips anything else from your code fields automatically.
    • Encoding the price or supplier name in the SKU. Prices change and suppliers change, but a SKU should stay fixed for the life of the product. Encode stable attributes (category, color, size) and keep changeable data in other fields of your system.
    • Using too few digits in the number. A 2-digit counter runs out at 99. If you expect hundreds of variants in a category, use 3 or 4 digits so you never collide or have to re-number later.
    • Starting every category at the same low number. Sequential SKUs across different categories can look alike (TS-001 and HD-001). Keep the category code in the SKU so the counter only needs to be unique within its own group.

    Glossary

    SKU
    Stock Keeping Unit, an internal code a business assigns to track a specific product variant in inventory.
    Variant
    A specific version of a product, for example a particular size and color combination, that needs its own SKU.
    Prefix
    The leading segment of a SKU, often a brand or company short code, that groups related products.
    Separator
    The character (hyphen, underscore or dot) that joins the parts of a SKU so they stay readable.
    Barcode (UPC/EAN)
    A global product identifier, usually purchased and scanned, which is separate from your internal SKU.

    Frequently asked questions

    What is a SKU?

    A SKU (Stock Keeping Unit) is a short internal code a business creates to identify and track each distinct product variant, such as a particular size and color. You design the format yourself, unlike a barcode which is a global identifier.

    How do I create a good SKU code?

    Build it from stable, meaningful parts: a prefix or brand code, then attribute codes for category, color and size, then a unique number. Keep it short, use letters and numbers only, one separator, and apply the same pattern to every product.

    What is the difference between a SKU and a barcode?

    A SKU is your own internal code, free to design and used to organize inventory. A barcode (UPC or EAN) is a standardized global identifier, usually purchased, that retailers scan at checkout. A product can have both.

    Should the number be sequential or random?

    Sequential numbers are tidy and readable and suit small catalogs with one editor. Random numbers are harder to guess and reduce clashes when several people create codes at once. This tool supports both, plus a no-number option.

    How long should a SKU be?

    Short enough to read and type, long enough to stay unique. Many businesses use 8 to 16 characters across a few segments. Avoid going so long that staff make errors when entering codes by hand.

    Is anything I enter sent to a server?

    No. The SKU generator runs entirely in your browser. Your prefix, attribute codes and the generated SKUs never leave your device, so it is safe to use with product details you have not published yet.