Text Compare
Compare two texts side by side and highlight the differences. Useful for reviewing code changes.
About
Text Comparison
A text diff compares two versions of a text line by line and identifies what changed between them. Lines that appear only in Text A are marked as removed (red); lines that appear only in Text B are marked as added (green); lines present in both are shown unchanged. Common use cases include: code review (spot changes between two versions of a file), document revision (track edits between drafts), configuration comparison (detect differences between two config files), and log analysis (compare output from two runs of a process). The algorithm used is based on the Longest Common Subsequence (LCS), the same foundation used by tools like diff, Git, and GitHub's code review interface.
Privacy
All comparison runs 100% in your browser. No data is sent to a server.