Shopify to WooCommerce product CSV converter
Drop the product CSV file that Shopify's export makes, and get a file that WooCommerce's own importer takes as it is. Free, with no sign-up. Your file stays on your computer.
Step 1: drop your Shopify product export
This tool needs JavaScript, which is switched off in this browser. It runs on this page only and sends nothing.
No export at hand? See what the tool does with one:
The sample is made up: seven example products of no real shop, among them a T-shirt in two colours and two sizes, a mug on sale, a draft and an archived product. Its picture addresses lead nowhere, so it is for looking at, not for importing. The button fetches it from this site and reads it here, as it would read your own file.
No file yet? Export it from Shopify first, as the steps below show, or try the tool with a sample export.
Step 2: check the products
Converted with the settings at the end of step 1. Change one there: the file for WooCommerce is made again at once. The rows here show no weights or categories, so only a change to archived products or the pictures shows in this step.
Worth a look before you import
Step 3: import it in WooCommerce
The new file names the product pictures by their addresses at Shopify, and WooCommerce fetches them from there while it imports. So import before you close the Shopify shop.
- In your WordPress admin, go to Products → All Products and select Import at the top.
- Choose the file you downloaded, whose name starts with
woocommerce-products-from-shopify. Leave "Update existing products" empty: the file makes new products. Select Continue. - On the Column mapping screen, each column should stand at the field of the same name. Check one: the column
Weight (kg)must stand at Weight. If it says "Do not import", your shop counts weight in another unit: go back, choose that unit above, and download again. - Your file has barcodes. WooCommerce does not match their column by itself: set
GTIN, UPC, EAN, or ISBNto GTIN, UPC, EAN, or ISBN. - Select Run the importer, and keep the page open until it has finished. With pictures it takes a while: WooCommerce fetches each one.
- The screen then says Import complete! with the number of products and variations imported. If it lists products that failed, the importer names the reason for each: most often a picture it could not fetch. Those products, and only those, are not in the shop yet.
Import the file once. If you run it again, WooCommerce skips every product and variation whose SKU is already in the shop, but makes a second copy of each variation without a SKU. To import products that failed, keep only their rows: open the file in a plain text editor, not a spreadsheet, delete the other lines but the first, and import that.
What comes across: each product with its variants, prices, sale prices, stock, weights, images, tags and categories. You check the rows in step 2, before you download.
Your file stays on your computer. This page reads it in your browser and makes the new file there. The file is not uploaded, stored or counted: the page sends nothing of yours anywhere while you use it. Once the page has loaded, it works with your internet connection switched off. Only the sample button needs the connection, to fetch its made-up file from this site.
Why WooCommerce can't take Shopify's file as it is
The two files are built differently. Shopify writes each variant of a product as a row of its own under the product's handle, and each extra picture as a row that holds nothing but the picture. WooCommerce wants one row for the product, with every value of every option, and then one row for each variation that names its product. Shopify's price is what customers pay, and its "compare-at price" the old one struck through; WooCommerce calls these the sale price and the regular price. Shopify weighs in grams; WooCommerce in the unit your shop is set to.
WooCommerce's importer does recognise a Shopify file with Shopify's older column names, and maps some columns by itself. We tried that in a test shop with WooCommerce 11.3.1: each variant became a separate product, the extra variants and the picture row became drafts named "Product", no product got a price unless it was on sale, 340 grams became 340 kg, and a draft product went live. Shopify's newer column names it does not recognise at all. This page does the rebuilding that the importer leaves out.
How to export the products from Shopify
- In your Shopify admin, go to Products and select Export.
- Choose All products, and CSV for Excel, Numbers, or other spreadsheet programs.
- Select Export products. Shopify sends the file by email, or downloads it at once if the shop is small. Drop it in the box above as it is: there is no need to open it first.
What the tool does with each product
- Products without options
- A Shopify product with one variant whose option is "Default Title" becomes a simple product, with that variant's SKU, price, stock and weight.
- Products with options
- Up to Shopify's three options, such as Color and Size, become the product's attributes, with every value that a variant uses, and each variant becomes a variation with its own SKU, price, stock, weight and picture. A value with a comma in it, such as "Fox, Owl", stays one value.
- The product's own SKU
- Shopify gives SKUs to variants only. In WooCommerce a product with variations needs one of its own, for its variations to name it, so it gets its Shopify handle, such as
organic-tee. If a variant already has that SKU, a number is added. The tool makes up no other SKU. - Variants without a SKU
- They import, and the page lists them. Give each one a SKU in WooCommerce afterwards if you will update products by file or with a tool that finds them by SKU. A SKU that stands on more than one variant stays on the first: WooCommerce takes each SKU once, and would refuse the others.
- Prices and sales
- Where the compare-at price is higher than the price, the compare-at price becomes the regular price and the price the sale price. Otherwise the price is the regular price. The sale has no end date: Shopify has none to give.
- Numbers with a thousands mark
- A number typed by hand, such as 1,500 or 1.500, is read the way the rest of the file writes decimals: in a file with prices such as 29.95, as Shopify writes them, 1,500 is fifteen hundred and 1.500 one and a half; in a file saved with prices such as 29,95, it is the other way round. Stock is always a whole number, so 1,500 and 1.500 are fifteen hundred there. Where the file leaves it open, the page names the value for you to check before you import.
- Stock
- Where Shopify tracks a variant's stock, WooCommerce manages it with the same number, and "continue selling when out of stock" becomes "allow backorders". Where Shopify doesn't track it, the product is in stock, with stock management off. The file never leaves the stock cell empty for a product whose stock Shopify counts. A shop with several Shopify locations exports no single number: the page then names the products whose stock you set after the import.
- Drafts, archived and hidden products
- Products that are drafts in Shopify, or archived, or not published on the online store, come in as drafts, which your customers don't see. Archived products can also be left out.
- Pictures
- All the product's pictures, in Shopify's order, the first as the product image and the rest as its gallery. A variant's own picture goes to its variation. WooCommerce downloads each one into your media library during the import; a picture it can't fetch fails that product only.
- Weight, tax and shipping
- Grams are converted to your shop's unit. A variant that Shopify charges no tax on gets the tax status "None", and a gift card or a variant that needs no shipping becomes virtual.
- Description, tags and barcodes
- The description comes over with its formatting, tags as tags, and a barcode as WooCommerce's GTIN, UPC, EAN or ISBN, where it is one: WooCommerce refuses a product for any other value, so the tool leaves such a barcode out and names it.
- What stays behind
- Customers, orders, gift card balances, discount codes, collections, SEO titles and descriptions, metafields, and the addresses of your old product pages. Plan redirects from the old addresses, which start with
/products/, to the new ones. - Both kinds of Shopify file
- Shopify renamed the columns of its product file: older exports say "Handle", "Variant SKU" and "Variant Price", newer ones "URL handle", "SKU" and "Price". The tool reads both, and makes the same file from each.
How we know: Shopify's columns come from its help page "Using CSV files to import and export products", and WooCommerce's from its page "Product CSV Importer and Exporter", its sample file and the source code of WooCommerce 11.3.1's importer. We ran this tool's file through that importer in a test shop: every product, variation, price, sale, stock, weight, category, tag and picture came in as the Shopify file had it. Your shop's version or a plugin can still behave differently, so open a few products after the import, variations too.
Questions
Does this move customers and orders too?
No: products only. Paid migration services move customers and orders as well, and WooCommerce's own guide to moving from Shopify names the options.
My shop has thousands of products
The page reads large exports, and WooCommerce imports the file in batches, so a long import is no problem in itself. Pictures make it slow: WooCommerce fetches each one. Keep the import's page open until it says it is complete.
The mapping screen shows a column at "Do not import"
For the weight column, the unit chosen above differs from your shop's: choose your shop's unit and download again. For the barcode column, set it by hand, as step 3 says. Any other column should match by itself in an English admin; in another language, set each column to the field of the same name.
After the move: your products in a Google Sheet
Once the products are in WooCommerce, prices and stock change week by week. Stockrows is our own tool for that, and it is a paid one. Besides its browser editor it comes as a Google Sheet: a menu in the sheet pulls your products, variations included, straight from the shop, and sends the prices and stock you change back to it, with a preview of every change first. Pulling is free; sending changes back is the paid part. See what the free part does.
It has a 7-day free trial with no card. The order page has the trial, the plans and how to order.
See a bulk price change work first, with nothing to install. One button opens a throwaway WooCommerce shop in your own browser, on our free plugin's Change prices page: raise a category's prices by a percentage, see every new price, save, and undo. It opens in about 20 seconds. No sign-up, no keys.
It opens in a new tab on WordPress Playground, WordPress.org's sandbox. For your own shop afterwards: the Stockrows editor, with a 7-day free trial and no card.