To import your products into Shopify with a CSV file, go to Products › Import, download the CSV template provided, fill in one row per product (and one row per additional variant), then upload the file. Shopify shows a preview before you confirm. It's the fastest way to create dozens or hundreds of product pages, migrate from another platform or edit a catalog in bulk. The catch: one badly filled column repeats its mistake across the whole file.
This article is part of our guide to managing your products on Shopify.
What is a Shopify CSV file?
A CSV (comma-separated values) file is a table in plain text: each row is a record, each column a piece of information. You open it in a spreadsheet like any other sheet.
For Shopify, the file follows a precise format: the column headers must match those of the official template, otherwise the information is ignored. That's why you always start from the template, or from an export of your own store.
When to use CSV import
| Situation | Is CSV useful? |
|---|---|
| Fewer than ten products | Not really: manual entry is simpler |
| A catalog of several dozen products | Yes |
| Migrating from another platform | Yes, after converting to the Shopify format |
| Changing prices across a whole catalog | Yes, via export then re-import |
| Recreating a practice store on a real Shopify account | Yes |
The essential columns in the template
The template has a lot of columns, but not all of them are required. Their exact names have changed across template versions (some have been renamed over time): always rely on the template downloaded from your admin. Here's the information you need to know.
| Information | Role |
|---|---|
| Handle (URL handle) | The product's unique identifier, used in the page URL. All rows for the same product share the same handle |
| Title | The product name |
| Description (Body HTML) | The page text, which can contain simple HTML |
| Vendor, type, tags | Used to classify products and fill automated collections |
| Published / status | Indicates whether the product is active or a draft |
| Option names and values | For example Option1 "Size" = "M" |
| SKU, price, compare-at price | Settings for each variant |
| Inventory, quantity tracking | Quantities and the out-of-stock selling rule |
| Weight, requires shipping | Used to calculate shipping rates |
| Image (source, position, alt text) | The image's web address and its order in the gallery |
| SEO title and description | The preview on Google |
Well-filled tags and types in the CSV save a lot of time later: your automated collections fill up as soon as you import.
Variants and images: how the rows work
This is the part that confuses people the most.
- First row of a product: all the general information (title, description, type, tags…) plus the first variant.
- Following rows for the same product: the same handle, general columns left empty, only the option and variant columns filled in.
- Additional images: a row with the same handle, the image URL and its position, everything else empty.
Simplified example for a T-shirt in three sizes:
| Handle | Title | Option1 name | Option1 value | Price | SKU |
|---|---|---|---|---|---|
| organic-cotton-tshirt | Organic cotton T-shirt | Size | S | 25 | TSH-S |
| organic-cotton-tshirt | M | 25 | TSH-M | ||
| organic-cotton-tshirt | L | 25 | TSH-L |
If the logic of options and variants isn't clear to you yet, read our article on Shopify variants first.
Importing the file, step by step
- Export your store first (Products › Export) if it already contains products. That's your backup.
- Go to Products › Import.
- Select your CSV file.
- Choose whether existing products with the same handle should be overwritten or not.
- Run the preview: Shopify shows the first product as it will be created. Check the title, price, variants and images.
- Confirm the import. For a large file, Shopify emails you when it's done.
- Check a few random product pages in the admin and in the store.
Images: already online
The CSV contains links, not files. The images must be publicly accessible on the internet. The simplest solution is to upload them to Content › Files, then copy each URL into the image column. Don't forget alt text either: our rules for product photos explain how to write it.
The most common import errors
- Wrong encoding: accented characters turn into strange symbols. Save as CSV UTF-8.
- Modified headers: a column renamed by mistake is ignored.
- Different handles on the rows of the same product: Shopify creates several products instead of one with its variants.
- General info repeated on variant rows: depending on the case, this creates conflicts or errors.
- Decimal comma vs. decimal point: a spreadsheet set to French (or another European locale) may write "25,90". Check the format the template expects.
- Inaccessible images: private link, typo, deleted image. The product is created, but without a photo.
- Duplicate products after a second import without the overwrite option, with slightly different handles.
After the import, there's often some copy to proofread: our method for writing a product page that sells will help. And remember to set up quantity tracking: it's all in our guide to managing inventory on Shopify.
Checking after the import
Even with a correct preview, always check:
- the number of products created, compared with the number expected;
- a product with variants: are all the combinations there, with the right price and inventory?
- the images: full gallery, correct first image, alt text present;
- the status: draft or active, depending on what you wanted;
- the automated collections: have the products been added?
A mistake spotted on one product is often repeated on all the others: fix the file, then import it again.
Export, edit, re-import: the other use of CSV
CSV isn't just for creating. For bulk changes (price increase, adding a tag, fixing titles):
- Export the relevant products.
- Edit the columns you need in the spreadsheet, without touching the handles.
- Re-import with the option to overwrite existing products checked.
It's powerful, so handle it with care: keep a copy of the original export so you can roll back.
CSV in MerchantLab
At the end of the MerchantLab training, the practice store you've built can be downloaded as a .zip. It includes the products in Shopify import CSV format, the images, the pages, the policies, your customized Dawn or Horizon theme and an export/import guide. That way you can recreate your store on a real Shopify account in a few imports, instead of re-entering everything. Plan details are on the pricing page.
Key takeaways
- Always start from the CSV template downloaded from the admin, or from an export.
- One handle = one product: all its rows (variants, images) share the same one.
- Images are links to files that are already online.
- Save as CSV UTF-8 and check the preview before confirming.
- Export before you import: that's your backup.
Frequently asked questions
What software should I use to edit a Shopify CSV?
A spreadsheet such as Google Sheets, LibreOffice Calc or Excel works fine. The key is to save as a UTF-8 encoded CSV, otherwise accented characters may display incorrectly after the import. Google Sheets handles this without any special setting.
Can a CSV import update existing products?
Yes. If a row has the same URL handle as an existing product and you check the option to overwrite existing products, Shopify updates that product. Without this option, products already in the store are skipped. Always export a backup first.
How do I import images with the CSV?
The file contains the web address of the images, not the images themselves. So they must already be online and publicly accessible. A simple solution: upload them to Content › Files in Shopify, then copy their links into the CSV.
Can I import customers or orders the same way?
Customers can also be imported with a CSV file, using a different template. Past orders, however, can't be imported with the standard tool: you need a dedicated app. For a first catalog, importing products is by far the most useful.

