Text Compare (Diff)

Compare two texts line by line and highlight what was added or removed.

🔒 Runs in your browser. Nothing you enter is uploaded or stored.

How to use it

Paste the original text on the left and the changed text on the right, then press Compare. Lines starting with + were added and lines with − were removed, based on the longest common sequence of lines. Comparison happens in your browser, so private documents stay private.

FAQ

Does it compare words within a line?

No, it compares whole lines. A line with one changed word shows as one line removed and one added.

Related tools

Report a problem or suggestion

Report a problem or suggestion

Please don't include private details like passwords or card numbers.