Skip to main content

Free SKU Generator

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

1. Add your products

A CSV or TSV list, or one set of fields repeated as a run.

2. Build the pattern

Each segment is shortened to the width you set. Turn one off and any two products that only differed by that field will now collide.

Groups the catalogue so codes sort by department.

Keeps two suppliers from producing the same code.

Without it, every size of one product shares a code.

The other attribute that usually needs its own code.

The only segment that guarantees uniqueness. Pad to four digits or more so codes keep sorting correctly past 999 products.

Pattern previewSOC-NOR-M-CHA-0001from Merino Crew Sock, Socks, Northbound, M, Charcoal

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 tool, taken while building codes for seven products.

  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.

    SKU Generator showing an empty product list box beside the SKU pattern builder
  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.

    SKU Generator with a sample product list loaded and the pattern segments configured
  3. 3

    Copy or export the codes

    Each code is checked against the others as it is built, so a duplicate is flagged here rather than discovered inside your inventory system.

    Results table showing 7 rows, 7 unique SKUs and 0 duplicates, with codes such as SOC-NOR-M-CHA-0001

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.

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, starting free.

Start building free