How to Prepare Product CSV Files for Shopify Import
Most failed Shopify imports are not caused by Shopify — they are caused by the file. A few minutes of preparation before you import saves the much longer job of cleaning up half-imported products afterwards. Follow this checklist in order and your file should import cleanly the first time.
Step 1: Start from the right format
Your file must use Shopify's product CSV layout: 42 standard columns, one row per variant, product fields on the first row of each product. If you are exporting from another store, download the Shopify CSV export — it already uses this layout. If you are building a file from scratch, start from the Shopify CSV template, which has the correct headers and two example products. The field guide explains every column.
Step 2: Check the headers
- The header row must include
Handle,Title, andVariant Price— these three are required. - Header names are case-sensitive and must match exactly.
handle,Product Title, andPricewill not be recognised. - Do not rename, delete, or reorder the header row unless you know the column is unused.
Step 3: Fix handles, titles, and prices
- Handles — unique per product, lowercase, words separated by hyphens (
canvas-tote-bag). Variant rows and extra image rows repeat the same handle; different products must never share one. - Titles — every product's first row needs a Title. Variant rows leave it blank.
- Prices — plain numbers only (
24.99). No currency symbols, no thousand separators, and a dot — not a comma — as the decimal separator. - Status — use
draftfor the first import. You can publish products after checking them in the admin. The only other values areactiveandarchived.
Step 4: Check variant rows
For each product with variants, confirm that:
- Every variant row has an Option1 Value (and Option2/Option3 values if the product has more options).
- Option names are identical across all rows of the same product —
Sizeon one row andsizeon the next creates two different options. - Every variant row has its own Variant Price and, where relevant, its own SKU.
- Rows for one product sit together in the file. Sorting the file in a spreadsheet app can split them apart — if you must sort, sort by Handle so each product's rows stay grouped.
Step 5: Check images
- Image Src must be a complete
https://URL that anyone can open. Test it in a private browser window — if you cannot see the image there, Shopify cannot fetch it either. - Give each image a position (1, 2, 3 ...) and alt text where you have it.
- Delete image rows that have no Image Src — empty image rows can stall an import.
Step 6: Save as UTF-8 and validate
Save the file as CSV with UTF-8 encoding — in Excel, choose "CSV UTF-8 (Comma delimited)". Then upload it to the Shopify CSV Validator. It checks required columns, numeric prices, valid statuses, and duplicate handles, and lists every problem row. If it reports missing columns, blank handles, or blank statuses, the Shopify CSV Repair tool can fix those automatically and return a corrected file. Common error messages and their fixes are covered in Common Shopify CSV Import Errors and Fixes.
Step 7: Import into Shopify
- In Shopify Admin, go to Products and click Import.
- Upload your CSV and click Upload and preview.
- Read the preview carefully — it tells you how many products will be created and whether any rows will be skipped.
- Click Import products, then wait for the confirmation email before checking the results.
- Open a few imported products, check their images, prices, and variants, and only then change their status from draft to active.
Pre-import checklist
- Headers include Handle, Title, and Variant Price, spelled exactly
- Every handle is unique per product and lowercase with hyphens
- Every variant row has a price and an option value
- All prices are plain numbers with a dot decimal separator
- Status is draft for the first import
- All image URLs open in a private browser window
- File saved as UTF-8 CSV
- File passes the Shopify CSV Validator with zero errors
- Large files split into chunks under the import size limit (see the CSV Splitter)
Frequently asked questions
Should I import as draft or active?
Draft, always, for a first import. It costs nothing to publish products afterwards, and it costs a lot of cleanup if a bad file publishes hundreds of products with wrong prices or missing images.
What happens if I re-import the same file?
Shopify matches rows by handle, so re-importing a corrected file updates the existing products instead of duplicating them. This is the normal way to fix a bad import.
Can I import products and images in one file?
Yes — the Image Src column is part of the product CSV, and Shopify downloads the images during import. The images must be publicly reachable at import time.
How big can the CSV file be?
Shopify's admin import has a size limit per file (15 MB). If your catalog is larger, split it with the CSV Splitter and import the chunks one at a time.
Related tools
Shopify CSV Validator · Shopify CSV Repair · Shopify CSV Template · Shopify CSV Field Guide · CSV Splitter