Remove Duplicate Rows
Remove matching CSV records and choose which copy to keep.
- Free
- Works Offline
- No Uploads
How to Remove Duplicate Rows from CSV
- Open the HTML, review Security Check, then select Continue.
- Open a rectangular UTF-8 CSV with a unique header row, or select Open Sample.
- Choose Entire Row or Selected Columns. To use selected columns, check at least one key and choose what happens when a key field is empty.
- Choose Keep First or Keep Last, then select Review Duplicates. Matching uses exact CSV field text, including whitespace and leading zeros.
- Compare the Kept Records and Removed Records in the preview. Source Record 1 is the header. Download CSV saves a separate file.
Choose the Record to Keep
- Deduplicate spreadsheet data exported to CSV with exact full-row or selected-column comparison.
- Keep the first or last match. Review kept and removed records before saving.
- For example, choose Code to group 001 with 001 while retaining 1 as a separate key.
Formats and Compatibility
| Input | A UTF-8 comma-separated CSV with a header, up to 32 MiB, 50,000 data records, 256 columns, and one million fields including the header. |
|---|---|
| Output | A CSV copy with the original header and the surviving records in source order, plus a preview of the records removed. |
| Browser | A modern browser with local file support. |
| Scope | Reads one rectangular UTF-8 CSV with unique headers. Compare exact fields, retain source order, and export a separate CSV containing the original header and surviving records. |
| Operating Systems |
Local Processing Without Uploads
This browser-based tool runs locally with no upload. The offline ZIP includes the complete tool and an embedded sample.
Select Open Sample to see the workflow with the included example.
CSV Matching Rules
Matching uses exact decoded field text and preserves case, spaces, and leading zeros. For selected keys, you decide how empty fields participate. Downloaded rows retain their input quoting and record endings.
Review the Cleaned CSV
Compare the kept and removed records before downloading. Keep Last retains the survivor at its original position, so the sequence of matching groups can change.
Frequently Asked Questions
Can I remove duplicate rows offline?
Yes. Extract the Tool ZIP and open RemoveDuplicateRows.html to work with the local CSV.
What does the local remove duplicate rows tool compare?
It compares exact field values in every column or the key columns you select.
How does the free remove duplicate rows tool handle missing keys?
Choose to keep incomplete rows separately, match empty key fields, or stop for an empty key.
Can I remove duplicate rows without uploading?
Yes. The file and its cleaned copy are processed in your browser.
Where is the remove duplicate rows download?
Download Tool ZIP saves the standalone tool. Download CSV saves only the reviewed output.
How do I remove duplicate rows in browser mode?
Open the tool, choose a CSV, set the key and retention rules, then select Review Duplicates.
Can I use this as an Excel duplicates remover?
Export the worksheet as a UTF-8 comma-separated CSV first. Review the cleaned CSV and import it into Excel with text column settings when leading zeros matter.
Does this tool work offline on Windows, macOS, Linux, and ChromeOS?
Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.
Which browsers can I use with this offline tool?
Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.