Back to public tools
All tools
Keyed record reconciliation

CSV Comparison Tool

Compare two CSV files and find what was added, removed or changed. Match rows by a shared column, like customer ID, even if the rows moved.

Open the older file under Before and the newer file under After. Select Inspect columns, then pick a shared column that identifies each row, such as customer ID. Compare records shows what changed.

Before source
After source

Each source: UTF-8, 5 MiB, 50,000 records and 200 nonblank unique headers. TSV filenames select tab input automatically. Reports are complete up to 40 MiB.

Optional comparison policies

Keys stay exact unless key normalization is enabled; leading zeros are never converted to numbers. Duplicate policies apply within each source and are recorded in JSON/HTML. Excluding a group can leave an added/removed key on another side. Raw cell values are never rewritten.

How to use CSV Comparison Tool

Load Before and After tables

Paste each CSV or import its UTF-8 file. Choose comma, semicolon or tab separately for each source. All active sources need nonblank unique headers. Inspect columns, then map differently named After/Base headers to canonical Before names. Unmapped fields remain ignored; raw schema changes stay separate.

Choose keys and compared columns

Select one or more shared Key columns that identify each record. Keys must be nonblank and unique unless you choose an explicit duplicate policy. They are not guessed. Matching is exact by default, preserving leading zeros and significant whitespace/case; applying trim/case settings to keys is a separate choice.

Choose mapped non-key columns to compare. With none selected, the tool compares only whether each key is present; matched keys count as unchanged under that choice. Compare records produces the result.

Choose optional rules or a common base

Trim/case comparison is optional; numeric/date/instant rules apply per selected field. Numeric values use finite floating-point decimals within the safe range. Dates support explicit year-month-day, day/month/year or month/day/year formats. Pairwise tolerances can hide small differences and do not prove general equivalence.

Add up to ten ignored-row filters with literal equals, contains or blank checks. Filters run before key validation and duplicates. Counts and the first fifty ignored record numbers are retained. Duplicate exclusion applies within each source and can leave an added/removed key on another side.

Enable Three-way comparison, load the common Base and inspect again. The report distinguishes one-sided changes, equivalent concurrent changes, conflicting edits, concurrent additions and deletion versus editing. It compares selected mapped fields and presence; it does not silently merge files.

Review and save findings

Added, Removed, Changed and Unchanged show those record groups. Schema shows column differences. Changed records include raw before/after values. Previous/Next changed cell and the numbered jump control navigate every accepted changed/conflicting cell, with source record numbers. Preview findings are limited; Download full report JSON includes all findings, original strings, source references, rules and differences. Download HTML diff report creates a complete self-contained, escaped report without active content or remote resources. Copy selected findings copies the selected preview group, not the full report.

In two-way mode, Prepare added/removed CSVs makes complete exports using each original source schema. Three-way comparison exports JSON/HTML classifications without choosing a merged CSV. Spreadsheet formula protection is on by default and prefixes formula-like headers and cells with an apostrophe. Turning it off keeps raw CSV values. Comparison follows the explicit selected rules; JSON/HTML keep original strings. CSV quoting alone does not prevent spreadsheet formulas.

Try an example loads two customer tables. Edits clear old results; Cancel stops work. Clear empties both sources and focuses Before CSV. Undo restores the previous sources so you can inspect and compare again. Failed imports keep previous text.

Example: find a customer name change

Try an example loads Before with 1,Alice and 2,Bob, and After with 2,Robert and 3,Cara. Inspect columns, choose Key id, leave Compare name selected and Compare records.

The result has one removed record, one added record and one changed record. ID 2 changed from Bob to Robert. No record is unchanged in this example.

About comparing table versions

Key-based comparison follows a record’s identifier across two tables, even when row or column order changes. A key can contain several selected columns, such as an account and item code together.

Added, changed and unchanged records follow After order; removed records follow Before order. Ignored columns and column-only changes do not automatically mark matched records as changed. The default does not infer numbers/dates or use fuzzy matching. Optional numeric rules use the larger of absolute tolerance or a percentage of the larger magnitude. Date rules require an explicit per-source date format; instant rules require ISO timestamps with seconds and an offset. Normalization is explicit and never rewrites raw report values.

Quoted line breaks stay within a CSV record. Source references count records rather than physical text lines, with the header as record one. Invalid quoting, inconsistent rows, blank keys and default-policy duplicate keys stop comparison. First/last/exclude-group duplicate policies use source order and list their decisions in full reports.

Processing uses owned local workers with a twenty-second task limit and an eight-second comparison budget. Inputs and drafts stay in memory. Recipes save exact ordered schemas and policies without table rows only when explicitly downloaded. Reload clears the draft.

Stars and feedback

Loading…

Tool reference #036