Find additions

Find additions returns every line in text B that does not appear in text A. Paste both into the input pane separated by a line of ---; the tool loads text A into a set, walks text B, and keeps any line not present in the set. Order follows text B. The match runs in your browser; nothing uploads. For lines removed from A see find removals.

Input
Line 1:1 LF cloud_done Saved locally
Result Find Additions
0 lines 0 chars

Set difference B minus A

Find additions computes the set difference B − A: every line that exists in text B but is absent from text A. The split between texts is a line containing exactly ---. Lines from text A are loaded into a JavaScript Set for O(1) lookup; text B is walked line by line and any line not in A's set is emitted.

Matching is exact: case, whitespace, and trailing spaces all count. Hello and hello are treated as different lines. Use lowercase on both halves first to normalise case, or trim whitespace to strip margin whitespace before comparing.

Output preserves the order in text B. The mirror operation is find removals, which returns A − B. Together they describe the symmetric change between two list states. For the set of unchanged entries see find common lines.

How to use find additions

  1. 1Paste the older list as text A, then a line with ---, then the newer list as text B.
  2. 2The output panel lists every entry from B that did not appear in A, in B's order.
  3. 3Click Copy to copy the additions list, or Download to save it.
  4. 4Pivot to find removals for the opposite direction (A − B).
  5. 5Pre-clean with trim whitespace when trailing spaces are blocking matches.

Keyboard shortcuts

Drive TextResult without touching the mouse.

Shortcut Action
Ctrl FOpen the find & replace panel inside the input Plus
Ctrl ZUndo the last input change
Ctrl Shift ZRedo
Ctrl Shift EnterToggle fullscreen focus on the editor Plus
EscClose find & replace, or exit fullscreen
Ctrl KOpen the command palette to jump to any tool Plus
Ctrl SSave current workflow draft Plus
Ctrl PRun a saved workflow Plus

How the additions list is built

Set difference B minus A

Lines from text A are loaded into a JavaScript Set. Text B is walked line by line and each entry is checked; any line not in A's set is emitted to the output.

Order follows text B

Output preserves B's order. A new entry that appears at line 3 of B comes before another new entry at line 8, regardless of where they sit in any sorted ordering.

Exact, case-sensitive match

Comparison is byte-for-byte. Hello in A does not block hello in B from being treated as new. Lowercase first if you want case-folded matching.

Mirror of find-removals

Find additions is B − A. Find removals is A − B. Run both for a full picture of what changed between two list versions.

Three-hyphen separator

The split between A (old) and B (new) is a line containing exactly ---. The tool needs this marker to know which side is which.

Worked example

Two new entries (dave and eve) exist in B but not in A. The shared entries are filtered out. For the reverse direction see find removals.

Input
alice
bob
carol
---
alice
bob
carol
dave
eve
Output
dave
eve

Settings reference

Behaviour Effect on output
Separator A line containing exactly --- splits text A (old) from text B (new).
Operation Set difference B − A.
Match rule Exact string equality, case and whitespace sensitive.
Order Follows text B.
Duplicates in B Preserved if not present in A.
Mirror operation find removals returns A − B.
Missing separator Output prompts for two halves split by ---.

FAQ

How is this different from find unique lines?
Find unique lines returns A − B (lines only in A). Find additions returns B − A (lines only in B). They are mirror operations; pick whichever points the right way for your scenario.
Are matches case sensitive?
Yes. Hello and hello count as different lines. Lowercase both sides first with lowercase for case-folded matching.
Why is a clearly identical line still showing as added?
Almost always trailing whitespace. Run both halves through trim whitespace first.
How do I see lines that were removed?
Pivot to find removals with the same input. Or swap the halves around the --- separator.
Will the output be sorted?
No. It follows B's order. Paste the result into a sort tool afterwards if you need it ordered.