Free Diff Checker & Merge Conflict Resolver
Compare two blocks of text or code and highlight the differences instantly.
About this tool
How to use
Frequently Asked Questions
This tool uses the Longest Common Subsequence (LCS) algorithm, the same foundation used by git diff. It finds the minimal set of additions and deletions to transform one text into the other.
Instead of just highlighting entire changed lines, the tool identifies the exact words within a line that differ and highlights them with stronger emphasis. This makes it much easier to spot small changes in long lines of code.
Switch to Merge Mode, paste your file containing Git conflict markers (<<<<<<< HEAD / ======= / >>>>>>>), and click Parse. Each conflict is shown as a card with Ours vs Theirs. Click Accept Ours, Theirs, or Both for each conflict, then copy the resolved output.
Press ? to see all shortcuts. J/K navigate between hunks or conflicts, 1 accepts left/ours, 2 accepts right/theirs, B accepts both in merge mode.
Yes. Drag and drop any text file onto the input areas to auto-populate them. This works in both Diff and Merge modes.
No hard limit, but very large texts (10,000+ lines) may take a moment to process due to the O(n×m) LCS algorithm. For extremely large files, command-line tools like git diff are recommended.