Devtools Workbench

Diff Checker

Paste two versions of a text to see which lines were added, removed or kept.

Runs in your browser. Nothing you type is uploaded.

Copy diff writes a/file.txt and b/file.txt, so git apply run in the folder that holds it finds the file.

Differences

+2 added−1 removed2 unchanged

Hello World
Removed: This is the first text.
Added: This is the second text.
Shared line
Added: Extra

Compares whole lines. A changed line shows as one line removed and one added, with the words that differ highlighted. Copy diff gives a unified diff that git apply and patch accept.