Colour-coded line diff
Additions, deletions and unchanged lines are visually distinct with left and right line numbers, so you can see exactly what moved rather than hunting through two documents.
Compare two texts line by line and highlight additions and deletions.
Loading tool…
The tool is loading its code on your device. This happens once and is cached for later visits.
Processed entirely on your device
Overview
Compare two blocks of text online with a line-by-line diff. Additions, deletions and unchanged lines are colour-coded and counted, computed in your browser with no upload.
A diff answers one question: what changed between two versions of a text? It is the operation behind every code review, every merge conflict and every moment of wondering what you edited an hour ago. Doing it by eye across two documents is slow and unreliable, especially once the change is small and buried in a large file.
The standard approach finds the longest common subsequence — the largest set of lines that appear in both versions in the same relative order, though not necessarily next to each other. Every line in that subsequence is unchanged; lines present only on the left are deletions and lines present only on the right are additions. It is the same idea git uses, and it produces the minimal-looking edit script people expect from a diff.
The two number columns are the line's position in the left and right documents, so you can jump back to the original when a change matters. The summary counts at the top tell you the size of the change at a glance, which is frequently the only thing you needed to know.
An exact longest-common-subsequence comparison builds a table whose size is the product of the two line counts, which grows fast. To stay responsive this diff first peels away the shared prefix and suffix — the unchanged head and tail that most real edits have — and only runs the quadratic core on the genuinely different middle. If that middle is still enormous it falls back to presenting the block as a wholesale replacement and says so, rather than hanging the browser.
Diffs can operate at different granularities. A line diff, which is what this is, treats each line as an atomic unit and is the convention for source code and prose. A word or character diff highlights the exact span that changed inside a line, which is nicer for legal text and copy editing but noisier for code. Line-level output is the best general default, and it is what version control shows you.
Step by step
Paste the original text into the left panel and the changed version into the right.
Press Compare to run the line-by-line diff.
Read the colour-coded result: green lines were added, red lines were removed.
Check the added, removed and unchanged counts, then adjust and compare again.
Why use it
What this tool is good for, and what it deliberately does not try to do.
Additions, deletions and unchanged lines are visually distinct with left and right line numbers, so you can see exactly what moved rather than hunting through two documents.
The number of added, removed and unchanged lines is summarised at the top, which is often the whole answer when you just need to know how big a change was.
Shared prefix and suffix lines are peeled off first and an oversized changed block falls back to a wholesale replace, so a big paste never freezes the tab.
Contracts, configs and source code are compared in your browser, so sensitive text is never transmitted to a server.
Questions
Short, honest answers about quality, limits and privacy.