Available for new ecommerce projects $1.5M+ in GMV & sales driven across 5 marketplaces
Guide · Shopify product data

Shopify product CSV import,
explained.

How Shopify reads a product CSV, how to structure products with variants, and how to fix the errors that make imports fail - from someone who imports large multi-variant catalogs for a living.

By Gaurav KiteUpdated October 20268 min read

Before you start: download Shopify's current sample product CSV from Products → Import in your admin and copy its header row exactly. Shopify has renamed some headers over time, so most tutorials (this one included) use the classic names like Handle and Variant Price - match whatever your sample file uses.

How Shopify reads a product CSV

The single most important idea: Shopify groups rows into products by the Handle column. Every row with the same handle belongs to the same product. The first row for a handle carries the product-level details (title, description, vendor, type, tags). Each following row with that handle adds another variant or another image.

A handle is the product's URL slug - lowercase, words separated by hyphens, and unique across your store. salon-repair-shampoo becomes yourstore.com/products/salon-repair-shampoo.

Products with variants

A product can have up to three options (for example Size, Colour and Material). The option names go in Option1 Name, Option2 Name and Option3 Name on the first row. Each row then gives the option values for one variant.

Here's a shampoo sold in two sizes. Notice that the second row repeats only the handle and the variant-specific fields:

HandleTitleOption1 NameOption1 ValueVariant SKUVariant PriceVariant Barcode
salon-repair-shampooSalon Repair ShampooSize300 mlSRS-30018.99(UPC)
salon-repair-shampoo1 LSRS-100039.99(UPC)

A product with no variants still needs an option: use Title as the option name and Default Title as the value. That's how Shopify represents a single-variant product.

Every combination of option values must be unique within a product. Two rows that both say Size = 300 ml under the same handle will make the import fail.

Adding extra images

The first image goes in Image Src on the product's first row. For more images, add extra rows that contain only the handle, the image URL and its order:

HandleImage SrcImage PositionImage Alt Text
salon-repair-shampoohttps://…/shampoo-front.jpg1Salon Repair Shampoo bottle, front
salon-repair-shampoohttps://…/shampoo-back.jpg2Salon Repair Shampoo bottle, back label

To show a specific photo when a shopper picks a variant (useful for shades and colours), put that image's URL in the variant row's Variant Image column. Image URLs must be publicly accessible - Shopify downloads them during the import.

The columns that matter most

ColumnWhat it does
HandleGroups rows into one product and sets the URL. Must match exactly on every row of the product.
TitleProduct name. First row only.
Body (HTML)Product description. HTML is allowed.
Vendor / Type / TagsBrand, product type and comma-separated tags - used by filters and automated collections.
Published / StatusTRUE/FALSE for the online store, and active, draft or archived. Import as draft if you want to review first.
Option1–3 Name / ValueVariant options. Names on the first row; values on every variant row.
Variant SKU / BarcodeYour stock code and UPC/EAN. Barcodes matter for Google Shopping, review apps and marketplaces.
Variant Price / Compare At PriceSelling price, and the higher "was" price if the item is on sale.
Variant GramsWeight in grams, used for shipping rates.
Variant Inventory Tracker / Qty / Policyshopify to track stock, the quantity, and deny or continue for selling when out of stock.
SEO Title / SEO DescriptionThe title and meta description Google shows. Worth filling in for every product.

Running the import

  1. Save your file as CSV UTF-8 - not .xlsx. UTF-8 keeps accents and special characters intact.
  2. In Shopify admin, go to Products → Import and upload the file.
  3. If you're updating existing products, tick Overwrite products with matching handles. Values in the columns you include will replace what's in the store, so include only the columns you mean to change.
  4. Check the preview, run the import and wait for Shopify's confirmation email.
  5. Open a few imported products on the storefront and check variants, prices and images before importing the rest.

Product CSV files can be up to 15 MB. For very large catalogs, split them into batches - it also makes errors easier to find.

Common errors and fixes

Variants imported as separate products

The handles don't match exactly - a trailing space, a capital letter or a typo is enough. Make every row of a product use an identical handle.

Barcodes turned into numbers like 1.23457E+11

Excel converts long numbers to scientific notation and drops leading zeros. Format the barcode column as Text before pasting data in, or edit the file in Google Sheets and download it as CSV.

"Options are not unique" or duplicate variant errors

Two variant rows under one handle have the same combination of option values. Each variant needs a different value set.

Images missing after import

The URLs aren't public (for example, a private Google Drive link) or they redirect to a login page. Host images somewhere that serves the file directly and test the URL in a private browser window.

Weird characters in titles and descriptions

The file wasn't saved as UTF-8. Re-save it as CSV UTF-8 and import again.

Stock levels didn't update

If you stock products at more than one location, update quantities with the separate inventory CSV (Products → Inventory → Import), which lets you set stock per location.

Pre-import checklist

  • Header row copied from Shopify's current sample CSV
  • One identical handle for every row of each product
  • Option names on the first row; unique option values on every variant row
  • Barcode column formatted as text - no scientific notation
  • All image URLs public and loading
  • SEO title and description filled in
  • Saved as CSV UTF-8, under 15 MB
  • Tested with a small batch first

Want a ready-made file? Download the free Shopify product CSV template with single-product and variant examples already filled in.

Got a big or messy catalog? I build Shopify CSV pipelines for multi-brand stores with thousands of variants. See Shopify catalog & CSV automation or get a quote.

Keep reading

Related work.

Next step

Let's grow your store.

Tell me about your products and channels - I'll reply within 24 hours with a clear plan.

Get a quote → WhatsApp me →