Skip to the content
StoreEdit AI Get StoreEdit AI Pro

StoreEdit AI › Blog

How to Bulk Edit SKUs in WooCommerce

Bulk edit WooCommerce SKUs with the CSV importer and the ID column, Quick Edit or a plugin; variation SKUs, the uniqueness rule, and what StoreEdit AI reads.

To bulk edit SKUs in WooCommerce, export the products, change the SKU column, and import the file with Update existing products ticked and the ID column mapped. The built-in bulk edit has no SKU field, and Quick Edit changes one product at a time. WooCommerce 11.2.1 keeps every SKU unique across products and variations. StoreEdit AI cannot change SKUs; it reads them and shows them in its preview.

Bulk editing WooCommerce SKUs at a glance
Built-in bulk edit No SKU field; Bulk actions › Bulk edit leaves every SKU as it is
Quick Edit A SKU field for one product at a time; a SKU another product holds is not saved
CSV importer A new SKU per row, matched by the mapped ID column, with Update existing products ticked
Variations Each variation’s SKU in its parent’s Variations tab or as a CSV row; an empty one shows the parent’s SKU
Uniqueness One SKU per product or variation across the shop; products in the Trash do not hold theirs (WooCommerce 11.2.1)
Bulk-edit plugins WP Sheet Editor and iThemeland’s PBULKiT replace or add to SKUs in bulk, PBULKiT writes new ones from text and variables, and BEAR numbers them in sequence
StoreEdit AI Reads each product’s SKU and shows it on every preview row; changes no SKU and has no filter by SKU pattern

Checked on 23 November 2026 against WooCommerce’s documentation, the source code of WooCommerce 11.2.1, the plugins’ own pages, and the code of StoreEdit AI 0.3.20 and StoreEdit AI Pro 0.3.10.

The CSV importer is the only built-in way to give many products a new SKU each. A bulk-edit plugin does the same inside WordPress, and StoreEdit AI leaves the SKUs to those two routes.

Contents

What is a SKU in WooCommerce?

A SKU in WooCommerce is a stock keeping unit, the code that identifies one product or one variation in the shop. WooCommerce’s product screen describes it as “a unique identifier for each distinct product and service that can be purchased” (its source code, version 11.2.1, checked 23 November 2026). The SKU sits in the Inventory tab of a product and in each variation of a variable product. By default, WooCommerce 11.2.1 applies four rules to it, and an extension can change them.

  • Unique: no two products or variations hold the same SKU, and the product screen and the importer refuse a taken one with “Invalid or duplicated SKU.”.
  • The Trash: a product in the Trash no longer holds its SKU, so another product can take it while it is there. A product restored after that gets its SKU with the first free number added. The variations restored with a variable product keep their SKUs unchanged, so a SKU taken in the meantime is then held twice (WooCommerce 11.2.1). The Trash routes are covered in bulk moving WooCommerce products to the Trash.
  • Variations: a variation with an empty SKU shows its parent’s SKU, without a SKU of its own.
  • Copies: a duplicated product gets the original SKU with a number after the highest one already used, such as TSHIRT-RED-1.

The SKU is a different field from the GTIN, UPC, EAN or ISBN box, which holds a barcode or another identifier unique to the product. The search box on Products › All Products finds products by part of their SKU, and a match on a variation’s SKU lists its parent (WooCommerce 11.2.1). A product without a SKU shows a dash in the SKU column, and the other gaps are found with finding WooCommerce products with missing data. The uniqueness rule decides what the built-in screens accept.

Can the built-in bulk edit change SKUs?

No, the built-in bulk edit cannot change SKUs. WooCommerce’s bulk editing page (checked 23 November 2026) lists the fields of Bulk actions › Bulk edit, from categories and prices to stock and shipping, and SKU is not among them. The same page says Quick Edit “updates one product at a time” and “offers some different fields from Bulk Edit”. Quick Edit has a SKU field, so a few SKUs are changed product by product from the product list. WooCommerce 11.2.1 saves a new SKU from Quick Edit only when no other product holds it; otherwise it keeps the old SKU and shows no message. An empty SKU field in Quick Edit removes the product’s SKU. The product’s own edit screen refuses a SKU that is taken with an error notice, and keeps the old one. Many SKUs at once need a CSV file or a plugin.

How do you bulk edit SKUs with a CSV file?

You bulk edit SKUs with a CSV file by exporting the products with their IDs, writing the new SKUs in the SKU column and importing the file over the same products. The steps follow WooCommerce’s importer page and its code at version 11.2.1 (checked 23 November 2026).

  1. Export the products under Products › All Products › Export, with the ID, Type, SKU and Parent columns, and keep an unedited copy of the file as your way back.
  2. Write each new SKU in the SKU column, and keep the ID column as it is.
  3. Save the file as a UTF-8 CSV, and check the SKUs in the saved file, because WooCommerce’s importer page says spreadsheet applications “can change formatting”.
  4. Import a file of a few rows first, as WooCommerce’s importer page advises a small test before the full file, and check those products.
  5. Import the full file under Products › All Products › Import with Update existing products ticked.
  6. Map ID and SKU on the column mapping screen, set the other columns to Do not import, and run the importer.
  7. Read the import report for failed and skipped rows, then search three new SKUs in the product list.

WooCommerce’s importer page says “WooCommerce matches update rows by ID or SKU”. A product row with a new SKU and no ID matches nothing, and WooCommerce skips it with “No matching product exists to update.”. A variation row with a new SKU, no ID and a mapped Type and Parent becomes a new variation instead (WooCommerce 11.1 and later). Keep the ID column for every row, because it lets the same row carry a new SKU. A row whose new SKU another product holds fails with “Invalid or duplicated SKU.”, and nothing in that row is saved. Swapping the SKUs of two products therefore fails in one import, and a temporary SKU in a first import makes room for the second. The rows are written in file order (WooCommerce 11.2.1), so a row whose new SKU is freed by a row lower in the file fails too. Put the rows that free a SKU first. WooCommerce’s page notes that “WooCommerce does not automatically generate a SKU for a blank CSV value”. A blank SKU cell in a row with an ID removes that product’s SKU (WooCommerce 11.2.1), so leave out the rows whose SKU does not change. The export names a variation’s parent, the upsells, the cross-sells and the grouped products by SKU where they have one, so a file exported before the change points to the old SKUs. Export the products again after the import before you use a file that links products, such as a list from bulk editing WooCommerce upsells and cross-sells. The full CSV routine is in updating WooCommerce products with a CSV file. Variations follow the same import with one row each.

How do you change variation SKUs in bulk?

You change variation SKUs in bulk with the CSV importer, where each variation is a row with its own ID and SKU. For one variable product, the SKUs are typed in its Variations tab, one variation at a time. WooCommerce’s variable product page (checked 23 November 2026) says a variation with a blank SKU “will default to product level SKU”. The shop front shows the parent’s SKU for that variation, while an export leaves the variation’s SKU cell empty, because the variation holds none (WooCommerce’s importer page and its 11.2.1 code). Give each variation its own SKU where a supplier, a warehouse or a feed needs to tell the variations apart. WooCommerce’s importer page (checked 23 November 2026) sets the rule for new variations in an update import. The row needs no ID, Type set to variation, a SKU or a GTIN, UPC, EAN or ISBN, and a variable parent in Parent that is not in the Trash. Any attributes the row names must match the parent’s. Price, stock and the other variation fields are covered in bulk editing WooCommerce variations. Plugins handle the same variations inside WordPress.

Which plugins bulk edit WooCommerce SKUs?

Three plugins that bulk edit WooCommerce SKUs are WP Sheet Editor, BEAR and iThemeland’s PBULKiT. Each entry follows its maker’s own page, checked on 23 November 2026.

  • WP Sheet Editor: its guide “How to Bulk Edit SKU Prefixes in WooCommerce” (updated 10 July 2025) finds the products by a SKU prefix. The guide then swaps the prefix with the Bulk Edit tool’s “Replace this” and “With this”, and says “You can Edit only parent products or Edit only product variations”. The guide says “You can click on Show preview to see the results before apply the changes”. WP Sheet Editor’s guide “WooCommerce: Bulk Search and Replace SKUs in a Spreadsheet” (updated 10 September 2026) edits SKUs in the spreadsheet’s cells. The same guide uses Replace, Append, Prepend, “Copy from other columns”, “Capitalize words” and options that remove text before or after a mark.
  • BEAR: its page “How to generate sequential SKUs in bulk” says “BEAR supports automatic sequential SKU generation during bulk edit”. A pattern such as ABC-1000+ numbers the products in table order, and the page says it “Works with variations too”. The page advises checking first that the number range “does not overlap with any SKUs already existing in your shop”.
  • iThemeland’s PBULKiT: its guide “How To Bulk Edit Product SKUs In WooCommerce” (dated 5 August 2024) lists the Product SKU operators New, Append, Prepend, Delete, Replace and Clear. The operators take text and variables such as the product ID or title, and the guide applies them to variations once they are shown in the table.

The three plugins write new SKUs in WordPress without a CSV file, and WP Sheet Editor’s prefix guide shows the results before they are applied. BEAR’s page asks you to check that new SKUs do not overlap with existing ones. iThemeland’s guide says WooCommerce “will prevent the duplicate from being saved”, and WP Sheet Editor’s guides do not say what happens to a SKU another product holds. The plugins are compared on every field in the best WooCommerce bulk edit plugins. StoreEdit AI takes a different part in this work.

How does StoreEdit AI handle SKUs?

StoreEdit AI handles SKUs by reading them and showing them, and it changes none. Your assistant receives each product’s SKU when it reads a sample of products through the free plugin. Every row of the preview in WordPress shows the product’s SKU next to its value now and its value after. The plugin has no operation that writes a SKU. StoreEdit AI Pro’s custom fields, which an administrator chooses, never offer the SKU, the GTIN, UPC, EAN or ISBN, or WooCommerce’s price, stock, weight, dimension and image fields. A product search through StoreEdit AI matches the title and the descriptions, not the SKU. The behaviour follows the plugins’ code (StoreEdit AI 0.3.20 and StoreEdit AI Pro 0.3.10, OperationType.php, CatalogLens.php, PlanScreen.php and CustomFields.php, checked 23 November 2026).

StoreEdit AI preview list with each product's SKU on its row, here for a 5 % price rise
The StoreEdit AI preview, here for a 5 % price rise: one row per product with its SKU, the value now, the value it would become and a tick box. The SKU column tells the rows apart; it is not a field StoreEdit AI changes.

StoreEdit AI cannot do the following (its code and its WordPress.org page, checked 23 November 2026).

  • Change a SKU, a GTIN, UPC, EAN or ISBN, the weight or the dimensions.
  • Choose products by SKU pattern, price, stock level, date or sales.
  • Set a different price, stock or category per product in one request; StoreEdit AI Pro’s move to the right category is the one exception.
  • Set a price for a single variation.
  • Create products, or delete one for good; with StoreEdit AI Pro it moves products to the Trash, and undo brings them back while they are there.
  • Import or export a CSV, or schedule anything other than a sale’s dates.
  • Edit, crop or generate images, or take one from your computer.
  • Touch customers, single orders, payments, coupons, shipping or settings, write All in One SEO’s fields, or work on a multisite network.

The free StoreEdit AI plugin changes prices, sales, stock, categories, tags, titles and descriptions. StoreEdit AI Pro adds attributes, the right category, status, SEO fields, slugs, images, related products, the Trash and custom fields. Each change is previewed, approved by you and undoable, as set out in the StoreEdit AI documentation and in connecting Claude to WooCommerce. The SKUs themselves stay with the routes above.

Which method fits bulk editing SKUs?

The method that fits bulk editing SKUs depends on how many products change and how the new SKUs are worked out. The table compares the routes of this page.

Method What it changes What you see before it is written How you go back
Quick Edit One product’s SKU at a time The product’s SKU now Type the old SKU again
The CSV importer Each row’s SKU, found by its ID Your spreadsheet Import the export you made before the change
A bulk-edit plugin Replaced, added-to or numbered SKUs for the products you select Depends on the plugin; WP Sheet Editor’s guide names a preview Depends on the plugin
StoreEdit AI No SKU; the SKU shows on every preview row of other changes Every product with its value now and its value after Undo one product or the whole request

The CSV importer suits SKUs that come from a supplier list, and a plugin suits a rule such as a new prefix or a numbered range. Import the unedited export from step 1 with only ID and SKU mapped to go back. A swapped or chained SKU needs the same temporary SKUs or row order as the change. The other product fields are covered in the guide to bulk editing WooCommerce products. All the ways back are compared in undoing a bulk edit in WooCommerce. The questions below repeat the key answers in short form.

Questions

Can you bulk edit SKUs in WooCommerce without a plugin?

Yes, you can bulk edit SKUs in WooCommerce without a plugin, with the CSV importer. Keep the ID column mapped and tick Update existing products, so each row’s new SKU reaches the right product.

Does WooCommerce allow two products with the same SKU?

No, WooCommerce does not allow two products with the same SKU. A SKU held by another product or variation is refused when a product is saved, and a product in the Trash holds none. Variations restored with their variable product skip that check.

Does a variation need its own SKU?

No, a variation does not need its own SKU; without one it takes its parent’s. A new variation in an update import needs a SKU or a GTIN, UPC, EAN or ISBN.

Does WooCommerce generate SKUs automatically?

No, WooCommerce does not generate SKUs automatically, and a blank SKU cell in a CSV gives no SKU, removing the one an updated product had (WooCommerce’s importer page and its 11.2.1 code). WooCommerce adds a number to an existing SKU in two cases: a duplicated product, and a product restored from the Trash whose SKU another product took.

Can StoreEdit AI change SKUs?

No, StoreEdit AI cannot change SKUs, in the free plugin or in StoreEdit AI Pro. Your assistant reads each product’s SKU, and the preview shows it on every row.

Can you search WooCommerce products by SKU?

Yes, you can search WooCommerce products by SKU in the search box under Products › All Products. Part of a SKU is enough, and a variation’s SKU finds its parent product.

Sources

  • WooCommerce, “Bulk Editing Products”, woocommerce.com, checked 23 November 2026.
  • WooCommerce, “Product CSV Importer and Exporter”, woocommerce.com, checked 23 November 2026.
  • WooCommerce, “Variable Products”, woocommerce.com, checked 23 November 2026.
  • WooCommerce source code, version 11.2.1, SKUs in Quick Edit, the product screen, the importer, the exporter, copies and the search: class-wc-admin-post-types.php, wc-product-functions.php, class-wc-product-data-store-cpt.php, class-wc-product-csv-importer.php and class-wc-admin-duplicate-product.php, with abstract-wc-product.php, class-wc-product-variation.php, class-wc-post-data.php, class-wc-meta-box-product-data.php, html-product-data-inventory.php, abstract-wc-product-importer.php, class-wc-product-csv-exporter.php and class-wc-admin-list-table-products.php, checked 23 November 2026.
  • WP Sheet Editor, “How to Bulk Edit SKU Prefixes in WooCommerce” (updated 10 July 2025), wpsheeteditor.com, and “WooCommerce: Bulk Search and Replace SKUs in a Spreadsheet” (updated 10 September 2026), wpsheeteditor.com, checked 23 November 2026.
  • BEAR, “How to generate sequential SKUs in bulk”, bulk-editor.com, checked 23 November 2026.
  • iThemeland, “How To Bulk Edit Product SKUs In WooCommerce (3 Easy Methods)” (5 August 2024), ithemelandco.com, checked 23 November 2026.
  • StoreEdit AI for WooCommerce 0.3.20 on WordPress.org, wordpress.org/plugins/storeedit-ai/, checked 23 November 2026.
  • StoreEdit AI for WooCommerce 0.3.20 and StoreEdit AI Pro 0.3.10, the plugins’ code: the operations (OperationType.php), what your assistant reads (CatalogLens.php), the preview (PlanScreen.php) and the custom fields (CustomFields.php), checked 23 November 2026.

Change the other fields with a preview of every product

The free StoreEdit AI plugin lets your assistant propose price, stock, category, tag and text changes for many products, each row shown with its SKU. You see every product before anything changes, approve the rows you want, and undo the request afterwards.

See how StoreEdit AI works