Shopify product import cleanup

A Shopify product CSV (Products → Export), before you import it again.

Processed locally in your browser. File contents are not uploaded. No account needed.

Before and after

Made-up rows from the sample file, run through the same code Rote Workspace runs, when this page was built. Removed rows are struck through; changed cells are highlighted — point at one for its old value.

Data Workspaceshopify-products.csv8 rows · 11 columns · UTF-8 Processed locally

Original

Before: the sample file
RowHandleOption1 ValueVariant Price
2Ceramic Mug (has spaces at its edges)Sage$18.00
3Ceramic MugCharcoal$18.00
4Ceramic MugSand$19.50
5 (removed)
6Linen ApronRegular$42.00
7linen apronLarge$45.00
8 (removed)Linen ApronLarge$45.00
9Copper Cookware Set5$1,249.00

Result

After: Shopify product import cleanup
RowHandleOption1 ValueVariant Price
2ceramic-mug (changed)Sage18.00 (changed)
3ceramic-mug (changed)Charcoal18.00 (changed)
4ceramic-mug (changed)Sand19.50 (changed)
6linen-apron (changed)Regular42.00 (changed)
7linen-apron (changed)Large45.00 (changed)
9copper-cookware-set (changed)51249.00 (changed)

6 rows × 11 columns after the fixes · was 8 × 11 · 21 cells changed

8 more columns are not shown; they pass through unchanged.

· marks a space at the start or end of a value. The dots are not in the data; they show spaces you would otherwise not see.

What it does

  1. Remove empty rowsOn the sample: 1 row removed
  2. Trim spaces in every columnOn the sample: 1 cell changed
  3. lower-case "Handle"On the sample: 6 cells changed
  4. Replace every " " with "-" in "Handle"On the sample: 7 cells changed
  5. Remove the characters "$" "," from "Variant Price"On the sample: 7 cells changed
  6. Remove rows that repeat an earlier row (matching every column), keeping the firstOn the sample: 1 row removed

Your file needs these columns, spelled exactly: Handle, Variant Price. If one is missing or renamed, the workflow tells you which step it breaks and does not run.

How to use it

  1. Download the workflow

    A small .json file with the steps above — no data. Want to try it first? Use the sample file (made-up rows).

  2. Open your export

    In the Data Workspace, choose your file. It is processed in your browser, not uploaded.

  3. Import, review, run

    Workflow → Import, choose the file — or skip the download: under Workflow → Templates, press Check & open. Each step is checked against your columns; press Run on this file, then Download.