Paste two texts to compare them line by line. Changed words are highlighted within each line.
Text Compare performs a line-by-line diff using the Longest Common Subsequence (LCS) algorithm - the same algorithm used by diff on Unix systems and by Git to show changed lines. When a line in the original matches a line in the modified version (it was changed, not deleted and replaced), the tool runs a second word-level LCS on that pair to highlight which specific words changed.
Everything runs in your browser - no text is sent to a server. Useful for comparing config files, code snippets, log files, JSON responses, or any two pieces of text.