Excel Tools

Remove Duplicates in Excel

Remove duplicate rows from an Excel, OpenDocument or CSV sheet. Compare all columns or only the ones you choose, ignore case and stray spaces, and keep the first or last occurrence — then review exactly which rows were removed.

✓ Private · no uploads

  1. Choose a spreadsheet
  2. Choose columns
  3. Download result
SpreadsheetCleaned workbook

Runs locally in your browser

Options
Keep
Compare these columns
Download

No file selected yet.

Rows are compared by their displayed values. Fully empty rows are skipped. The download contains the unique rows and, on a second tab, every removed row with the row number it duplicated.

How to use

  1. Choose or drop a spreadsheet up to 20 MB and select the worksheet to clean.
  2. Choose which columns decide whether two rows are duplicates, and set the case, space and keep options.
  3. Select Remove duplicates, check the counts and preview, and download the cleaned workbook.

Examples

De-duplicate a mailing list by email address

Only the Email column is compared, with case ignored, so the second Avery row is removed. The Kept row column points to the row that was kept.

Input
Name | Email
Avery | a@x.io
Morgan | m@x.io
avery | A@X.IO
Output
Unique rows: Avery a@x.io · Morgan m@x.io
Removed duplicates: avery A@X.IO (Kept row 2)

Clean data without formulas or add-ins

Duplicates creep in when lists are merged, exported twice or typed by several people. This tool finds rows whose selected columns contain the same values and keeps one copy of each. It works like Excel’s Remove Duplicates command, but also tells you exactly which rows were removed and which row each one matched, so you can verify the result before using it.

Turn on First row contains column headers so the header stays at the top and is never compared. Completely empty rows are skipped. Values are compared as they appear in the sheet, so a date shown as 2026-01-05 in two rows matches even if one was typed and the other calculated.

Options

  • Compare these columns: choose a subset such as Email, or Customer and Order date together.
  • Ignore spaces at the start and end: treats “Avery ” and “Avery” as equal.
  • Ignore upper and lower case: treats “ACME” and “acme” as equal, including Turkish İ and ı.
  • Keep first or last occurrence: keep the earliest entry, or the latest when newer rows are more accurate.

What you download

A new .xlsx workbook with two tabs: Unique rows, which keeps the header and every kept row with its original values and number formats, and Removed duplicates, which lists each removed row followed by a Kept row number. Formulas are saved as their results because rows move to new positions. Use Merge Excel Files first to de-duplicate across several files, or Compare Excel Files to check two versions side by side.

Frequently asked questions

Which columns are used to find duplicates?

All columns by default. Clear the columns that should not count — for example a timestamp or an ID — so rows that match on the remaining columns are treated as duplicates.

Does it remove rows that differ only in case or spaces?

Only if you choose so. “Ignore spaces at the start and end” is on by default; “Ignore upper and lower case” is off by default. Matching compares the values as they are displayed.

Which copy is kept?

The first occurrence by default, or the last occurrence if you choose so. The kept rows stay in their original order.

Can I see what was removed?

Yes. The download contains a Unique rows tab and a Removed duplicates tab. Each removed row lists the row number in the original sheet that it duplicated.

Is my file uploaded or changed?

No. The file is processed in your browser and your original is not modified; you download a new workbook.

Related tools