Shopify product CSV: columns, template and import errors
The current columns of Shopify's product CSV, what a new product and an update need, variants and images as rows, the 15 MB limit, overwrite rules and error fixes.
On this page
- The format in short
- The columns and their current names
- Which columns a new product and an update need
- How variants and options are written as rows
- Images
- How overwriting works on import
- Import errors Shopify documents, and the fix
- What spreadsheets do to the file
- What the free converter does with a Shopify export
- Where Central helps
In short
- A Shopify product CSV is a comma-separated UTF-8 file whose first line holds the column headers, and one file cannot exceed 15 MB (as of November 2026).
- To create products, Title is the only required column; to update products, URL handle and Title are required.
- Every variant is one row that repeats the product's URL handle; a product can have up to 3 options and up to 2,048 variants.
- Every image is one row, and a product can have up to 250 images.
- When an import overwrites products with matching handles, a blank cell erases the stored value, while a column that is missing from the file leaves the stored value unchanged.
- Shopify's current column names include URL handle, Description, SKU, Barcodes, Price and Product image URL; Shopify says it still accepts files with older column names.
The format in short#
A Shopify product CSV is a text file with one header line and one line per product, variant or extra image. These are the rules Shopify's Help Center states as of November 2026, most of them on its page Using CSV files to import and export products:
| Question | What Shopify states |
|---|---|
| Format | Columns separated by commas; the first line must be the column headers |
| Encoding | UTF-8, with LF-style line feeds |
| File size | A product CSV cannot exceed 15 MB (import page) |
| Required for a new product | Title; also URL handle if the product has variants |
| Required for an update | URL handle and Title |
| Variants | One row per variant; up to 3 options and up to 2,048 variants per product (Adding variants) |
| Images | One row per image; up to 250 images per product |
| Barcodes and tags | Up to 20 barcodes per product or variant; up to 250 tags per product |
This page is about the file. For the checks a product record should pass before it goes into any file, see product data quality.
The columns and their current names#
The table follows Shopify's own column list. Only Title is required for new products; everything else is optional or depends on another column.
| Column | What goes in | Default or limit |
|---|---|---|
Title | The product name | Required |
URL handle | The product's name in its URL: letters, numbers and dashes, no spaces | Built from the title if empty |
Description | The product description | |
Vendor, Type | The brand or supplier; a label of your own for the kind of product | |
Product category | A category from Shopify's standard product taxonomy, as the full path or the category ID | |
Tags | Tags separated by commas, the whole list in quotation marks | 250 per product |
Published on online store | true or false | true |
Status | active, draft or archived | active |
SKU | The variant's SKU | |
Barcodes | One or more barcodes, separated by semicolons, each with its type and a colon in front, such as upc: or gtin: | 20; without a type a barcode is imported as Custom |
Option1 name, Option1 value | The option, such as Color, and this row's value, such as Navy; a second and third option use Option2 and Option3 | 3 options |
Option1 LinkedTo | Links the option to a category metafield | |
Price, Compare-at price, Cost per item | Numbers without a currency symbol, such as 9.99 | Price: 0.00 |
Charge tax, Requires shipping | true or false | true |
Inventory tracker | shopify or another tracker; blank means not tracked | |
Inventory quantity | Stock on hand, for stores with a single location only | 0 |
Continue selling when out of stock | deny or continue | deny |
Weight value (grams) | The weight in grams as a plain number, without unit or decimals | 0 |
Weight unit for display | g, kg, lb or oz | kg |
Packed product length, width, height and Packed product dimension unit | The packed size and cm or in | Fill all four or none |
Fulfillment service | manual or the handle of a fulfillment service | manual |
Product image URL, Image position, Image alt text | A public link to the image, its position starting at 1, its alt text | Alt text: 512 characters |
Variant image URL | The image of this variant | |
Gift card | true or false; an import can edit gift cards but not create them | false |
SEO title, SEO description | The title and description for search results | 70 and 320 characters |
The list goes on with columns for markets (Price / International, Included / International), columns that start with Google Shopping / (Google product category, gender, age group, MPN, condition, custom labels 0 to 4) and one column per product metafield. A column Collection can be added for imports; exports do not contain it.
Older names and the sample file#
Shopify says it keeps accepting older column names and recommends moving to the current format. Two cases are spelled out. The older single Barcode column turns into Barcodes at the next export, and a file with both columns fails to import. A column headed Category is imported as Collection; the standard category belongs in Product category.
Shopify's own pages do not agree with each other everywhere. The troubleshooting page still prints the header row in the older form, starting Handle, Title, Body (HTML), and names columns such as Variant SKU, Variant Price and Image Src. The sample product CSV file, read on 23 November 2026, heads two columns Variant Barcodes and Option1 Linked To, and it has a Tax code column and four Unit price columns that the column list does not describe.
Which columns a new product and an update need#
- New product:
Title. AddURL handleas soon as the product has variants or more than one image, because the handle is what ties the rows together. - Update:
URL handleandTitle, plus the columns you want to change. - Columns that depend on others: Variant columns such as
SKUorWeight value (grams)needOption1 nameandOption1 valuein the file. The four packed product columns need all four values or none. IfInventory trackerisshopify, the two columnsContinue selling when out of stockandFulfillment servicecannot stay blank; where they are, Shopify applies their defaults.
How variants and options are written as rows#
The first row of a product carries the product itself and its first variant. Every further variant is a row of its own with the same URL handle and its own option value, SKU, barcode and price. Shopify's instruction for those rows is to skip Title, Description, Vendor and Tags. In Shopify's sample file the option name also stands in the first row only.
A Northpeak rain jacket in two colors:
Title,URL handle,Description,Vendor,Type,Tags,Status,SKU,Barcodes,Option1 name,Option1 value,Price,Weight value (grams),Product image URL,Image position,Image alt text,Variant image URL
Northpeak Stormline Rain Jacket,northpeak-stormline-rain-jacket,Waterproof 2.5-layer rain jacket with taped seams and an adjustable hood.,Northpeak,Rain jacket,"rain jacket, waterproof",draft,NP-RJ-01-NVY,ean:9506000210100,Color,Navy,129.00,410,https://www.northpeak.example/img/stormline-navy.jpg,1,Northpeak Stormline rain jacket in navy,https://www.northpeak.example/img/stormline-navy.jpg
,northpeak-stormline-rain-jacket,,,,,,NP-RJ-01-MOS,ean:9506000210117,,Moss,129.00,410,https://www.northpeak.example/img/stormline-moss.jpg,2,Northpeak Stormline rain jacket in moss,https://www.northpeak.example/img/stormline-moss.jpgWhat to notice:
- The status is
draft, so a test import stays out of the store until you have looked at it. - The tags are in quotation marks because the list contains a comma.
- The image links are placeholders. Replace them with links that open in a browser without a login, or the import reports an image error.
- A second option goes into
Option2 nameandOption2 value. A jacket in 2 colors and 3 sizes is 6 rows.
How to choose options and what belongs in a variant at all is covered in the guide to product variants. The variant matrix builder turns a list of colors and sizes into one row per variant with SKUs, and how to create SKU numbers explains a naming scheme that survives a growing range.
Images#
Shopify downloads each image from the link in Product image URL during the import and stores its own copy, so the link must be public, and it is only needed until the import is done.
- One row per image. For further images, add rows that hold only the URL handle and the image link.
- Order and alt text.
Image positionsets the order, starting at 1.Image alt textdescribes the image; how to write alt text for product images has examples. - Variants.
Variant image URLsets the picture shown for that variant. - Limits. Up to 250 images per product. Shopify's media page allows images up to 5000 x 5000 px, which it counts as 25 megapixels, and files smaller than 20 MB. The import error for oversized images speaks of a 20 megapixel limit; its explanation repeats the 5000 x 5000 px.
- Exports. An export contains image links, not image files.
How overwriting works on import#
- Export your products first and keep the file. Shopify notes that an import cannot be canceled once it runs.
- In the Shopify admin, go to Products, click Import and add the file.
- Clear "Publish new products to all sales channels" if new products should go to the online store only.
- Select "Overwrite products with matching handles" if the file is meant to update products.
- Upload, review the preview and start the import. Shopify sends a confirmation email.
| In the file | What Shopify does |
|---|---|
| Handle matches a product, overwrite not selected | The row is ignored |
| Handle matches, overwrite selected | Values in the file's columns replace the stored values |
| A cell in an optional column is blank | The stored value is overwritten with blank |
| A column is not in the file | The stored value stays as it is |
No Option1 name and Option1 value columns | A new default variant is created and the existing variants are deleted |
| An option value was changed | The variant gets a new ID; apps that stored the old ID lose their link |
A Collection value | Replaces the collections the product was added to by hand |
A CSV import cannot delete products and cannot change availability on other sales channels.
Import errors Shopify documents, and the fix#
| Message | Cause | Fix |
|---|---|---|
Invalid CSV header: missing headers | The first line is not the expected header row | Correct the header names and remove spaces at the end of the line |
Illegal quoting on line | The file is not UTF-8, or a quote is out of place | Save the file as UTF-8 |
Missing or stray quote on line | Curly quotes, or a quotation mark without its partner | Replace curly quotes with straight ones in a text editor and remove the stray one |
Ignored line ... because handle ... already exists | Two products in the file share a handle | Give every product its own handle |
Ignored line ... because it did not contain product data | A row has a handle but the product has no title | Give the product's first row its title |
Validation failed: options are not unique | Two rows of one product have the same option values, or the handle is used twice | Remove the duplicate |
Validation failed: price can't be blank | A variant row has no price | Add the price |
Inventory policy is not included in the list | The out-of-stock column holds another word | Use deny or continue |
Inventory quantity is not a number | Text in the quantity column | Enter a number |
Fulfillment service can't be blank | The column is there but empty | Enter your service, or manual |
Not a valid product category | The category does not match Shopify's taxonomy | Copy the full path or the ID exactly |
Validation failed: An error occurred while trying to download the image | The image is not at the link | Use a public, direct link to the file |
Daily variant creation limit reached, try again | Stores with 500,000 or more variants (Plus stores excepted) can create 10,000 new variants per 24 hours by CSV | Wait until the 24 hours have passed |
Where Shopify names only the cause, the fix in the table follows from it. If the upload fails or times out, split the file. If Shopify asks you to choose column headings, your header names were not recognized: pick the right heading for each column from the menu.
What spreadsheets do to the file#
Shopify recommends Google Sheets for CSV files: import the file there, and download it as comma-separated values when you are done. Whatever you use, watch for these:
- Leading zeros in barcodes. Microsoft states that Excel removes leading zeros. The UPC in Shopify's sample file,
036000291452, would become36000291452: 11 digits, no longer a UPC. A barcode with its type in front, such asupc:036000291452, contains letters and stays text. - Scientific notation. Excel converts large numbers to a form like
1.23E+15and keeps 15 significant digits. Format barcode columns as text before the data goes in. Then run the column through the GTIN check digit calculator, which checks a whole file at once; the guide to what a GTIN is explains the numbers. - Semicolons. Shopify needs commas between values. Excel takes its list separator from the computer's region settings, says Microsoft. Check a saved file in a text editor.
- Decimal commas. A price is a number such as
129.00, without a currency symbol. - Encoding. Odd characters after an import or export mean the file is not UTF-8.
- Sorting. Shopify warns that sorting a product CSV in a spreadsheet can separate variants and image links from their product, and that importing such a file can overwrite products with wrong data.
What the free converter does with a Shopify export#
The product file converter near the top of this page reads a Shopify export in your browser; the file is not uploaded. It shows the rows as a table and saves them as CSV with commas or semicolons, TSV, Excel, JSON, JSON lines or XML.
Its presets rename Shopify's columns for two destinations. "Shopify export to Google feed" renames them to Google's feed names, for example the SKU to id, the handle to item_group_id and the vendor to brand. "Shopify export to WooCommerce import" renames them to the column names of WooCommerce's product CSV import.
A preset goes by the header names in your file and keeps only the columns it recognizes. Look at the preview before you save: a column that is missing there was not matched. A preset also does not add what the destination needs on top, such as the currency after the price in a Google Shopping feed. If your source is XML, read XML to CSV first.
Where Central helps#
A CSV moves product data; it does not complete it. Central researches the product data a listing needs from your own data, the open web and verified databases, backs every value with sources you can check and holds back what the sources do not support. It then writes titles, descriptions and attributes within each channel's limits.
Questions
Where do I get a Shopify product CSV template?
Shopify links a sample product CSV file from its Help Center page on product CSV files. You can also export one product from your own store and build on that file: its header row is the one your store writes today.
Which columns are required in a Shopify product CSV?
For new products only Title, plus URL handle when the product has variants. For updates, URL handle and Title. Variant columns such as SKU or weight also need the Option1 name and Option1 value columns in the file.
How large can a Shopify product CSV be?
15 MB per file, as of November 2026. Shopify says to split a larger file into smaller files and upload them one by one.
Can a CSV import delete products or variants?
Not products: Shopify says CSV files cannot be used to delete products in bulk. Variants can be lost. If an overwriting file has no Option1 name and Option1 value columns, Shopify creates a new default variant and deletes the existing variants.
Why does my Shopify import or export show strange characters?
The file is probably not saved as UTF-8. Shopify says to open it in a text editor and save it again with UTF-8 encoding.
Sources
- Using CSV files to import and export productsShopify Help Centerchecked 23 November 2026
- Importing products with a CSV fileShopify Help Centerchecked 23 November 2026
- Exporting productsShopify Help Centerchecked 23 November 2026
- Solutions to common product CSV import problemsShopify Help Centerchecked 23 November 2026
- Open or edit a CSV fileShopify Help Centerchecked 23 November 2026
- Sample product CSV file (product_template.csv)Shopify Help Centerchecked 23 November 2026
- Adding variantsShopify Help Centerchecked 23 November 2026
- Using barcodes for productsShopify Help Centerchecked 23 November 2026
- Product media typesShopify Help Centerchecked 23 November 2026
- Keeping leading zeros and large numbersMicrosoft Supportchecked 23 November 2026
- Import or export text (.txt or .csv) filesMicrosoft Supportchecked 23 November 2026
- Duplicate product descriptions: when they hurt and how to fix themGuides
- item_group_idGlossary
- PIM software compared: Akeneo, Salsify, Pimcore, Inriver, Plytix and moreComparisons
- Product data enrichment: what it adds, where it comes from, how to check itGuides
- Product data sources: manufacturers, data pools, standards and public databasesGuides
- Supplier product data template: the fields to ask every supplier forGuides
- Units of measurement in product data: one unit, one formatGuides