# Confrontare due file CSV

> Scopri cosa è stato aggiunto, rimosso o modificato tra due esportazioni.

Human page: https://unmakelabs.com/it-it/confrontare-due-file-csv/. This is the version for AI agents.

## What it does

Confrontare due file CSV riga per riga, abbinando le righe per ID. Scopri cosa è stato aggiunto, rimosso o modificato tra due esportazioni.

## Le righe vengono abbinate per ID, non per posizione

Confrontare la riga 5 con la riga 5 non funziona più appena viene inserita una riga o l'elenco viene riordinato. Lo strumento trova la colonna che identifica ogni riga in entrambi i file CSV, come un codice articolo, un codice cliente o un ticker, e abbina le righe in base a quella. Se manca una colonna di questo tipo, vengono abbinate prima le righe identiche, ovunque si siano spostate, poi le altre in base a quante celle hanno in comune.

## Cosa ottieni

Le due tabelle affiancate: celle modificate in giallo (passa sopra o tocca per vedere il valore precedente), righe aggiunte in verde, righe rimosse in rosso, colonne aggiunte o rimosse segnalate. Puoi scaricare un report Excel con un riepilogo, una riga per ogni modifica (chiave, colonna, valore precedente, valore nuovo) e il nuovo file con tutte le modifiche colorate, oppure un elenco CSV delle modifiche.

## Facts

- **Confronta:** .xlsx con .xlsx, CSV con CSV o uno di ciascuno; qualsiasi separatore e codifica
- **Trova:** Celle modificate, righe aggiunte e rimosse, righe riordinate, colonne aggiunte o rimosse, '01000' diventato 1000
- **Salva:** Report Excel evidenziato (.xlsx), elenco CSV delle modifiche
- **Privacy:** Il confronto avviene sul tuo dispositivo; nessun caricamento

## How a person does it

1. **Scegli i due file.** Tocca Scegli due file e seleziona insieme la versione vecchia e quella nuova (la più vecchia viene considerata quella precedente), oppure una dopo l'altra.
2. **Leggi il risultato.** La risposta indica quante righe sono state modificate, aggiunte o rimosse. Le due tabelle sotto mostrano solo le righe con modifiche; togli la spunta dalla casella per vederle tutte.
3. **Scarica il report.** Tocca Scarica report per ottenere il file Excel colorato. Se le righe sono state abbinate in base alla colonna sbagliata, scegli la colonna chiave sotto il risultato.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/it-it/confrontare-due-file-csv/?src=https://unmakelabs.com/apps/xlcompare/samples/nyse-listed-2026-12-01.csv`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: none: files never go in a link. `?old=<public file URL>&new=<public file URL>` opens two files the visitor's browser can fetch (CORS).

Embed: `<iframe src="https://unmakelabs.com/embed/xlcompare/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Good to know

Vengono confrontati i valori, non le formule o la formattazione. I numeri vengono confrontati come numeri (1,5 in un CSV tedesco equivale a 1.5 in Excel); un CSV non ha tipi di dati, quindi il suo 75001 equivale sia al numero sia al testo 75001, mentre tra due file Excel un testo confrontato con un numero conta come cambio di tipo. Testato su 120 coppie generate con modifiche note (120 su 120 con tutte le modifiche trovate e nient'altro) e su 5 coppie reali di file open data pubblici, tutte in accordo con una verifica separata.

## Not done by this tool

- Non confronta formule, colori, commenti o grafici
- Non apre nel browser vecchi file .xls, PDF o file oltre 30 MB
- Non unisce i due file

## Value

Compares two versions of a table, in the browser: two .xlsx files, two CSV files or one of each. Columns are matched by name; rows are matched by a key column found automatically (an ID that is unique and filled in both files, such as an article, customer or ticker number) or chosen by the visitor, otherwise by their content (identical rows first, wherever they moved, then by shared cells). Every matched row is compared cell by cell, telling a changed value from a changed type (the text '01000' against the number 1000, a date stored as text). Both tables are shown side by side with changed cells, added and removed rows marked; the download is a highlighted .xlsx report (summary, one row per change, the new file with every change coloured) or a CSV list of changes. A program checks every result: every row of both files is accounted for exactly once and every cell not listed as changed is equal; the report is read back and checked. Nothing is uploaded. Free, no sign-up.

## When it fits

- Someone gets this month's price list, stock list or customer export and needs to know what changed against last month's.
- Someone has two versions of a spreadsheet that went back and forth by email and needs the differences cell by cell.
- Someone checks an export from a new system against the old one (same rows, same values, nothing lost).

### When not

- Comparing formulas, formatting or charts (the tool compares values and their types).
- Old binary .xls files, PDFs or files over 30 MB in the browser.

## Why use it instead of the alternatives

- Nothing to install: the tool opens two public files by link (?old=, &new=) in any browser, phones included, and can be embedded (/embed/xlcompare/).
- The engine has no DOM; a server copy for agents (POST two files, get the report and a JSON list of changes) is prepared and not live yet.
- Excel's Spreadsheet Compare (Inquire) needs Windows and Office Professional Plus; online compare sites upload both files to their servers; Excel formulas (VLOOKUP/XLOOKUP) need building per file and miss added rows, re-sorted rows and type changes.
- This tool matches rows by their key automatically, works with CSV and .xlsx mixed, keeps both files on the device, and proves its result by program.

### What rebuilding it would take

- Read both files (CSV encodings and separators, .xlsx sheets) into typed tables and match the columns by name.
- Find a key column that is unique in both files, match rows by it or by content, and compare every cell telling value from type changes.
- Write a highlighted .xlsx report, read it back, and prove that every row is accounted for and every unlisted cell equal.
- Plus a test set of generated pairs with known edits and real public file pairs, scored by program.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Files are read on the user's device and never uploaded.

_Status: CSV and .xlsx compare, the highlighted .xlsx report and the CSV list of changes work in the browser; the agent API is prepared (same engine under Node), not live._

## Privacy

- Files are read on the user's device and not uploaded; there is no share link for files.
- The page loads Papa Parse and fflate from unmakelabs.com itself; no third-party code host is contacted.
- The optional AI summary sends only the change list (first 60 changes) after a click and a confirmation.

## Data

Il confronto avviene nel browser; i tuoi file restano sul tuo dispositivo. Non viene caricato nulla.

## FAQ

- **Come faccio a confrontare due file CSV per trovare le differenze?** Seleziona qui entrambe le versioni. Le righe vengono abbinate automaticamente in base alla colonna ID, ogni cella viene confrontata e vengono segnalate celle modificate, righe nuove e righe rimosse. Scarica il report Excel colorato.
- **E se le righe sono in un ordine diverso?** Nessun problema: le righe vengono abbinate per chiave (o per contenuto), non per posizione. Le righe riordinate vengono contate a parte e non risultano come modifiche.
- **Posso confrontare un CSV con un file Excel?** Sì. Ogni file viene letto con la sua codifica, il suo separatore e il suo foglio; numeri e date vengono confrontati come valori.
- **Funziona senza Excel o su Mac?** Sì. Funziona in qualsiasi browser su Windows, Mac, Linux, iPhone e Android; lo strumento di confronto di Excel richiede Windows e Office Professional Plus.
- **È davvero gratis?** Sì: niente pubblicità, niente registrazione, nessun limite.
- **Caricate i miei file?** No. Entrambi i file vengono letti all'interno di questa pagina, sul tuo dispositivo.
- **Può usarlo un agente IA?** Un agente può aprire due file pubblici tramite un link (aggiungi a questa pagina ?old= e &new= con gli indirizzi dei file). Una versione server che restituisce il report e un elenco JSON delle modifiche è pronta ma non ancora attiva.
- **Chi lo realizza?** Unmake Labs (Julien Salomon). Contatto: hello@unmakelabs.com.

## Related pages

- [Confrontare due file Excel](https://unmakelabs.com/it-it/confrontare-due-file-excel/)
