GlobalFree to use

CSV cleaner: fix and prepare files for Shopify, Mailchimp or Google Contacts

Prepare a spreadsheet for import: trim stray spaces, drop empty rows and columns, remove duplicates (whole rows, by email or by chosen columns), turn dates into YYYY-MM-DD, phone numbers into +1 format, flag invalid emails, protect cells from spreadsheet formulas and match columns to an import template.

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Input

Tip: press Ctrl + Enter to run

Your result

Your result will appear here.

About this tool

Contact lists and product files collected from forms, exports and colleagues are rarely clean: stray spaces, the same person twice with different capitalization, dates in three formats, phone numbers written every possible way and the odd invalid email. Imports into a mailing tool, CRM or shop then fail or create duplicates.

This tool cleans a CSV, TSV or Excel file in your browser. It trims spaces, removes empty rows and columns, removes duplicates (whole rows, by email or by chosen columns), converts dates to YYYY-MM-DD, formats phone numbers in international +1 format, flags invalid emails, protects cells against spreadsheet formula injection and can map columns to import templates for Shopify, Mailchimp, Google or Outlook contacts and HubSpot.

How to use it

  1. Choose a CSV, TSV or Excel file, or paste CSV data.
  2. Choose an import template, or none.
  3. Choose how to remove duplicates and how to treat dates and phone numbers.
  4. Run it, review the report and download the cleaned file.

How the calculation works

Each cell is trimmed; empty rows and columns are removed. Duplicates are detected on a normalized key (lower-cased email, or the selected columns). Dates are parsed in the chosen day/month order (unambiguous dates such as 14/03 are detected) and written as ISO 8601; North American numbers become E.164 (+1…). Cells starting with = + − or @ get an apostrophe prefix.

trim → drop empty rows/columns → roles from headers and content → emails lowercased and checked, phones to E.164, dates to ISO → duplicates → template columns → cells starting with = + - @ get a leading '

Worked example

A volunteer coordinator pastes three rows where Li Wei appears twice (once with spaces and an upper-case email, once cleanly) and Omar’s email is missing its domain ending. The result keeps 2 rows: 1 duplicate removed, 1 cell with extra spaces fixed, the Joined column set to YYYY-MM-DD, phones as +14035550142 and +17805550199, and 1 invalid email flagged for review.

Sample input and result

5 messy contact rows → 3 clean rows: duplicate Ana removed, emails in lowercase, phones as +14035550199, dates as 2026-03-14, one invalid email flagged.

Limitations

  • Phone formatting targets North American numbers.
  • Template mappings follow the services’ import help as of October 2026 and may change.
  • Invalid emails are flagged, not corrected.

Last updated:

Frequently asked questions

Why does Excel show strange characters in my CSV?

Excel opens CSV files as an old encoding unless the file starts with a byte-order mark. Choose CSV for Excel and accented letters such as é or ñ show correctly. Import tools such as Shopify accept both versions.

What does formula protection do?

A cell that starts with =, +, - or @ can run as a formula when someone opens the file in Excel or Google Sheets, which is a known way to slip harmful content into exports. The tool puts an apostrophe in front so it stays plain text. Ordinary numbers like -12.5 are left alone.

Is my data uploaded?

No. The file is read and cleaned in your browser and never leaves your device, which matters for customer lists.

What is formula protection?

A cell starting with = + − or @ can run as a formula when opened in a spreadsheet; an apostrophe prefix stops that (CSV injection).

Which duplicate is kept?

The first occurrence; later duplicates are removed and counted in the report.

Does it fix phone numbers outside North America?

International numbers that already start with + are kept; other formats are left unchanged and listed.

Troubleshooting

Dates came out with day and month swapped.

Set “Dates like 03/04/2026 mean” to the order your data uses.

Excel shows strange characters.

Download with “CSV with BOM” so Excel recognizes UTF-8.

Duplicates were not removed.

Choose the right duplicate rule; “exact” only removes identical rows.

Privacy & Free to use

Are my inputs stored?

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Is this tool free?

Yes. No signup or payment is required.

Processed in your browser

Useful next steps