全球免费使用

CSV 清理工具:修复并准备 Shopify、Mailchimp 或 Google Contacts 导入文件

为导入准备电子表格:去除多余空格,删除空行和空列,删除重复项(整行、按邮箱或按所选列),把日期转为 YYYY-MM-DD、电话号码转为 +1 格式,标记无效邮箱,防止单元格被当作电子表格公式运行,并将列与导入模板对应。

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

输入

提示:按 Ctrl + Enter 运行

你的结果

结果将显示在这里。

下方的详细帮助目前仅提供英文版。

关于此工具

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.

使用方法

  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.

计算原理

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 '

计算示例

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.

示例输入和结果

5 行杂乱的联系人 → 3 行干净数据:删除了重复的 Ana,邮箱改为小写,电话改为 +14035550199,日期改为 2026-03-14,标记了一个无效邮箱。

局限性

  • 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.

最后更新:

常见问题

为什么 Excel 打开我的 CSV 时显示乱码?

除非文件以字节顺序标记(BOM)开头,否则 Excel 会用旧编码打开 CSV 文件。选择“Excel 专用 CSV”,é 或 ñ 等带重音的字母就能正确显示。Shopify 等导入工具两种版本都接受。

公式防护有什么作用?

以 =、+、- 或 @ 开头的单元格,在有人用 Excel 或 Google Sheets 打开文件时可能会被当作公式运行,这是在导出文件中夹带有害内容的已知手法。工具会在前面加一个撇号,让它保持为纯文本。-12.5 这样的普通数字不受影响。

我的数据会被上传吗?

不会。文件在你的浏览器中读取和清理,从不离开你的设备,这对客户名单尤其重要。

常见问题

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.

故障排除

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.

隐私 & 免费使用

我的输入会被保存吗?

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

这个工具免费吗?

是的。无需注册或付费。

在浏览器中处理

推荐下一步