About Text Diff
Comparing two blocks of text — a contract draft against the previous version, two AI-generated outputs, the email you wrote against the email your colleague sent, a CSS file before and after a refactor — is a daily task with two terrible defaults. Either you read both side by side in two windows and try to spot the changes by eye (slow, error-prone), or you use a desktop diff tool (Beyond Compare, Meld, vimdiff) that's overkill for one-off ad-hoc text blocks. Online diff tools work but most upload the text to a server, which is a problem when the text is a draft contract, an unreleased marketing email or anything else sensitive.
This text diff tool runs the comparison entirely in your browser. Paste two blocks into the left and right panels and the diff appears below — toggle between side-by-side (two-column with aligned context) and unified (one column with +/- markers, the format git diff uses). Lines that differ are highlighted in red (removed) or green (added); word-level highlighting within changed lines shows the precise edit so you can see at a glance which word changed rather than re-reading the whole line. Toggle options for ignore whitespace, ignore case, and ignore trailing newlines let you focus on meaningful differences. The summary panel reports added, removed and changed line counts. The whole comparison is JavaScript on the page — text never uploads.
Use it to review a contract revision against the previous draft, compare two AI model outputs side-by-side, diff a JSON config from two environments, spot the actual change in a "minor edit" email someone sent, audit two versions of a regex you wrote, or check a copy-paste landed correctly. No upload means even highly confidential text is safe.