Comparateur de listes (intersection et différence)

Comparez deux listes ligne par ligne : éléments communs (intersection), uniquement dans A, uniquement dans B et union sans doublons.

A: 6 lines (5 unique) · B: 5 lines (5 unique)
Common (A ∩ B) — 3

À propos de Comparateur de listes (intersection et différence) — Guide détaillé

Catégorie: Traitement de texte 100 % local dans le navigateur

The List Compare & Set Operations tool analyzes two line-separated lists side by side to extract common items (intersection A ∩ B), items exclusive to List A (A − B), items exclusive to List B (B − A), the deduplicated union (A ∪ B), and the symmetric difference (A △ B).

Designed for developers, SEO analysts, and operations teams working with email lists, SKU catalogs, server allowlists, and keyword exports, it supports whitespace trimming, case-insensitive comparison, alphabetical sorting, and instant TXT/CSV export—all locally in the browser.

#list #compare #diff #intersection #union #deduplicate #set

Fonctionnalités clés

  • Instant calculation of Intersection (A ∩ B), Only in A (A − B), Only in B (B − A), Unique Union (A ∪ B), and Symmetric Difference (A △ B)
  • Flexible matching controls: ignore letter case, trim leading/trailing whitespace, and sort output alphabetically
  • Live item counters showing raw line counts, unique counts per list, and exact counts for every set view
  • One-click list swap, copy result, and download as TXT or CSV with 100% browser-side privacy

Mode d’emploi

  1. 1

    Paste your first dataset into List A and your second dataset into List B (one entry per line).

  2. 2

    Toggle Ignore Case, Trim Spaces, or Sort A–Z depending on how strictly items should be matched.

  3. 3

    Switch between Intersection, Only in A, Only in B, Unique Union, or Symmetric Diff tabs and copy or export the result.

Cas d’utilisation courants

  • → Finding overlapping or newly added URLs, keywords, and backlink domains between two SEO crawls
  • → Reconciling customer email lists, allowlists, or e-commerce SKU inventories between two spreadsheets
  • → Comparing environment variable keys, package dependencies, or database IDs across staging and production

Outils associés

Questions fréquentes et confidentialité

How is List Compare different from a line-by-line text diff tool?

A text diff checks sequential line edits and order changes, whereas List Compare treats each input as an unordered mathematical set so you can instantly extract common items, missing items, and unique unions regardless of row order.

Does it automatically remove duplicate entries inside List A or List B?

Yes. Set operations deduplicate each list internally while displaying both the original line count and the unique item count in the header badges.

Is it safe to compare confidential email lists or customer IDs?

Yes. All comparisons execute locally in JavaScript memory inside your browser; zero lines are transmitted over the network.