Both texts are split into lines, and the longest common subsequence (LCS) algorithm finds lines that appear in both in the same order. The remaining lines are marked as removed (red) or added (green), so inserting or deleting one line does not make every later line look changed.
Compare two versions of a configuration file, code snippet, contract clause, edited article or data list. A changed line appears as one removal plus one addition, which makes line-by-line review easy. For lists where order does not matter, sort both sides the same way first.
No. The comparison runs entirely in your browser, so it is suitable for content you would rather not send to a server. Nothing is kept after you close the page.
Yes. Lines are compared exactly, so trailing spaces, tabs and case differences count as changes. Normalise formatting first if you only care about content.
Each text can be up to 150,000 characters. Very many lines use a lot of browser memory; if the tool reports the input is too large, split it into parts.
It compares whole lines and does not highlight words within a line. To see word-level changes, put each sentence or phrase on its own line before comparing.
Good for comparing code, configurations, documents, and lists. Press Ctrl+Enter or Command+Enter to get started quickly; very large text should be broken into smaller pieces to avoid consuming too much browser memory.