Diff Checker

Compare two texts with unified or side-by-side diff view. Line-level and word-level modes.

Processed on your device β€” never uploaded
Original Text
Modified Text

Frequently Asked Questions

What is the difference between unified and side-by-side diff view?
Unified view shows changes in a single column with + and - markers, while side-by-side view displays the original and modified text in separate columns for easier visual comparison.
What is the difference between line diff and word diff?
Line diff highlights entire lines that changed, while word diff highlights the specific words within each line that are different, making small edits much easier to spot.
Can I use this to compare code files?
Yes, paste the contents of any two text files or code snippets and the tool will show all additions, deletions, and unchanged lines with line numbers, just like a Git diff.
How does the diff algorithm work?
It uses the Longest Common Subsequence (LCS) algorithm to find the optimal alignment between the two texts, minimizing the number of reported changes.