Data and store tasksShopifyUpdated 7 min read

How to bulk upload products to Shopify with a CSV file

Bulk upload products to Shopify with a CSV file: use the sample template, set up handles, variants, image URLs and prices, and fix the most common errors.

Quick answer

Download Shopify’s sample product CSV, fill in one row per product variant (rows for the same product share the same URL handle), and save the file as a UTF-8 CSV. Then go to Products > Import in your Shopify admin, add the file and review it before you import. Try a small file of about 5 products first, check the results, then import the rest.

Why CSV imports go wrong

  • Column names that do not match

    A CSV (comma-separated values) file is a plain spreadsheet. Shopify reads its first row as the column names, and they are case-sensitive. A renamed or misspelled heading, or a column from another platform’s export, can make the import fail or skip data.

  • Variants not linked to their product

    Each variant needs its own row, and every row for one product must share exactly the same URL handle. One typo in a handle creates a separate product.

  • Images Shopify cannot reach

    Shopify downloads each image from the address in your file. Links that need a login, point to a private folder or open a web page instead of the image file itself will fail.

  • The wrong file encoding

    Encoding is how a file stores letters and symbols. Shopify needs UTF-8. A file saved another way can turn accents and symbols into strange characters, and curly quotes can cause an “Illegal quoting” error.

  • A file that is too big

    A product CSV can be at most 15 MB. Bigger catalogs need to be split into several files.

How to upload products, step by step

  1. Step 1: Download Shopify’s sample CSV

    In your Shopify admin, go to Products and click Import. The import window has a link to download a sample CSV, and the same file is in the product CSV guide in the Shopify Help Center. Build your file from it, so your column names match exactly what Shopify expects.

  2. Step 2: Fill in the URL handle and Title

    The URL handle is the product’s unique name in your store and the end of its web address, for example cotton-shirt. It cannot contain spaces, so use lowercase words joined by hyphens. Title is the product name customers see, and it is the only column a new product must have: for a product with no variants, Shopify makes the handle from the Title if you leave it blank. Once a product has variants, every row needs the URL handle. Older templates and many tutorials call the handle column just Handle, and Shopify still accepts the older column names.

  3. Step 3: Add one row per variant

    A variant is one version of a product, such as a size or a color. The first row for a product holds all its details. Each extra variant gets its own row with the same URL handle, and you can leave Title, Description, Vendor and Tags blank on those rows.

    Put the option’s name in Option1 name (for example Size) on the first row, and each variant’s choice in Option1 value. A product can have up to three options, using the Option2 and Option3 columns. Shopify’s own sample file is laid out like this:

    URL handleTitleOption1 nameOption1 valuePrice
    cotton-shirtCotton ShirtSizeSmall25.00
    cotton-shirt(blank)(blank)Medium25.00
    cotton-shirt(blank)(blank)Large27.00
  4. Step 4: Add image links

    Put the image address in Product image URL on the product’s first row. For more images, add extra rows with the same URL handle and one image address each. Every link must be public, start with https://, open the image file itself and need no password. Shopify copies the images into your store during the import, so the links only need to work while it runs. Older templates call this column Image Src.

  5. Step 5: Set prices and stock

    Put each variant’s price in Price as a plain number, such as 25.00. A blank price becomes 0.00. To track stock, fill in Inventory tracker and put the number in stock in Inventory quantity. That column only works for stores with one location; with several locations, use Shopify’s separate inventory CSV for stock. Older templates call these columns Variant Price and Variant Inventory Qty.

  6. Step 6: Save the file as UTF-8 CSV

    In Excel, use File > Save As and choose “CSV UTF-8 (Comma delimited)”. Google Sheets saves CSV files as UTF-8 already: use File > Download > Comma-separated values. Do not sort the rows in Excel or Numbers once images are in, because sorting can break the link between products and their images.

  7. Step 7: Choose your import options

    The import window has a box called “Overwrite products with matching handles”. Leave it off when you are adding new products: any row whose handle already exists in your store is skipped. Turn it on only when you mean to update existing products. Every column in your file then replaces the current value, and a blank cell in an optional column clears that value. Untick “Publish new products to all sales channels” if you want them on your online store only.

  8. Step 8: Import a 5-product test file first

    Copy the header row and the rows for about 5 products into a new file, including at least one product with variants and one with several images. Go to Products > Import, click Add file, choose the test file and click Upload and continue. Review the details, then click Import products. When it finishes, open each test product and check the title, variants, prices, stock and images.

  9. Step 9: Import the rest

    When the test products look right, import the full file. If it is over 15 MB, or the upload times out, split it into smaller files and import them one at a time.

When to get help

Get help if your products come from a supplier spreadsheet, a PDF or another platform’s export and need reshaping first, if you have hundreds of products with variants, or if your test import keeps failing. Dawnwire prepares and uploads product files like this, from $25 for a small task.

Frequently asked questions

Why did my variants import as separate products?

The rows did not share exactly the same URL handle. Check each variant row for typos, capital letters or extra spaces in the handle. Fix them, delete the extra products that were created, and import those products again.

Why did some images not upload?

Shopify could not download them. Open each image address in a private browser window: it should show just the image, with no login page. Share links from cloud storage often open a preview page instead of the image file. Fix the links and import those products again.

Why do I see strange characters like é in my products?

The file was not saved as UTF-8. Save it again as CSV UTF-8 and import the affected products again with “Overwrite products with matching handles” turned on.

What if Shopify says my file has errors?

Read the message closely, because it usually names the row or column. Common causes are headings that do not match the template exactly (they are case-sensitive), variant rows with a missing URL handle, and curly quotes copied from Word or a website, which cause an “Illegal quoting” error.

Can I delete products with a CSV?

No. A CSV import can add and update products but cannot delete them. To remove products in bulk, select them on the Products page in your admin and delete them there.

Next step

Rather hand the spreadsheet over?

Send us your product list in whatever shape it is in. Dawnwire prepares the CSV and uploads it, from $25 for a small task.

Keep reading

All guides →