Free CSV Cleaner & Merger

Clean and merge CSV files locally. Map columns, remove duplicates by selected keys, preserve IDs and download cleaned data with a removed-row audit report.

CSV Cleaner & Merger

Inspect exports, align columns and review every cleanup before downloading.

Choose CSV files or add pasted CSV, then inspect the sources.

1. Add and inspect sources

Up to 10 UTF-8 sources · 5 MiB each · 20 MiB total · 50,000 records and 1,000,000 cells after merging · 200 output columns. Records can contain quoted commas and line breaks.

CSV sources
Add pasted CSV instead

Files, cell values and filenames are processed in this tab without upload or autosave. Downloads and clipboard copies are outside Reset. Tool events contain fixed action/result labels, not private data.

Your reviewed CSV will appear here

Add sources, inspect their columns and choose the cleanup rules. Changing sources or settings clears old results.

Steps

How to use

  1. Choose CSV files or add pasted CSV. Set each source delimiter and header choice, then inspect.
  2. Review inspection warnings, explicitly acknowledge any failed sources, and choose the valid sources to include.
  3. Map matching columns to the same output name or explicitly exclude columns.
  4. Choose whitespace, blank-record, duplicate-key and export settings, then select Clean & merge.
  5. Review the kept and removed records. Download the cleaned CSV and audit files before importing.
Examples and use cases
  • Combine monthly CRM exports with a shared customer_id field.
  • Align Email Address and email explicitly before merging contact exports.
  • Remove selected-key duplicates while retaining contacts whose key values are missing.
Privacy, limits and tool details

Key facts

Inputs
UTF-8 CSV/TSV/TXT files or pasted CSV; header and delimiter choices per source
Batch limits
10 sources; 5 MiB per source; 20 MiB selected total
Table limits
50,000 data records; 200 output columns; 1,000,000 cells after merging
Matching
All included columns or selected keys; keep first/last in source order; optional letter-case comparison
Missing keys
Records with any blank or missing selected key stay separate
Outputs
Cleaned CSV, removed-row CSV with retained-record references, and JSON audit; 32 MiB combined export limit
Processing
Local module worker, 30-second limit per inspect or cleanup operation; no upload or autosave
Price and account
Free; no ToolMint account required
Privacy

Privacy and processing

Processing method: A local module worker parses CSV with Papa Parse without type conversion. Included columns map by reviewed output names, missing values become empty strings, and selected cleanup and duplicate rules run before export. All CSV fields are quoted, with optional UTF-8 BOM, formula-prefix escaping and source columns.

Privacy model: Source files, filenames, headers, cell values, mappings and exports remain in current-tab memory. The tool does not upload or autosave them. The interactive area is masked for session recording. Existing consent-aware analytics receive fixed tool/action/result labels, not source contents, names or error messages. Downloaded files can contain private data and remain outside Reset.

Limitations

Limitations

  • XLSX, binary spreadsheets and non-UTF-8 files are not supported.
  • Header labels are trimmed, generated when empty and made unique; inspection reports those changes before mapping.
  • Extra cells beyond a header block that source; shorter records receive empty cells with a warning.
  • Matching is exact or letter-case-insensitive, not fuzzy. Cell values, dates and business facts are not verified.
  • Column exclusions affect blank-row detection and duplicate matching. Missing mapped columns become empty strings.
  • CSV has no column types. A spreadsheet may reinterpret IDs even when the CSV contains their original text.
  • Formula-prefix escaping changes exported cell text and is not a guarantee for spreadsheet software or later re-saves.
  • Source references are CSV record numbers, which can differ from physical lines when fields contain line breaks.
Features

Benefits

Reviewed merging

Align headers, include sources and explicitly exclude columns before cleanup.

Controlled duplicate rules

Use included columns or selected keys and choose the retained source record.

Auditable exports

Download removed rows with retained-record references and the settings audit.

Tips

Pro tips

  • Keep an untouched source export.
  • Review source order before choosing first or last duplicate retention.
  • Match on a stable identifier where available; names can identify different people.
  • Import IDs and postal codes as text in the destination system.
  • Review excluded columns and the removed-row audit before importing.
Watch out

Common mistakes to avoid

  • Deduplicating contacts on a shared surname.
  • Expecting similar names or differently formatted telephone numbers to match automatically.
  • Using a comma split on fields containing quoted commas or line breaks.
  • Treating blank identifiers as one duplicate group.
  • Disabling formula-prefix escaping without checking the destination and input.

Sources

Detailed CSV Cleaner & Merger guide

Clean an export before importing it

Use the CSV Cleaner & Merger when exported tables need whitespace cleanup, combined columns or reviewed duplicate removal. It accepts UTF-8 delimited text, keeps values as strings and returns CSV plus audit files in your browser. It is free and needs no account. It does not verify that a contact exists or that an amount, date or address is correct.

If the task is changing CSV into JSON, use the CSV to JSON Converter. This cleaner keeps the output tabular and makes removal decisions visible. Use the JSON to CSV Converter first when the source is a JSON array.

Worked example: overlapping CRM exports

The built-in example contains two fictional monthly exports. The first has customer_id, email, name and postal_code. The second has email, customer_id, name and status. The column order differs, but matching names align automatically. One customer appears in both sources with additional status information in the later export.

  1. Load the example and select Inspect sources.
  2. Review the mapped columns. The resulting table has five business columns.
  3. Keep trimming and blank-record removal enabled for this example.
  4. With duplicate removal enabled, choose Selected key columns and select customer_id.
  5. Keep the first record or change to Keep last record in source order, then select Clean & merge.
  6. Review both output previews and download the removed-row report.

For these exact example sources, the input contains seven data records. One blank record and one matching-key duplicate are removed, leaving five records. Keeping the first overlapping customer preserves its postal code; keeping the last preserves its later status. The tool does not fill missing fields from the discarded duplicate. Choose the rule that fits the destination, or retain both records and reconcile them separately.

Map column names deliberately

Output names determine which source columns align. Mapping Email Address to email joins those fields across files. Names are case-sensitive: Email and email remain different until you map them together. Missing mapped values become empty strings.

Inspection trims header labels, generates names for empty headers and gives duplicate headers unique suffixes. It reports those changes. Review the mapping before cleanup, particularly when a source intentionally contains repeated column labels.

Two columns from the same source cannot share an output name because one could overwrite the other. Rename one or explicitly exclude it. Excluding a column removes it from the output, blank-record detection and duplicate comparison. A record containing data only in excluded columns can therefore count as blank.

Choose a duplicate rule

Comparison Use it when Review before removal
All included columns Repeated exports contain identical complete records Extra status or timestamp fields can make otherwise related contacts different
Selected key columns A stable ID or reviewed combination identifies the same record Shared names and reused email addresses can identify different people
Ignore letter case Uppercase and lowercase should compare equally for this dataset This changes matching only; it does not rewrite retained values

Keep-first and keep-last follow the displayed source order and the order of records within each source. Move sources before inspection when that order matters. Retained records preserve their relative order.

Records missing any selected key remain separate. The cleaner does not group every empty email address into one contact. Matching does not remove punctuation, standardize phone numbers, infer country codes or perform fuzzy name matching.

Preserve identifiers and exact values

The parser does not convert numbers, booleans or dates. Values such as 000123, 02108 and 9007199254740993 remain strings. Trimming removes whitespace only when selected.

CSV cannot carry spreadsheet column types. Quoting a value does not guarantee that Excel or another importer will keep it as text. Choose text columns during import when identifiers, postal codes or version labels must retain their exact representation. Keep the original export.

Review spreadsheet formula handling

Formula-prefix escaping is enabled by default. It adds an apostrophe to formula-like exported cells, which can include negative numbers and +phone numbers. The preview shows those changes. Disable it only when the receiving workflow needs exact source text and you have reviewed the input.

This precaution is not a guarantee for spreadsheet software or later re-saves. See the OWASP CSV Injection guidance. Never treat a downloaded CSV as safe merely because its fields are quoted.

Understand inspection errors and limits

Choose a delimiter separately for each source. Auto detection considers comma, semicolon, tab and pipe. A one-column result is valid, but inspection warns so you can check whether the delimiter was wrong.

Quoted separators, doubled quotes and quoted multiline fields are parsed as CSV rather than split on each comma. A multiline value is one CSV record even when it occupies several physical lines. Report references use record numbers, including the header when present.

Short records receive empty cells and a warning. A record with extra cells beyond its header blocks that source. Correct the source or inspect without a header row; the tool does not discard the extra cells. Malformed quoting and invalid UTF-8 must be corrected before that source can be included.

Use no more than ten sources, five MiB per source and twenty MiB total. The merged table is limited to 50,000 data records, 200 business columns and one million cells. Exports together must fit within 32 MiB. Each operation stops after thirty seconds. Low-memory devices can fail below those limits.

Read the audit files

The cleaned CSV contains the selected business columns and optional source-file/record columns. The removed-row CSV contains normalized removed values, the removal reason and the retained record for duplicates. Blank removals have no retained-record reference.

The JSON audit records source order, mapped and excluded columns, settings, counts and excluded sources. It does not include a second complete copy of the retained dataset. Audit files can contain private filenames and source details; review them before sharing.

Both tables show up to twenty output records. A shortened preview is not a file-size limit or proof that every result has been inspected.

Files, pasted text, mappings and outputs stay in current-tab memory. This tool does not upload or autosave them. The interactive area is masked for session recording. Existing consent-aware analytics receive fixed operation/result labels without filenames, headers, cell values or error messages.

Reset stops processing and clears this tool's tab state and temporary download URLs. It cannot remove files already downloaded or text copied elsewhere. Cancel retains the sources and settings so you can reduce the batch or retry.

Compare small reviewed exports with Text Diff Checker, inspect converted records with JSON Formatter, or browse the Developer tools category. The guide JSON Tips Every Developer Should Know covers adjacent structured-data work.

Technical references

Frequently asked questions

It is free and requires no account. CSV files, pasted text and outputs are processed in a local browser worker without upload or autosave. The interaction area is masked for session recording, and tool events do not contain private data.

Yes. After inspection, edit the output names so matching columns use exactly the same name across sources. Names are case-sensitive. Unmatched columns are added, and missing cells become empty strings. Two columns from one source cannot map to the same output column.

Enable duplicate removal and compare all included columns or selected key columns. Choose first or last in source order, with optional letter-case comparison. Records missing any selected key stay separate. The removed-row CSV identifies the retained record.

Parsing does not convert cell values to numbers or dates. Trimming and formula-prefix escaping can change text when selected. A CSV does not store column types, so import identifiers as text in the destination spreadsheet or application.

Valid sources remain available. Read the failed-source message, correct or remove the source, or explicitly acknowledge continuing without failed sources. Excluded sources are recorded in the audit. No extra cells are silently discarded.

It prepends an apostrophe to formula-like cells in CSV exports, including some +phone numbers and negative numbers. It changes exported text and is enabled by default. It is a precaution, not a guarantee after a spreadsheet save and reopen.

Use up to ten UTF-8 sources, five MiB each and twenty MiB total. The merged table is limited to 50,000 data records, 200 columns and one million cells. Combined exports are limited to 32 MiB, with 30 seconds per operation and previews of up to twenty records.
7 min read Works in browser Privacy notes