Find differences between two texts with word-level or line-level highlighting. See what was added, removed, or changed.
Enter text in both fields to see differences
The tool uses a Longest Common Subsequence (LCS) algorithm to identify the differences between two texts. It compares either word by word or line by line, highlighting additions in green and removals in red.
Word-level diff compares individual words, showing precisely which words changed. Line-level diff compares entire lines, which is useful for structured text like code or lists.
Yes. Line-level diff mode is especially useful for comparing code snippets. It highlights entire lines that were added or removed.
No. All comparison happens in your browser. Your text stays on your device and is never transmitted to any server.