Skip to main content

Free SKU Generator

SKU codes for your catalogue, with duplicates flagged.

PreviewSOC-NOR-M-CHA-0001

Build SKU codes for a whole catalogue at once. Paste a product list or set the fields once, choose which segments the code contains, and get a table with every duplicate flagged. Nothing is uploaded to a server.

Free, no signup Runs in your browser Duplicates flagged

Codes ready? Next is the catalogue

A SKU is only useful once something is tracking it.

Grigora Commerce holds the catalogue, the variants and the orders on the same platform as your website and newsletter, so the codes you just generated stay attached to real stock instead of a spreadsheet nobody updates.

How to generate SKU codes

Four steps from product list to a checked set of codes.

1

Add your products

Paste or upload a CSV with name, category, brand, size and colour columns, or switch to a single run and set the fields once.

2

Build the pattern

Pick which segments appear, how many characters each one takes, the separator, and the sequence padding.

3

Read the duplicates

Any code that repeats an earlier one is flagged with the row it collides with, along with codes that ran too long.

4

Copy or export

Copy every code as a plain list, or download a CSV with the SKU sitting next to the product it belongs to.

How to generate SKUs, step by step

Real screenshots of the current tool, using sample inputs. Long results are shown as a preview.

  1. 1

    Paste your product list

    One product per line, or a CSV with columns for category, brand, size and colour. Load the sample list to see the shape it expects.

    Free SKU Generator in its default state before the walkthrough
  2. 2

    Set the pattern once

    Choose which attributes go into the code, how many characters each one contributes and the separator between them. Every row then follows the same scheme.

    Free SKU Generator with sample input or settings in place
  3. 3

    Review the result

    Select Generate SKUs to run the tool. This screenshot shows the result returned for the sample input.

    Free SKU Generator showing its actual result with sample inputs

When merchants use it

Six moments a generated scheme beats codes typed by hand.

Starting a catalogue from scratch

Set the scheme once at the beginning. Retrofitting SKUs onto a live catalogue means reprinting every label.

Adding a new season or range

Keep the existing segment widths so new codes sort next to the old ones in every export.

Moving off spreadsheet codes

Ad hoc codes typed by hand collide. Generating them from the same rules makes collisions visible.

Splitting a product into variants

One product with five sizes and three colours needs fifteen distinct codes, not one shared one.

Preparing a stocktake

Warehouse staff read codes aloud. Short, consistent codes cut the miscounts that follow from long ones.

Onboarding a supplier feed

Supplier codes rarely match yours. Generate your own and keep theirs in a separate column.

Exporting a product list from your platform

Where the file lives, by platform.

Shopify

  1. Open Products, then Export, and choose CSV.
  2. Keep the Title, Type, Vendor and Option columns.
  3. Paste the file in above, then import the codes back into the Variant SKU column.

WooCommerce

  1. Use Products, then Export.
  2. Include Name, Categories and any attribute columns.
  3. Generate here, then re-import matching on product ID.

Grigora Commerce

  1. Open your product catalogue.
  2. Export products as CSV.
  3. Generate the codes and paste them back into the SKU field.

Manual spreadsheet

  1. One variant per row, header in row one.
  2. Name the columns name, category, brand, size, colour.
  3. Save as CSV with UTF-8 encoding and paste it here.

Grigora vs. other SKU generators

Side by side.

CapabilityGrigoraWeb generatorsSpreadsheet formulasInventory apps
Runs without uploadYes, in your browserUploads your listUploads your listData lives in the account
Duplicate detectionEvery code checkedRarelyNoOn save only
Custom segment widthsPer segmentFixedFixedPlan dependent
Bulk from a CSVYes, up to 5,000 rowsOne at a timeCapped on free tierYes
Signup requiredNoNoYesYes

Common SKU mistakes and how to fix them

Eight problems that surface months after the codes are printed.

Two products share one SKU

Cause: The pattern leaves out the field that actually differs, usually size or colour.

Fix: Add the missing segment, or keep the sequence on so every row ends in a unique number.

Codes break in Excel

Cause: A numeric code like 0042 loses its leading zeros when the file opens.

Fix: Keep a letter prefix in the pattern. A code that starts with a letter is never read as a number.

Spaces inside the code

Cause: Category or colour values pasted in with spaces.

Fix: This tool strips spaces and punctuation already. Check the source data if a code looks wrong.

Codes too long to read out

Cause: Every segment set to five or six characters.

Fix: Three characters per segment is usually enough. Anything past thirty two gets misread on a shelf label.

Sequence restarts and overwrites

Cause: A second batch generated with the sequence starting at 1 again.

Fix: Set the start number to one past your current highest code before generating the next batch.

Slashes or hash marks in codes

Cause: A separator copied from an old scheme.

Fix: Use a hyphen, an underscore or nothing. Slashes break URLs and some barcode formats.

Padding runs out

Cause: Three digits of padding on a catalogue heading past 999 products.

Fix: Pad to four or five digits now. Widening it later changes every code you already printed.

Nothing generated for a row

Cause: The row is blank in every field the pattern uses.

Fix: Fill the source data, or enable the sequence so the row still gets a code it can be identified by.

Numbers worth fixing before you print labels

The constraints that decide whether a scheme survives growth.

5
Segments the builder can combine: prefix, category, brand, size, colour, plus a sequence
8-16
Character range that stays readable on a shelf label and in a spreadsheet
5,000
Rows this tool will process from a single pasted or uploaded list
0
Rows uploaded to a server by this tool

Frequently asked questions

Ten answers about SKU codes.

A stock keeping unit is the internal code you give one sellable variant, so a medium charcoal sock and a large charcoal sock are two SKUs even though they are one product.
Readable segments joined by a separator, ordered from broad to narrow: category, brand, then the attributes that vary, then a sequential number.
Eight to sixteen characters suits most catalogues. Short codes collide once you pass a few hundred products, and codes past about thirty two characters get misread when warehouse staff read them aloud during a count.
Yes. Two products sharing one code means their stock is counted as a single pool, so one sells out invisibly while the other appears in stock.
No. Prices change and costs are confidential, but a SKU is meant to stay fixed for the life of the product. Encoding either forces you to reissue codes, and a code printed on a shelf label should never leak a margin.
No. Parsing and generation happen entirely in your browser using JavaScript. Nothing is sent to a server, which matters because a product list usually carries suppliers, costs and ranges you have not announced yet.
CSV and TSV. Headers can be in any order and use the usual alternatives such as color for colour or vendor for brand. A file with no header row is read positionally as name, category, brand, size, colour.
Yes, as long as you keep the segment widths and the separator identical and set the sequence start to one past your highest existing number.
Within your own systems, yes. Every code has to point at exactly one sellable variant. Including a brand segment is the usual way to keep two suppliers from producing the same code for different goods.
A SKU can be encoded in a Code 128 barcode for internal use, which is what most warehouse label printers do.

Related free tools

Other utilities that pair with the SKU Generator.

Sell from the site you already run

Catalogue, variants, checkout and orders in one place. Try it free for 14 days, no card needed.

Start building free