Remove duplicate CSV rows with a preview

Deduplicate complete rows or selected columns in your browser. Preview the removed count, keep first or last occurrences and download a separate file.

Data Workspace

Local tables. Clear decisions.

On your device
Drop CSV, TSV or JSON files here.
Import settings & limits

Settings apply to newly added CSV/TSV files. Up to 8 sources; 8 MiB per file, 24 MiB total source bytes; 50,000 rows, 100 columns and 500,000 cells per table; 1,000,000 source cells in total. No XLSX support. JSON must be a flat object array.

Remove duplicates

No columns selected means compare the full row. Selected columns compare exact strings, including case, whitespace and leading zeros.

A clearer view starts with one table.

Add a CSV or TSV, or try three examples. Your input stays in this tab. No account, upload or spreadsheet installation.

A reproducible example.

Input

id,status
001,draft
001,ready
002,ready

Expected output

Key: id · Keep: Last
id,status
001,ready
002,ready

Steps to follow.

  1. Import the source and select Remove duplicates.
  2. Leave all columns unchecked for full-row equality, or select id for this example.
  3. Choose Last and Preview removal. The example keeps two rows and excludes one.
  4. Inspect the separate result preview and download it. Select the original source again to try a different rule.

Formats, matching and limits.

Equality is exact text, without case folding, whitespace trimming or fuzzy matching. Last means the last occurrence in the source, not the latest timestamp. Kept rows remain in their original relative order. A session never removes data from the source file. The standard 50,000-row and 500,000-cell table budgets apply.

All processing happens in your browser. Use file selection and downloads in a modern Chrome, Edge, Firefox or Safari. Source files stay unchanged; leaving or reloading clears the temporary data session.

Problems worth checking.

Two visually similar rows both remain.

Inspect spaces, letter case and leading zeros. Different values are intentionally not merged.

Two versions of an ID have different status values.

Choose the id column rather than full-row comparison, then deliberately choose which occurrence to keep.

I need to keep the newest date.

This tool does not interpret dates. Prepare the desired source order first and verify it before selecting Last.

Related next steps.

Read the complete practical guide