Shopify CSV Import Error? Find the Bad Line With the Shopify CSV Validator

Shopify says "Illegal quoting in line 214" or "Unclosed quoted field" and gives you nothing else to go on. Drop in the product CSV and this validator lists every bad line, row and column, then writes a repaired UTF-8 file for the fixes that are safe to make. The file never leaves your browser.

Shopify product CSV validator tool

Drop your Shopify product CSV here, or click to choose a file CSV, TSV or TXT. Checked locally, never uploaded.

How to Fix a Shopify CSV Import Error in 3 Steps

  1. Add your product CSV

    Drop the file onto the box, or paste the rows as text. The tool reads the raw bytes, so it can tell you whether the file is UTF-8, UTF-16 or an older Windows encoding, and whether it starts with a byte order mark. It accepts CSV, TSV and TXT files.

  2. Read the error list

    Errors are problems Shopify would stop on. Each one shows the line in the file, the spreadsheet row and the column name, so you can jump to the same place in a text editor. Warnings import but are probably not what you meant. Notes are for your information.

  3. Download the repaired file

    Fixes that cannot change what the data means are applied for you: encoding, BOM, quote escaping, stray spaces, price formatting and Status capitals. Anything that needs a human decision, such as a blank Handle, an unclosed quote or a Status of "published", stays in the list. Fix those in your source, then run the file again.

Why Shopify Causes This Error: The Technical Root Cause

CSV has a short list of quoting rules. A value that contains a comma, a line break or a quote mark must be wrapped in double quotes, and every quote inside it must be doubled. Shopify’s importer enforces those rules strictly. Product descriptions are where they usually break: HTML with attribute quotes, measurements such as 5" and 12", and text pasted from a supplier feed. One bare quote in an unquoted value gives "Illegal quoting in line N". A quote that opens a value and never closes makes the parser read on across line breaks, so "Unclosed quoted field" can point a long way from the real mistake.

Encoding is the second cause. Shopify expects UTF-8. Excel’s plain "CSV (Comma delimited)" option saves in the legacy code page of the computer, so an é or a curly apostrophe becomes a byte that is not valid UTF-8. The fix in Excel is "CSV UTF-8 (Comma delimited)", but that option writes a byte order mark, three invisible bytes at the start of the file. Some importers attach those bytes to the first header, so "Handle" is read as an unknown column and the required-column check fails even though the column is plainly there.

The remaining errors are data rules. Every row needs a Handle, and the first row of each product needs a Title. Variant Price must be a plain number with a period for decimals. Status is limited to active, draft and archived. Excel breaks the price rule whenever a cell uses currency formatting or a regional decimal comma, because the CSV then carries the formatted text. That is why the tool separates what it can repair without guessing, such as $14.50 becoming 14.50, from what needs your decision, such as a Status of "published".

Manual Method vs GridFix Browser Tool Comparison

What you needManual methodGridFix browser tool
Finding the bad line Shopify reports one line at a time. You fix it, upload again and wait for the next error. Lists every problem in one pass with line, row and column.
Unclosed quote Search a long file in a text editor for a stray quote and hope you spot it. Reports the line where the quoted value opened and how many lines it swallows.
Encoding and BOM Re-save as CSV UTF-8 in Excel, which adds a BOM, then check the first bytes in a text editor. Reads the raw bytes, names the encoding and writes a UTF-8 file without a BOM.
Prices like $14.50 or 18,00 Find and replace for each symbol and decimal comma, one column at a time. Flags each cell and rewrites the unambiguous ones. Cells like "free" stay flagged.
Handle, Title and Status rules Filters and COUNTIF formulas across thousands of rows. Checks every row against the first-row rules and the allowed Status values.
Privacy File stays on your computer. File stays on your computer. Processing happens in the browser tab.
Cost Free with Excel or a text editor. Free, no sign-up.

If the file came out of a spreadsheet, fixing the source and exporting again is always the cleanest route. Use the repaired download when the spreadsheet is gone or the file came from a supplier or an app.

Frequently Asked Questions

What does "Illegal quoting in line" mean in a Shopify CSV import?

A double quote mark appears inside a value that is not wrapped in quotes, such as a product title with 5" in it. A CSV parser reads a quote as the start of a quoted value, so it stops. Wrap the whole value in quotes and double the inner quote, so 5" pipe becomes "5"" pipe". This tool does that rewrite for you and lists every cell it touched. The line number Shopify gives is the physical line in the file, which can differ from the spreadsheet row when a cell holds line breaks.

What does "Unclosed quoted field" mean, and why is the line number far from my mistake?

A value was opened with a quote and never closed. The parser keeps reading across line breaks to find the closing quote, so the error can point near the end of the file even though the missing quote is much earlier. The validator reports the line where the quoted value opened and how many lines it swallowed. Start your search there, usually in a Body (HTML) cell. This is the one problem the tool cannot repair for you, because it cannot know where the quote was meant to end.

Why does Shopify say a required column is missing when Handle is in my file?

Three causes are common. The file starts with a byte order mark that gets attached to the first header. The header is spelled differently, for example "handle" or "Handle " with a trailing space. Or the file is separated by semicolons, so the whole header reads as one column. The validator checks all three and tells you which one it found.

Which Status values does a Shopify product CSV accept?

Use active, draft or archived in lower case, the way Shopify’s own export writes them. Values such as published, enabled or yes are not on that list. The tool lowercases a value that only differs by capitals and flags anything else for you to decide, because "published" could mean active or draft depending on what you intended.

How should Variant Price be formatted?

As a plain number with a period for decimals, such as 14.50 or 1299.00. Leave out currency symbols and thousands separators. A price copied from a European sheet as 18,00, or from a formatted Excel cell as $1,299.00, is a frequent reason for failed rows. The tool rewrites the unambiguous cases and flags anything it cannot read, such as "free" or "TBD".

Does a clean result guarantee that Shopify will accept the file?

No. The tool checks the problems that most often stop product imports: quoting, encoding, the required columns, prices and Status. Shopify also checks things this tool does not, such as whether image URLs can be downloaded, option values and inventory settings. Treat a clean result as proof that the file is well formed, and on a large catalog import a few rows first.

Is my product file uploaded to a server?

No. The file is read and checked by JavaScript inside your browser tab. Nothing is sent to GridFix or anyone else, and once the page has loaded it keeps working if you go offline.