FREE ONLINE TABLE TOOL

Compare two lists

Make overlaps and differences between lists clear. Find common and unique items while keeping source positions.

No account neededFiles stay on your deviceOriginals preserved

Start with your data

Import data, confirm the rules, review the result, and export a new copy.

◈ Processed on your device
1Import data—2Configure—3Review—4Export

Drop your table here

Drag and drop a CSV, TSV, or delimited text file

UTF-8 · Up to 10 MB per file

Start with your data

File content is processed in your browser, without uploading it.
Kept in page memory · Continue across tools · Refreshing or closing clears the sessionCSV / TSV · UTF-8
Sample library Products · Supplier files · System imports

Clear this session?

Imported data, steps, and results will be released. Export any needed copies first. Original files are unaffected.

A CLEARER WAY TO WORK

Make overlaps and differences between lists clear.

Explore the scope, review process, and results in three practical scenes.

01 / SCOPE & PURPOSE

Paste lists and find overlaps

Paste registration lists, memberships, or identifier lists directly. Review common items, A-only items, and B-only items without repeated manual comparisons.

Illustrative scene for Compare two lists: Paste lists and find overlaps
Illustrative scene
02 / RULES & REVIEW

Flexible matching, original text

Ignore case or surrounding whitespace during comparison when needed. Matching rules stay separate from the original text and its source position.

Illustrative scene for Compare two lists: Flexible matching, original text
Illustrative scene
03 / RESULTS & NEXT STEPS

Review unions and occurrences

Inspect the deduplicated union alongside original occurrences. Choose an explicit scope to export a new file or copy tabular text.

Illustrative scene for Compare two lists: Review unions and occurrences
Illustrative scene
BUILT FOR YOUR TABLES

What Compare two lists can do

Explore the available features and choose what your table needs next.

Paste two lists

Use one item per line without first preparing a spreadsheet file.

Use in the tool

Items unique to each list

Review A-only and B-only items separately.

Use in the tool

Deduplicated union

Review the unique matching items across both lists.

Use in the tool

Optional normalization

Optionally ignore case or edge whitespace while preserving original text.

Use in the tool

Original occurrences

Inspect where and how items occur in the source lists.

Use in the tool
HOW IT WORKS

Three steps to a reviewed result

Confirm the input, inspect changes, and save the output you need.

01

Paste both lists

Paste lists A and B into their input areas, one item per line, then select Use these two lists.

  • Content stays in your browser
  • Source files remain intact
Go to the input area
02

Set the rules, run, and review

Paste lists A and B, with one entry per line. Choose whether matching ignores case or surrounding whitespace, then inspect common items, unique items, and the deduplicated union.

  • Process the full dataset
  • Review results and sources
Set processing rules
03

Choose a scope and export a copy

Choose the result or report and CSV or TSV format. Review the export summary and protection count, then confirm download or copy.

  • Read-back verification before export
  • Choose the scope explicitly
Continue in the tool
Need detailed rules, examples, and limits?Read the full guide

Compare membership across two lists

Compare two lists when each item is a single text value and your question is whether it appears on one side, both sides, or either side. The workbench returns Common items, Only in A, Only in B, and a Unique union. This is a set comparison. A value repeated five times in one list is still one distinct item for membership counts, although the report preserves its original occurrences and their positions for inspection.

Paste one item per line into List A and List B, then confirm those two lists. You can instead import tables and choose one column from each. Table input is helpful when a list is embedded in a wider catalog or registration export. Choose the actual identifier column, not a visually convenient description that may refer to more than one entity. The two selected columns do not need identical names, and their record positions do not have to align.

Decide how text should match

Exact matching is the starting point. Alpha and alpha are distinct, as are Alpha and a value containing spaces around Alpha. Ignore case and Trim surrounding whitespace are separate visible options. Choose them only if those differences are irrelevant to your task. They affect the value used for membership comparison while retaining the source text in the report. The original values are not translated when you switch the interface language.

Ignore empty items determines whether blank entries participate. Without that option, an empty item can be a member of a list just like another distinct value. With trimming enabled, a whitespace-only item can become empty for the comparison, so the order implied by these settings matters: normalization is evaluated before the empty-item decision. The text 0, false, NULL, or N/A is not automatically an empty item. Clear such markers explicitly in a preparation step if your task requires it.

Read the four sets correctly

Common items are present somewhere in both lists. They do not have to appear on the same line. Only in A contains items with no matching value anywhere in B, and Only in B is the reverse. The Unique union contains every distinct matching value from either side. Its order follows the first occurrence in A, followed by values encountered only in B. This makes the output predictable without sorting or changing either source.

The report includes the value used for matching, original values from A, their source positions, original values from B, and their positions. A repeated item can therefore have several listed locations. These locations are useful for returning to the source and deciding whether repetition was intentional. They do not mean repetition changes the set count. If your question concerns how many times each value appears, this tool's first version is not a frequency-difference report.

A case-sensitive example

Suppose List A contains Alpha, alpha, and Beta, while List B contains a space-padded alpha and Gamma. With exact matching, neither spelling of Alpha matches the padded value. The common set is empty, Only in A contains three items, Only in B contains two items, and the union contains five. This result can look surprising when the eye overlooks surrounding spaces, which is why the matching options must remain visible and deliberate.

Enable both Ignore case and Trim surrounding whitespace, then run again. Alpha and alpha in A now correspond to the padded alpha in B. The common set has one item, Only in A contains Beta, Only in B contains Gamma, and the union contains three items. The common report still shows both original A spellings and the original B value with its spaces, along with all three positions. The comparison identifies membership under a rule without rewriting that evidence.

Suitable tasks and important boundaries

This workflow is useful for comparing product-code lists, event-code exports, authorized contact lists, tag inventories, and filenames. It can help an organizer see which registration identifiers appear in an attendance export. That result only describes the two supplied lists. It does not establish whether a person truly attended, whether a contact is deliverable, or whether a source system has deleted a record. Verify the completeness and purpose of the exports before drawing a broader conclusion.

A list comparison is not a row-by-row comparison of two columns. If the first item in A is Gamma and the third item in B is Gamma, it is common regardless of position. Nor is this the right tool for comparing several fields of product records by a key; use Compare CSV files for that. Keeping membership, positional equality, and record-level changes distinct prevents an apparently correct count from answering the wrong question.

Copy or export an explicit result

After running, choose a result view and inspect the counts. Grid search is only a way to locate an item within that view. Open the export dialog and explicitly select the report you want, then choose a file, an archive of all reports, or copied table text. CSV and TSV outputs include report columns and source information rather than silently collapsing the result into unexplained values. Choose TSV if you want tab-delimited table text for pasting into a spreadsheet.

Spreadsheet-safe export prefixes formula-like content and reports the number of affected cells. Raw text keeps the original report values but requires acknowledging the risk of interpretation in a spreadsheet program. Generated output is read back to confirm its shape and values before the final download or copy. Because the report contains original text and positions, it can include information you may not want to share broadly. Review the exported scope with that in mind.

Frequently asked questions

How do I find items missing from one of two lists?

Paste one item per line on each side, choose the case and whitespace rules, and review the items unique to each list. Common items and the distinct union answer different questions. Repeated occurrences retain source information, but membership counts describe distinct matching values rather than every repeated appearance.

Does changing list order change which items are common?

No. Membership depends on the selected matching rules, not the line position. Order affects the presentation sequence and the preserved locations, but not whether an item exists on both sides. If changing order changes your intended meaning, your task probably requires a positional comparison rather than a set comparison.

Are repeated items discarded without a trace?

The set count treats repetitions as one distinct item, but the output records all original occurrences and positions from each side. This gives you evidence of repetition without pretending that three occurrences are three different members. A frequency comparison would need separate count semantics and is outside the current tool's scope.

Can an empty list be compared safely?

Yes. If A is empty and B contains items, the common set and Only in A are empty, while Only in B and the union contain B's distinct values under your selected rules. Both lists being empty is also a valid zero-result comparison. No placeholder item is inserted to make the output look populated.

Will case-insensitive matching identify every linguistic equivalent?

No. It uses a defined browser text-normalization behavior, not language-aware identity inference, transliteration, fuzzy spelling correction, or translation. Accented forms and distinct Unicode representations can remain different. Inspect the stored text when a visually similar item does not match, and avoid extending the rule beyond what the task justifies.

Can I continue processing without pasting again?

Yes. Imported lists and tables remain in the current page-memory session when you navigate through the site's tools or switch between English and Simplified Chinese. Apply a result to make it the current workflow table when appropriate. A refresh or closed tab clears the memory session, so copy or download results you need to retain.

Ready to work with your table?

Start with a sample to learn the workflow, then process your own files.