How to Import Products to Shopify from a CSV File (2026): Columns, Errors and Fixes

To import products to Shopify from a CSV file, start from Shopify's own template, save the file as UTF-8, keep each product's variant rows under one URL handle, and upload it from Products, then Import. Most failed imports trace back to four things: wrong encoding, wrong headers, broken variant rows, or image URLs Shopify can't download.
This guide uses the column names in Shopify's current template, explains the overwrite setting that catches most people out, and gives the fix for each error message Shopify shows. It was checked against Shopify's Help Center on November 21, 2026. If you are moving a whole store rather than a catalog, read our step-by-step guide to migrating to Shopify first.
What is a Shopify product CSV file?
A Shopify product CSV is a spreadsheet saved as comma-separated text, where each row is a product or one of its variants and each column is a field such as Title, Price, or SKU. Shopify uses the same format for exports and imports, so an export from your own store is the best example file you can get.
Rows that share a URL handle belong to the same product. The first row carries the product details, and the rows below it carry the extra variants and images. Shopify's CSV guide says a UTF-8 encoded CSV is the only file format that can be used to import to or export from Shopify.
The CSV covers products only. It can't delete products (use bulk actions in the admin for that), and it doesn't carry customers, orders, or reviews, which need their own imports or apps.
Which columns does a Shopify product CSV need?
For new products, the only required column is Title, and you also need URL handle as soon as a product has variants. To update existing products, Shopify requires both URL handle and Title. Every other column is optional, and a blank cell gets Shopify's default value.
Shopify renamed many headers in its current template. Older files still work, because Shopify keeps backward compatibility with older column names, but guides written before the change use different labels. The main ones:
- URL handle (old: Handle): the unique ID for the product and the end of its URL. Use lowercase letters, numbers, and hyphens.
- Description (old: Body (HTML)): the product description. HTML is allowed. Our guide to writing product descriptions that rank and convert covers what to put in it.
- Price and Compare-at price (old: Variant Price, Variant Compare At Price): numbers only, no currency symbol. A blank price defaults to 0.00.
- Published on online store (old: Published): true or false.
- Status: active, draft, or archived. If the column is missing, products import as active. If it is present, every row needs a value.
- Product image URL and Variant image URL (old: Image Src, Variant Image): public links Shopify downloads and re-uploads.
- Inventory quantity (old: Variant Inventory Qty): stock on hand, for single-location stores only.
- Collection: import only, one collection per product.
Headers are case sensitive. If Shopify shows a Choose column headings window after upload, at least one header doesn't match, and you can pick the right one from the drop-down.
How do you import products to Shopify from a CSV file step by step?
You import products to Shopify from a CSV file in the admin: go to Products, click Import, add the file, choose your options, then review and confirm. The steps below follow Shopify's import instructions.
- Export a few existing products first (or download the sample CSV from the Import window) and build your file on that layout.
- Save the file as CSV UTF-8. The file can't exceed 15 MB.
- In the admin, go to Products and click Import.
- Click Add file and choose your CSV.
- Optional: deselect Publish new products to all sales channels if new products should only go to the online store.
- Optional: select Overwrite products with matching handles if you are updating products that already exist.
- Click Upload and continue, review the import details, then click Import products.
Shopify emails you when the import finishes. Two rules from Shopify's help page are worth knowing before you click: an import can't be canceled once it starts, and there is no import history. Your store's activity log is the only record of what changed.
If your source is WooCommerce, its export needs its columns remapped first. Our WooCommerce to Shopify product transfer guide has the column translations.
What does "Overwrite products with matching handles" actually do?
When the box is selected, values in your CSV replace the values in the matching columns of existing products with the same URL handle. When it is not selected, Shopify ignores any row whose handle already exists, so nothing is updated and no duplicate is created.
The overwrite rules on Shopify's import page are strict:
- A column you include but leave blank (other than a required one) overwrites the existing value with a blank. A blank Vendor cell erases the vendor.
- A column you leave out of the file entirely keeps its existing value.
- A column whose dependent columns are missing gets cleared. Shopify's example: a SKU column without Option1 name and Option1 value deletes the variant option.
So for a price-only update, the safe file has URL handle, Title, the option columns, and Price, and nothing else. If an overwrite has already gone wrong, our guide to undoing a bulk edit in Shopify covers the recovery options.
Hot take: Never import a product CSV that didn't start life as an export from the store you are importing into. Hand-built files are where wrong headers, missing option columns, and blank-cell overwrites come from, and an export gives you the right layout and a backup in the same click.
How do you set up product variants in the CSV?
Each variant is its own row with the same URL handle as the product. The first row holds the product details and the option names, and each following row fills in only the option values, price, SKU, and stock for that variant.
Shopify allows up to three options per product (Option1, Option2, Option3). Three variants of a t-shirt with size and color options look like this:
- Row 1: URL handle = cotton-tshirt, Title = Cotton T-Shirt, Option1 name = Size, Option1 value = Small, Option2 name = Color, Option2 value = Blue, Price = 24.99
- Row 2: URL handle = cotton-tshirt, Option1 value = Small, Option2 value = Red, Price = 24.99
- Row 3: URL handle = cotton-tshirt, Option1 value = Large, Option2 value = Blue, Price = 26.99
Two rows with the same handle and the same option values cause the "options are not unique" error. A row that starts a new handle but has no Title is skipped with "Ignored line because it did not contain product data". Changing an option value on an existing product also deletes that variant's ID and creates a new one, which can break links held by other apps.
Shopify raised the cap from 100 to 2,048 variants per product in October 2025. Separately, stores with 500,000 or more variants (Plus excluded) can create no more than 10,000 new variants by CSV or API in 24 hours. Our post on the Shopify variant limit covers which limit you have hit and how to batch around it. If you need more than three options, look at custom product options instead.
How do images work in a Shopify CSV import?
You put a public image link in Product image URL, and Shopify downloads the file during the import and re-uploads it to your store. Extra images for the same product go on extra rows with the same handle, ordered by Image position, and Variant image URL attaches an image to a specific variant.
Rules from Shopify's CSV and troubleshooting pages:
- The link must be a publicly accessible direct link to the image file. Private Drive or Dropbox links fail.
- Images can be up to 5000 x 5000 px. Bigger files fail with the "exceeds the 20 megapixel limit" error.
- File names shouldn't end in _thumb, _small, or _medium.
- Image alt text can be up to 512 characters, and Shopify suggests 125 or fewer.
Test a few URLs in a private browser window before importing. If variant images come in missing or doubled, our fix for missing or duplicated CSV variant images walks through the causes.
How do inventory, metafields, and collections import?
Inventory quantity only works for stores with a single location, and it defaults to 0 when the cell is blank. Product metafields can import through specially named columns, variant metafields can't, and the Collection column adds each product to one collection only.
- Inventory: Shopify's CSV guide tells multi-location stores to use the separate inventory CSV instead. Blank quantities import as 0, which shows products as sold out if inventory is tracked. For more on stock across stores and warehouses, see our guide to managing inventory across multiple locations.
- Metafields: a product metafield column header follows the pattern Name (product.metafields.namespace.key). Variant metafields aren't supported in the product CSV. Our guide to bulk editing metafields covers the other routes.
- Collections: the Collection column is import only and takes one collection per product, with a 255-character name limit. Some collection types, such as ones with several sources, can't take products from a CSV.
What are the most common Shopify CSV import errors, and how do you fix them?
Most import errors are encoding problems, header problems, missing required values, or images Shopify can't download, and each one has a short fix. The messages below come from Shopify's list of common import problems.
"Illegal quoting on line" or strange characters
The file has a character Shopify can't read, usually because it isn't UTF-8 or contains curly quotes. In Excel, use Save As and pick CSV UTF-8 (Comma delimited). Replace smart quotes with straight quotes, and remove stray quotes inside cells ("Missing or stray quote on line").
"Invalid CSV header: missing headers"
The first line must be the header row. Check for blank lines above it and extra spaces at the end of the header line, and compare your headers with a fresh export.
"Validation failed: price can't be blank"
A row is missing its price. Add a number to that row, without a currency symbol.
"Validation failed: options are not unique"
Two variant rows of the same product share the same option values. Give each variant a distinct combination, or delete the duplicate row.
"Ignored line because handle already exists"
The handle matches a product already in your store or another product in the file. Give each product a unique handle, or select the overwrite option if you meant to update it. If an import already created extra copies, see our guide to finding and removing duplicate products in Shopify.
"getaddrinfo" or "An error occurred while trying to download the image"
The image URL is wrong or the file is missing. Check that the link starts with the protocol, opens without a sign-in, and points straight at the image file.
"Fulfillment service can't be blank" or "Inventory policy is not included in the list"
Enter manual as the fulfillment service if you don't use a fulfillment app. Inventory policy only accepts deny or continue.
"Not a valid product category"
The Product category value must match the full breadcrumb or the category ID from Shopify's Standard Product Taxonomy exactly.
"Daily variant creation limit reached, try again"
Your store has 500,000 or more variants and has created 10,000 new ones in the last 24 hours. Wait, or split the remaining rows into later uploads.
"Value must be a valid product reference"
A metafield points at a product that doesn't exist yet. Import the products without that metafield first, then import the values in a second pass with overwrite selected.
When is a CSV the wrong tool for importing products?
A CSV is the wrong tool when your products already live on another website, when the catalog is too big to clean by hand, or when you need data the product CSV doesn't carry. In those cases an import app saves the file-building step, though each has its own limits.
- Products on another store or marketplace: Migratify (4.5 from 58 reviews, checked November 21, 2026) imports by product, collection, or store URL from Shopify stores, Amazon, Etsy, and other sites, with titles, descriptions, images, variants, prices, SKUs, barcodes, tags, vendors, and product types. Its docs say it doesn't import stock quantities, caps Amazon and Etsy products at 100 variants, and limits the Free plan to 5 products in total. Standard is $14 a month. Our guide to moving products from one Shopify store to another compares it with CSV and sync apps.
- Large catalogs or several data types: Matrixify works with Excel, CSV, and Google Sheets files and also handles customers, orders, and redirects. Its Demo plan allows 10 products per job, Basic is $20 per 30 days for 5,000 products per job, and Big is $50 for 50,000.
- Orders, customers, and redirects from a full replatform: a product CSV won't move them. Our comparison of store migration apps covers the tools that do.
Neither app is the right pick for every store. A 40-product catalog with clean data is usually fastest as a plain CSV.
What should you check after the import finishes?
Check product and variant counts, open a sample of products, test variant switching on the storefront, and confirm stock, status, and images. Do it the same day, because imports can't be undone in one click and there is no import history to look back at.
- Count products. 150 rows for 50 products with variants should give you 50 products, not 150.
- Open 5 to 10 products. Check titles, descriptions, prices, and that HTML in the description rendered properly.
- Test variants on the storefront. Switch options on a few products and watch the price and image change.
- Check stock. Blank quantities import as 0, so tracked products may show as sold out.
- Check status and channels. Draft products and products left off a sales channel don't show on the storefront.
- Export and compare. Export the imported products and compare them with your source file to catch truncated or reformatted fields.
If many products need the same fix, use Shopify's bulk editing tools instead of editing them one by one.
Migratify: Copy Products + AI
SponsoredProduct import made easier! Effortlessly migrate products from 100+ platforms.
Related Articles

Shopify CSV Variant Images Missing or Duplicated? How to Fix (2026)
Shopify CSV variant images missing or duplicated after import? Learn why Files re-uploads and ignored columns cause it, and how to fix each one safely.

Shopify Variant Limit Reached? 2,048 Cap, 3 Options and Daily Limit (2026)
The Shopify variant limit is 2,048 per product with 3 options, plus a daily upload cap for huge catalogs. See which one you hit and how to fix it in 2026.

How to Bulk Edit Metafields in Shopify: Bulk Editor, CSV and Apps (2026)
Bulk edit metafields in Shopify with the admin bulk editor, a product CSV, or an app. Variant rules, type limits, app prices, and how to undo a bad edit.

How to Migrate Products from One Shopify Store to Another (4 Methods, 2026)
Migrate products from one Shopify store to another in 2026 with CSV, a URL importer, Matrixify, or a sync app. See what moves, what breaks, and the cost.

How to Find and Remove Duplicate Products in Shopify (2026)
Find and remove duplicate products in Shopify: 3 ways to spot copies by SKU, which one to keep, and how to delete them without losing reviews or rankings.

How to Undo a Bulk Edit in Shopify (2026 Recovery Guide)
Undo a bulk edit in Shopify with CSV restore or an app that logged before-values. Revert safely and prevent the next catalog mishap. Keep a CSV backup.
