Text diff
Paste two versions to see added and removed lines, line by line.
Text diff
Compare two texts and see the differences line by line. Removed lines are marked with −, added lines with +, and unchanged lines are shown plain. Great for comparing drafts, config files, code snippets and copy revisions. It all runs in your browser.
How it works
The tool uses a longest-common-subsequence (LCS) diff — the same idea behind git diff — to find the smallest set of additions and deletions that turn the original into the changed text. It compares whole lines, so reformatting a line shows as one removal plus one addition.
Frequently asked questions
Does it compare words or lines? Lines — each line is compared as a whole.
Is my text uploaded? No — the comparison happens entirely in your browser.