Compare two texts or code snippets. Highlights added, removed, and changed lines.
Paste text into both panels and click Compare
This tool computes a line-by-line diff using the LCS (Longest Common Subsequence) algorithm — the same approach used by Git. It highlights added lines in green, removed lines in red, and uses inline character-level highlighting to show exactly which characters changed within a modified line. Everything runs in your browser; no text is ever sent to a server.