Text Diff

How to use

Paste your original text in the left box and the modified text in the right box. Click Compare to see differences highlighted in green (added) and red (removed).

FAQ

What does a text diff tool do?

A text diff tool compares two versions of a text and highlights what was added, removed, or unchanged. It is widely used in software development (code review), document editing, and data comparison.

How is the comparison done?

The comparison is done line by line using a Longest Common Subsequence (LCS) algorithm — the same algorithm used by tools like Git diff.

Is my text sent to a server?

No. All comparison is done entirely in your browser. Your text never leaves your device.