Shopify Translate & Adapt CSV HTML Validator
Check a Shopify Translate & Adapt export or a product CSV before import. Catch broken HTML, unescaped quotes, mutated Liquid, and Excel mojibake in the browser.
100% client-side: Your files never leave your browser.
Limit 5 MB. Supports Shopify Translate & Adapt CSV and products_export.csv.
Why Shopify Translate & Adapt CSV Imports Fail or Break Product Pages
Shopify Translate & Adapt writes one CSV row per field. Descriptions live in Default content and Translated content, usually as HTML in body_html. A catalog file uses another header and stores that markup in Body (HTML). Both are RFC 4180 text. A spreadsheet or a language model can still change tags while the grid looks fine.
RFC 4180 quotes a field that contains a comma, a line break, or a quote, and stores an inner quote twice. An attribute written style="color: #201e1d;" must be saved as style=""color: #201e1d;"". A single pair ends the cell, the next comma opens a new column, and the row no longer matches the header. Line breaks inside a quoted cell stay there. An unclosed quote swallows every following row.
Excel often rewrites a UTF-8 CSV as Windows-1252, so é and an apostrophe come back as café or ’, and a byte-order mark can stick to the Type header. Google Sheets CSV, or Excel CSV UTF-8, keeps the original code points. Reverse the same damage in HTML with the UTF-8 Mojibake Fixer or the garbled-character guide.
A size chart is a table in body_html. Dropping </table>, </ul>, or </td> leaves it open. br, hr, and img need no closer. {{ product.title }}, {% endif %}, class, href, and src must stay as written. Email Tag Guard does the same for merge tags. See translating HTML without breaking layout.
Common Shopify CSV Errors
Fix these four failures before import.
| Error | Cause | How to Fix |
|---|---|---|
| Unescaped quotes | An inner quote or comma is not wrapped the RFC 4180 way, so one line splits into extra columns. | Quote the cell and double every inner quote. |
| Broken body_html tags | A closer such as table, ul, or td was dropped. | Copy the original tags and translate only the text between them. |
| Mutated Liquid variables | product.title or endif was renamed or deleted. | Paste the original token back, braces included. |
| Excel UTF-8 BOM / mojibake | The workbook saved legacy bytes or a byte-order mark on the header. | Export CSV UTF-8, then check the file again. |
FAQ
Does this validator upload a store catalog?
No. The file is read in the browser. Pasted CSV and dropped files stay on the machine and are not sent to an API.
Why does Excel break UTF-8 in a Shopify CSV, and how should the file be saved?
Excel often opens a CSV as a legacy workbook and writes different bytes, so é becomes a mojibake sequence. Download CSV from Google Sheets, or choose CSV UTF-8 in Excel.
How can an HTML size chart in body_html be translated safely?
Keep table, tr, th, td, and the class value. Translate the cell text only, and keep the same non-void tag counts, including the closing table tag.
How is a Translate & Adapt check different from a products_export.csv check?
Translate & Adapt compares Default content with Translated content for tags, Liquid, href, src, and class. A blank translation is counted, not flagged. products_export.csv checks unclosed tags and mojibake in Body (HTML) and Title only.
Why must class names and Liquid identifiers stay untranslated?
A class selects CSS, and a Liquid name is a path Shopify resolves. Changing either one removes layout or data. Copy class, href, src, and every {{ }} or {% %} token from Default content.
After the CSV is clean, static HTML pages can be translated on HTML Translate. The tools hub lists the other browser checks.