Compare two texts side by side and instantly highlight additions, deletions and changes. Perfect for comparing code, documents, or any text. No upload required.
This free online text diff checker compares two pieces of text and highlights exactly what changed. Green lines are additions in Text B, red lines are deletions from Text A, and yellow lines are modifications. Unchanged lines are shown normally.
Uses a line-by-line LCS (Longest Common Subsequence) algorithm — the same approach used by Git's diff engine. All comparison happens in your browser — no text is sent to any server.
Updated: May 2025 · Works on Chrome, Firefox, Safari, Edge · Mobile friendly