Skip to content
FastTool

Free, no sign-up

CSV Cleaner & CSV to Excel

Remove duplicate and blank rows, trim spaces, and pick, rename or reorder the columns your next import needs. Download Excel, CSV or TSV with IDs like 00123 kept exactly as they are.

Your files stay here.

Runs in your browser. Nothing is uploaded.
Free CSV, TSV and Excel downloads.

01 / INPUT & SETTINGS

Start with your data

UTF-8 and UTF-16 files are detected automatically. For other encodings, choose one below.

Quoted commas, double quotes and multiline cells are supported.

Choose what to clean
Match duplicates using specific columns

Run once to see your columns. With none selected, every column must match. Matching is case-sensitive, after any selected trimming.

Your columns will appear here.

The recommended option removes exact duplicate rows but preserves different values sharing a key. Keep-first can discard newer or more complete data; it does not merge cells. A missing or whitespace-only key part always keeps that record. Removing blank rows is a separate choice.

CSV and TSV export options

Add a file or paste data to get started. Nothing is changed by default.

02 / REVIEW & DOWNLOAD

Your cleaned table

No file yet

See the changes before you save.

Your rows will appear here, with a clear count of what changed. IDs, dates and amounts stay as text.

Worked example

Six rows in. Four useful rows out.

A contact export can contain a repeated record, an empty row and IDs that a spreadsheet mistakes for numbers. The built-in example has all three. Here is what changes, and what stays exactly the same.

Before cleaning · 6 data rows

Two identical Ada records, one blank row, and three other contacts. Ada’s name has a space on each side.

00123                 |  Ada 
00456                 | Lin
00123                 |  Ada 
                      | 
00007                 | Sam
12345678901234567890  | Jo

After cleaning · 4 data rows

The first Ada record stays. One duplicate and one blank row are removed; names are trimmed. Every ID keeps its digits.

00123                 | Ada
00456                 | Lin
00007                 | Sam
12345678901234567890  | Jo

Only the ID and name columns are shown here. The example’s email and notes columns are kept too, including a quoted comma and a note that spans two lines.

  1. Choose Try an example in the input panel.
  2. Keep the header on. Enable trimming, blank-row removal and duplicate removal; leave duplicate-key columns unselected so the whole row must match.
  3. Choose Preview & clean, then review the 6 → 4 count before downloading Excel.

Sam’s note =1+1 stays as text in Excel; it does not become 2. In CSV and TSV it gets an apostrophe in front, so a spreadsheet can’t run it as a formula. If you match by ID alone, rows with different notes are kept and flagged for you to check. Choose keep-first only when you want to drop later rows that disagree.

A DIFFERENT ID IS EASY. A CONFLICT IS NOT.

Same customer ID. Two different email addresses.

Our second example has four records: two different entries for 00123, one exact repeat and another customer. Matching by ID keeps both different entries and removes only the repeat: four rows become three. Keep-first would leave two rows by discarding the alternative email and amount too.

Loads sample data, selects the ID column and turns on safe duplicate removal. It does not decide which email or amount is correct. Review the original records, then choose “Use record 3” to keep the newer entry only. “Keep distinct records in this group” restores both different entries, while still removing the exact repeat.

A FILE THAT FITS THE NEXT SYSTEM

Keep the customer ID. Leave the internal note out.

Our import example has three customers and four columns. Open the column editor, uncheck internal_note, move customer_id earlier, and rename it Customer ID. Apply columns to create all three downloads with the same three fields. IDs 00123, 00007 and 12345678901234567890 stay text in Excel.

When you change columns, each kept header needs a unique, non-blank name of up to 200 characters, with no line breaks. If you change nothing, the original headers are kept, even blank or repeated ones. Data without a header row stays that way. Changing the input or the header setting resets your column choices, and editing them turns off the old downloads until you apply again.

Why these choices matter: Microsoft: choose or remove columns · Microsoft: keeping leading zeros and large numbers. CSV has no cell types; choose Excel when an ID must remain text.

How it works

Small fixes you choose, nothing hidden

Clean only what you choose

Trimming, blank-row removal and duplicate removal are off until you choose them. Exact duplicate matching keeps the first row. Your source file is never overwritten.

Excel without changed IDs

CSV files have no cell types. Spreadsheet apps can guess wrong about product codes, dates and long numbers. The Excel download writes text cells explicitly. Convert selected columns to numbers in Excel when you need calculations.

Clear, practical limits

Up to 5 MB, 50,000 data rows, 100 columns and 500,000 cells. Each cell can hold up to 32,767 characters, and each download up to 40 MB. If a quote is unclosed, a row has the wrong number of columns or the text can’t be read, the tool tells you where instead of guessing.

Why did a value gain an apostrophe in my CSV or TSV?

Stop formulas from running is on by default. Cells that start with =, +, - or @ and aren’t numbers get an apostrophe in front, so a spreadsheet can’t run them as formulas. Numbers such as -12.50, (12.50) and 1.234,56 keep their exact text, and so does a lone dash. Apps handle this differently, so we recommend the Excel (.xlsx) download: it keeps the original value as a text cell with no formula. A spreadsheet may also drop leading zeros when it opens a CSV or TSV, which the Excel download avoids.

Does this upload, store or train on my data?

No. Reading, cleaning and building the downloads all happen in your browser. File contents and names are never sent to FastTool, and nothing is saved between visits. Clear removes your data from the page; files you already downloaded stay on your device.

How do I remove duplicates by one column, such as email?

Turn on Remove duplicate rows and choose Preview & clean once so your columns appear. Then open Match duplicates using specific columns and tick the email column. Rows that share an email but differ elsewhere are kept and flagged for you to check. Choose Keep first record only if you want just the earliest row for each email.

My file uses semicolons or tabs. Will it work?

Yes. The separator is detected automatically from commas, semicolons, tabs and pipes. If the preview shows everything in one column, pick the separator yourself under Separator and run the preview again.

Why does Excel show 1.23457E+19 instead of my long ID?

When Excel opens a CSV, it treats long digit strings as numbers, keeps only 15 significant digits and may switch to scientific notation. The Excel download from this page stores every cell as text, so 12345678901234567890 stays exactly as typed.