Compare two texts

Paste two versions of a document, an email, a config file, a log or a SQL script. See every line that changed, with the exact words highlighted, and jump from one change to the next.

Runs entirely in your browser. Nothing you paste or open is uploaded.
A
B
Example texts. Paste, open or drop your own.
A line is shown as changed when most of it stayed the same. Lines with little in common are shown as one line removed and another added. Keyboard: N next change, P previous change (when you are not typing in a box). Lines underlined with dots are equal only because of the options above (for example a different case or extra spaces). Windows and Mac line endings are treated the same. Comparing lists where the order does not matter? Use Compare two lists.