How the diff works
The tool splits both texts into lines and computes the longest common subsequence to identify additions and deletions. It runs entirely in your browser, so the content is never uploaded.
Frequently asked questions
How does the diff tool compare text?
It splits both inputs into lines and runs a longest-common-subsequence (LCS) diff to highlight added and removed lines.