# List Comparer

> Compare two lists side by side to find unique items, common items, and differences. Supports case-insensitive comparison.

- Open the tool: https://overtooled.com/list-comparer
- Category: Text Tools
- Privacy: Runs entirely in your browser. Nothing is uploaded, no account is needed, and it works offline once loaded.
- Price: free, no sign-up
- Keywords: list, compare, unique, common, overlap, side by side

## In short

Compare two lists to find unique, common, and missing items.

## Overview

Compares two lists (one item per line) and shows items only in A, only in B, in both, and all unique items combined. Use it to diff email lists, inventories, user IDs or spreadsheet columns.

## Features

- Four views with counts: Only in A, Only in B, Common, All Unique
- Lines are trimmed and empty lines are ignored
- Case sensitive switch (off by default, so "Apple" and "apple" match)
- Every result is a set: each item appears once, in its first spelling
- Set-based lookups, so large lists compare quickly
- Summary cards: item counts of List A and List B, Common and All Unique
- Copy and pipeline buttons for the selected view

## How to use it

1. Paste the first list in List A and the second in List B, one item per line.
2. Choose a view: Only in A, Only in B, Common or All Unique.
3. Copy the result.

## Inputs

- Two lists, one item per line

## Outputs

- Newline-separated result for the selected view, plus counts

## Limits and notes

- Matching is exact after trimming (and lowercasing when case-insensitive); there is no fuzzy matching.
- Lists are not saved and nothing is uploaded.

## Questions and answers

### How does the List Comparison Tool work?

Each list is split into lines and stored in a JavaScript Set for O(1) lookups. The tool then iterates through Set A checking membership in Set B to find items unique to A, iterates Set B checking membership in A for items unique to B, and intersects both Sets to find common items. Case-insensitive mode lowercases all values before building the Sets.

### What results does the comparison show?

Items only in List A, items only in List B, and items common to both lists. This makes it easy to find what was added, removed, or shared between two datasets.

### Is the comparison case-sensitive?

Not by default: "Apple" and "apple" are treated as the same item. Turn on the Case sensitive switch to treat them as different.

### Can I compare spreadsheet columns?

Yes. Copy a column from each spreadsheet and paste them into List A and List B (one item per line). The tool shows the differences and overlaps instantly.

## Related tools

- [Text Diff Checker](https://overtooled.com/text-diff.md): Compare two texts side by side and see what changed
- [Remove Duplicate Lines](https://overtooled.com/remove-duplicates.md): Remove duplicate lines from lists and text instantly
- [Alt Code / Special Character Builder](https://overtooled.com/alt-code.md): Browse, search, and build strings from special characters and their Alt codes
- [Bibliography / Citation Helper](https://overtooled.com/bibliography-helper.md): Generate MLA, APA, and Chicago style citations for books, articles, and websites

---
Overtooled: 179 free tools that run in your browser. Index of all tools: https://overtooled.com/llms.txt
