Shopify product CSV error
How to fix Illegal quoting on line
Quote marks in a CSV have a special job: they wrap a cell that contains commas or line breaks. This error means a quote mark is in a place the CSV rules don’t allow, or the file contains characters that aren’t UTF-8. Shopify notes that your CSV file must be UTF-8 encoded.
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 cell contains a quote mark but isn’t wrapped in quotes, like 55" TV stand typed straight into a text file.
- The file was saved in an older encoding (such as Windows-1252 from Excel), so curly quotes and accented letters aren’t valid UTF-8.
- Curly "smart" quotes (“ ”) were used where straight quotes (") belong.
- A missing or stray quote elsewhere on the line.
How to fix it
- Note the line number in the error and open the file in a plain text editor to look at that line.
- Any cell that contains a quote mark must be wrapped in quotes, with the inner quote doubled: "55"" TV stand".
- Replace curly quotes with straight quotes.
- Re-save the file as UTF-8 (in Excel: "CSV UTF-8 (Comma delimited)"; Google Sheets exports UTF-8 by default).
- Import again.
Example
tv-stand,TV Stand 55" wide,199.00tv-stand,"TV Stand 55"" wide",199.00Related 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.