ToolMochi

Set Operations

Merge two lists into a union, intersect them, or find what is only in the first — split on commas, semicolons, spaces or new lines.

01Set 1
0 items
02Set 2
0 items

Fill in the boxes, then pick an operation above

This tool runs entirely in your browser. Your input is never uploaded.

How to use

  1. 1Paste your lists into the two boxes — items can be separated by commas, semicolons, spaces or new lines
  2. 2Click Union, Intersection or Difference to run the operation
  3. 3Pick an output format and copy the result

FAQ

Which separators are supported?

Commas, semicolons and any whitespace (spaces, tabs, line breaks) split items. Leading and trailing spaces are trimmed automatically.

Is the calculation case-sensitive?

Yes. Apple and apple are treated as different items, and results keep the order in which items first appear.

Related tools

Letter Case Converter

Convert text to UPPERCASE, lowercase, Title Case, Sentence case and more — instantly.

Remove Duplicate Lines

Remove duplicate lines instantly, with options for case, whitespace and empty lines.

Find and Replace

Batch find and replace text, with regex and case-sensitive options.

Reverse & Sort Text

Reverse characters, flip line order, sort lines alphabetically, or shuffle them.