Clean text & lists

Compare Two Lists: Common & Missing Items

Find items only in the first list, only in the second, or shared by both, regardless of line order.

Work stays in your browserLocal tool processing

Add one item per line to each list. Choose how spaces and case are treated.

Work stays on this deviceInput is processed in this page, not uploaded or saved. Downloads are yours to keep; refreshing clears the workspace.
Your workspace

Find what is shared or missing

Each input: up to 1 MB of UTF-8 text and 20,000 lines. Line endings are normalized to LF. An empty other list is allowed; both lists cannot be empty.

Comparison settings

Options
Uses Unicode lowercase, not fuzzy names, aliases or accent matching.

Results show unique membership, not occurrence-by-occurrence pairing. First-seen order and list A spelling are used for shared items; duplicates are counted separately.

Ctrl / ⌘ + Enter to run

Result

Membership comparison

Run the task to review a counted result here.

Load the example to try the complete workflow.
Limits and next steps

Membership comparison is exact after your chosen normalization. It does not compare record fields or resolve fuzzy names. Use CSV comparison for structured exports. Copy a result group, or clean your source list and run again.

Reset this workspace?

This clears your input and result. Keep your draft if you still need it; chosen options remain selected.

Get a result you can use

Instructions and examples

From input to output

  1. Put one item per line in List A and List B, or load TXT files.
  2. Choose whether to trim spaces, ignore case and ignore blank lines.
  3. Select Compare lists. Review the three groups, then choose which group to copy or download.

Settings and result behavior

  • Results represent unique membership. Repeated occurrences are counted separately, not paired.
  • Ignore case uses Unicode lowercase, without fuzzy names, aliases or accent matching. Shared items retain list A spelling.
  • One list can be empty; both cannot be empty.

A worked example

Input
List A: Ada
Lin
Sam

List B: Sam
Ada
Jo
Settings
Trim spaces on; Ignore case off; Ignore blank lines on.
Expected result
Only in A: Lin. Only in B: Jo. Shared: Ada and Sam, in list A order.

Supported input and limits

Type or paste text, or use the TXT import control for a UTF-8 text file. PDF and Word documents cannot be imported into this text workspace. Results download as TXT, either one group or all groups with headings.

Exact membership, not fuzzy identity matching. One item per line, up to 1 MB and 20,000 lines per list. Normalization may combine distinct entries.

If the result is unexpected

  • If apparently identical items differ, inspect spaces and case, then deliberately choose normalization.
  • If you need changed fields for records with IDs, use Compare two CSV exports instead.

Check before using the result

Check that normalization has not combined distinct items. Confirm the chosen output group before sharing a guest list or import list.

Report a problem with this tool. Include a nonsensitive example and your browser details.

Questions about this tool

Can the tool recognize similar names or misspellings?

No. It compares exact list membership after the case and whitespace options you select. Normalization may combine distinct entries, so review the result before treating it as an identity match.