Compare two texts and highlight every difference — unified and split view
FREQUENTLY ASKED QUESTIONS
What is a diff checker?
A diff checker compares two versions of text and highlights what was added, removed, or unchanged. It's essential for code review, document revision tracking, and spotting changes between two files.
Is this good for comparing code?
Yes — the line-by-line diff works well for code. For best results, paste one file version on the left and another on the right. Enable ignore-whitespace if indentation changed.
How does the diff algorithm work?
This uses the Longest Common Subsequence (LCS) algorithm — the same approach used by Unix diff, Git, and most version control systems.
Can I compare large files?
Yes, though very large texts (50,000+ lines) may be slow in the browser. For massive files, a dedicated desktop diff tool like VS Code's built-in diff viewer is recommended.