How to bulk edit SKUs in Shopify
- Export your products from Shopify. In Shopify admin, go to Products → Export, choose the products you want, and export as a CSV for Excel, Numbers or other spreadsheet programs. You need the product export: an inventory export is for a different job and won’t work here.
- Choose the export file here. The editor finds your products, variants and current SKUs. The file is read in your browser and isn’t uploaded to SkipOtter.
- Choose what to update. “Rename every variant” gives every variant a new SKU in your chosen format. “Fill blank SKUs only” leaves existing SKUs alone and fills in the missing ones.
- Review the changes. Each variant shows its original SKU next to the new one. Adjust the format until it looks right.
- Download and import it yourself. Download the edited Shopify CSV, then in Shopify go to Products → Import, tick “Overwrite products with matching handles” and import. Follow Shopify’s import instructions.
Example: fill blank SKUs only
A Linen Shirt has three variants in the export. One already has a SKU; two are blank. With “Fill blank SKUs only” and the default format:
| Variant | SKU in your export | SKU in the downloaded file |
| Sand / M | LS-SAND-M | LS-SAND-M (kept) |
| Sand / L | (blank) | LINENS-SAN-L (filled) |
| Olive / M | (blank) | LINENS-OLI-M (filled) |
With “Rename every variant”, the first SKU would become LINENS-SAN-M as well, so the whole product follows one format.
Why review SKU changes as a CSV?
Shopify’s bulk editor works well for editing SKUs by hand. A CSV round trip lets you generate a consistent set of SKUs for many variants at once, see every proposed change side by side with the original before you import, and keep the original file as a backup.
What stays the same in your file
Only the SKU cells are edited. Other column values are preserved, including:
- every column from your export, in the same order, with the same names (cells may be re-quoted, which spreadsheets and Shopify read the same way);
- product handles, which Shopify uses to match rows to existing products;
- titles, descriptions, prices, option names and values, inventory settings and metafield columns;
- image-only rows, which Shopify uses for extra product photos.
Both current and older Shopify export column names are recognised automatically.
Before you import: a short checklist
- Use a fresh export. If someone changed products in Shopify after you exported, importing an older file can overwrite their changes.
- Keep a copy of the original export. If anything looks wrong, you can import it again to put the old SKUs back.
- Review the proposed changes in the table on this page before downloading.
- Check apps and channels that use SKUs. Inventory, fulfilment, accounting and marketplace apps may match products by SKU. Let them know, or update their mappings, when SKUs change.
- Test a small import first. Export and import a few products, check them in Shopify, then do the rest.
Then print labels for the new SKUs
Once your SKUs look right, go to Barcode labels below the list on this page. The same list can be printed as Code 128 barcode labels straight away. See the barcode label generator for label sizes and printing tips. Creating SKUs for new products that aren’t in Shopify yet? Use the SKU generator.
Frequently asked questions
How do I bulk edit SKUs in Shopify?
Export your products from Shopify (Products → Export), choose the file here, pick “Rename every variant” or “Fill blank SKUs only”, review the changes, then download the edited CSV and import it in Shopify with “Overwrite products with matching handles” ticked.
Will this change anything except SKUs?
Only the SKU cells are edited. Other column values are preserved, including handles, titles, prices, option values, image rows and metafields, and the columns stay in the same order. Keep your original export as a backup anyway.
Can I fill in only the missing SKUs?
Yes. Choose “Fill blank SKUs only”. Variants that already have a SKU keep it, and new SKUs are checked against the existing ones so nothing is duplicated.
How do I import the file back into Shopify?
In Shopify admin, go to Products → Import, upload the downloaded file and tick “Overwrite products with matching handles”. Shopify shows a summary before it applies the changes. Test with a few products first, and see Shopify’s import instructions for the details.
Does it work with old and new Shopify export formats?
Yes. Both the current and the older column names in Shopify product exports are recognised automatically.
I uploaded an inventory export and it was rejected. Why?
This tool needs the product export (Products → Export), not the inventory export. The product export contains the handles and option columns Shopify needs to match your variants.
Are my files uploaded anywhere?
No. The tool runs entirely in your web browser. Your files are read and processed on your own computer, and nothing is sent to a SkipOtter server.
More free tools