How to use this tool
- Enter first list, second list, comparison, letter case.
- Select Update result to view the result.
- Check the method and assumptions below before using the result.
Input reference and sample values
Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.
| Input | Format and units | Sample |
|---|---|---|
| First list | Keep the structure and separators shown in the sample. Line breaks are retained in this input. | apple
banana
pear |
| Second list | Keep the structure and separators shown in the sample. Line breaks are retained in this input. | banana
pear
orange |
| Comparison | Choose In both lists / Only in first / Only in second / Only in one list / Combined unique entries. | In both lists |
| Letter case | Choose Case sensitive / Ignore case. | Case sensitive |
Result for these sample inputs
banana pear
- Matching entries
- 2
Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.
The method, explained
Trim each line, remove empty lines and deduplicate. Compare normalized entries as sets; preserve the first spelling and original input order.
Using first list = apple banana pear, second list = banana pear orange, comparison = common, letter case = sensitive, the result is banana pear. Change these example inputs to match your task; use the method above to check each step.
What to keep in mind
One item per line; leading and trailing spaces are removed. Locale-specific case equivalence is not inferred.
Common questions
Will repeated entries appear repeatedly?
No. This is a set comparison: each normalized item appears once. Use Text Diff when line positions and repeated occurrences matter.
Does my text leave my device?
Processing runs locally in this browser. Your pasted text is not uploaded to an API or stored in a ClarityKit account.
Methodology maintained by ClarityKit. How these tools are built and checked.