Fix "Invalid or duplicated SKU" in a WooCommerce import

Exact error message

  • A product with this SKU already exists.
  • Invalid or duplicated SKU.

WooCommerce skips a row when its SKU is already taken, either by another row in the same file or by a product already in your store. If you meant to update those products, tick "Update existing products" in the importer. If not, every SKU must be unique: the tool lists each duplicate in your file so you can fix them before importing.

Wording and rules verified on

Fixed in your browser – your file never leaves your device.

Files over 50 rows: 1 credit each ($0.75–$1 depending on pack), no subscription · See prices

Several files? Select or drop them together to fix them all at once.

No file handy? Try a broken sample

Sample files with typical import errors, loaded in your browser. Fixing and downloading them is free.

Why it happens

Both messages come from WooCommerce's own code. "A product with this SKU already exists." appears when you import without "Update existing products" and the SKU is already used in your store. "Invalid or duplicated SKU." comes from saving the product, when another product or variation already has that SKU.

SKUs must be unique across all products and variations, not just within one product.

  • The same SKU on two rows of the file, often a parent and its variation, or two variations.
  • A product with that SKU already in the store, imported without "Update existing products".
  • A draft or private product in the store that still holds the SKU.
  • A spreadsheet that turned SKUs such as 00123 into 123, or long numbers into 1.23E+12, so two different SKUs became identical.

How to fix it manually

Excel

  1. Select the SKU column, then Home → Conditional Formatting → Highlight Cells Rules → Duplicate Values.
  2. Make each highlighted SKU unique, or delete the duplicate row.
  3. Format the SKU column as Text before pasting, so leading zeros survive.

WooCommerce

  1. To update products that already exist, tick "Update existing products" on the importer's first screen. Rows are matched by ID or SKU.
  2. Search the products list for the SKU, including drafts, to find which product holds it.

Before and after

Before
Type,SKU,Name,Parent,Attribute 1 value(s)
variable,BEANIE,Wool beanie,,
variation,BEANIE-RED,,BEANIE,Red
variation,BEANIE-RED,,BEANIE,Blue
After
Type,SKU,Name,Parent,Attribute 1 value(s)
variable,BEANIE,Wool beanie,,
variation,BEANIE-RED,,BEANIE,Red
variation,BEANIE-BLUE,,BEANIE,Blue

A copied row kept the SKU of the red variation. WooCommerce would skip the blue one. You decide which SKU is right; the tool shows you where.

Fix it automatically

  • Finds every SKU used more than once in the file and shows all the rows that share it.
  • Flags variations without a SKU or GTIN and can generate SKUs for them from the parent and attributes.
  • Leaves duplicate SKUs for you to resolve, because only you know which product the SKU belongs to.
  • Checks that every Parent points to a SKU in the file.

Checking and the preview are free. Downloads are free up to 50 rows; a larger file costs 1 credit.

Choose a file

The file is read and repaired inside your browser. Nothing is uploaded: only the row count and the platform are ever sent to us, so supplier prices and customer data stay private.

Frequently asked questions

Does the tool check SKUs already in my store?

No. It only sees your file, which never leaves your browser. If the file has no duplicates but WooCommerce still reports one, the SKU is taken by a product in the store: update it with "Update existing products", or change the SKU.

Can a product have no SKU?

A simple or variable product can. A new variation needs a SKU or a GTIN, UPC, EAN, or ISBN, otherwise WooCommerce skips it with "A new variation cannot be created without a SKU or a GTIN, UPC, EAN, or ISBN."

How much does it cost?

Checking a file and previewing the fixes is free. Downloading the fixed file is free up to 50 rows. A larger file costs 1 credit, and for 24 hours you can download the same file again in another format or encoding at no extra cost. No subscription needed; agencies that fix files every month can choose Pro: 300 files a month for $19.