Skip to content
TheSpreadFix

CSV Cleaner

Upload a messy CSV and get a clear list of what's wrong — duplicates, invalid emails, inconsistent phone numbers, mixed date formats and stray spaces. Choose the fixes, preview every change, and download a clean file. Your file is processed in your browser and never uploaded.

Drop a CSV or Excel file here

.csv, .xlsx, .tsv

Your file stays on your device. It's read and cleaned in your browser — nothing is uploaded.

How it works

  1. Step 1

    Drop your CSV

    Comma, semicolon, tab or pipe-delimited — in UTF-8, UTF-16 or Windows-1252. The delimiter, encoding and header row are detected automatically.

  2. Step 2

    Review the report

    See each problem with the affected column, how many rows it touches and real examples from your file.

  3. Step 3

    Fix & download

    Apply only the fixes you choose, check the before/after, and download a clean CSV or Excel file.

What it checks and fixes

Encoding & delimiter

Files from Excel, Google Sheets, CRMs and European systems (semicolon-separated) are read correctly and exported as clean UTF-8 that Excel opens properly.

Duplicate rows and values

Exact duplicate rows, plus repeated emails or IDs that usually mean the same record was exported twice.

Invalid & inconsistent values

Invalid email addresses, phone numbers written five different ways, mixed date formats and country names spelled differently.

Structural problems

Blank or duplicate headers, empty rows and columns, rows with extra cells, and leading/trailing spaces.

What makes a CSV file “messy”?

A CSV file is plain text, so it carries no rules: any column can contain anything. When data comes from web forms, CRM exports, lead-generation tools or several people editing the same sheet, small inconsistencies pile up. Individually they look harmless; together they cause failed imports, duplicate emails to customers and reports that don't add up.

The most common problems we see in real exports are:

  • Extra spaces — “Asha ” and “Asha” look the same but don't match in lookups, filters or imports.
  • Inconsistent capitalisation of emails and names — JOHN@EXAMPLE.COM next to john@example.com.
  • Phone numbers in mixed formats — 98765 43210, +91-98765-43210 and 098765 43210 in one column.
  • Dates written several ways — 25/03/2024, 2024-03-25 and 25 Mar 2024.
  • The same record exported twice, or blank rows left over from filtering.
  • Headers that are blank or repeated, which breaks column mapping in importers.

How to clean a CSV file before importing it

Order matters. If you remove duplicates before standardising values, duplicates hide behind formatting differences. A reliable sequence is:

  1. Fix structure: remove empty rows and make sure every column has a unique header.
  2. Trim leading, trailing and repeated spaces in every text column.
  3. Standardise values: lowercase email addresses, convert phone numbers to international format (E.164, e.g. +919876543210), convert dates to one unambiguous format such as YYYY-MM-DD, and use one spelling per country.
  4. Remove duplicates — whole identical rows first, then records that share a key such as email or customer ID.
  5. Review what's left: invalid emails, unreadable dates and missing IDs usually need a human decision.

TheSpreadFix applies selected fixes in exactly this order automatically, so the result doesn't depend on the order you click things.

Why your CSV looks broken in Excel

If names like José or Zoë appear as “José”, the file was saved as UTF-8 but Excel opened it with an older Windows encoding. Excel only recognises UTF-8 CSV reliably when the file starts with a byte-order mark (BOM). Every CSV you download from TheSpreadFix includes one, so accents and non-Latin scripts display correctly.

If everything appears in a single column, the file probably uses semicolons (common in Europe) while Excel expects commas, or the other way round. TheSpreadFix detects the delimiter from the file's contents and always exports standard comma-separated CSV.

Nothing changes without your approval

Automatic cleaning tools can do damage when they guess. TheSpreadFix never interprets an ambiguous date such as 03/04/2024 without asking whether it's day-first or month-first, always shows which country it assumes for phone numbers, and keeps invalid values unchanged unless you choose to clear them. Every step shows before/after examples and your original file is never modified.

Frequently asked questions

What's the maximum CSV size?

The free cleaner runs in your browser and reads files up to 50 MB. On the free plan, cleaned downloads are limited to 500 rows; the Data Health Report works on files of any size. Larger limits come with paid plans (coming soon).

Is my CSV uploaded to your servers?

No. The cleaner reads and fixes the file inside your browser. Only if you sign in and choose “Save to my workspace” is the file stored — privately, and deleted automatically after your retention period.

Why do special characters look broken when I open a CSV in Excel?

Excel often assumes an old encoding when opening CSV files. Our downloads are UTF-8 with a byte-order mark, which Excel recognises, so names like José or Zoë display correctly.

Can I choose which fixes to apply?

Yes. Every fix is optional. Recommended, safe fixes are pre-selected, but nothing changes until you preview and confirm.

Does it handle semicolon-separated files?

Yes. Comma, semicolon, tab and pipe delimiters are detected from the file's contents, with no settings needed.

Can I clean the same kind of file every week?

Yes. After cleaning, save your fixes as a recipe (free account) and run it on next week's export in one click.