Shopify product CSV error
How to fix Invalid CSV header: missing headers
Shopify reads the first line of your file as the list of column names. This message means it couldn’t find the columns it expects, usually because a header is misspelled, has the wrong capitalization, has an extra space, or the file isn’t separated by commas.
Check your whole file at once
CSV Doctor lists every problem with its row number and fixes the safe ones for you.
Runs in your browser. Your file is never uploaded.
What causes it
- A column name doesn’t match Shopify’s template exactly. Shopify says column header names are case-sensitive, so "handle" isn’t the same as "Handle".
- An extra space before or after a header, often at the end of the first line.
- The file uses semicolons or tabs between columns instead of commas (common with some regional Excel settings).
- The first line isn’t the header row (for example a title or blank line sits above it).
- An invisible byte order mark (BOM) at the start of the file is stuck to the first column name.
- The Title column is missing. It’s the one column Shopify always requires.
How to fix it
- Download Shopify’s sample product CSV and compare your first line with it, column by column.
- Fix capitalization and remove spaces around each header.
- If you edited the file in Excel, save it as "CSV UTF-8 (Comma delimited)" so columns are separated by commas.
- Make sure the header row is the very first line of the file.
- Import again.
Example
handle,title ,body (html),Variant PriceHandle,Title,Body (HTML),Variant PriceOlder names like Handle still work. Shopify’s current template uses names like URL handle and Description.
Related errors
Sources: Shopify Help Center, Troubleshooting product CSV imports and Using CSV files to import and export products. Not affiliated with, endorsed by, or sponsored by Shopify Inc. Shopify is a trademark of Shopify Inc.