Text diff
Line and character-level comparison, computed in your browser. Nothing is uploaded.
Line and character-level comparison, computed in your browser. Nothing is uploaded.
Both texts are split into lines and compared with a longest-common-subsequence algorithm — the same family git uses. Lines that changed rather than moved are then re-compared character by character, so a one-word edit in a long paragraph highlights just that word.
Everything runs locally. The compare logic ships inside this page as compiled JavaScript; your text never touches a server, which makes this safe for secrets, contracts, and unreleased code. The page keeps working with your network cable pulled.
No. The diff is computed entirely in your browser with an LCS algorithm compiled into the page. Open your devtools network tab and compare anything — no requests leave the page, so it is safe for config files, code, and contracts.
A longest-common-subsequence (LCS) diff over lines, the same family of algorithm behind git diff. Changed line pairs are additionally refined with a character-level pass so single-word edits light up precisely.
Texts up to a few thousand lines each compare instantly. Beyond 3000 lines per side the tool falls back to a coarse comparison instead of freezing your tab.