NEW
Diff Checker
Compare two text blocks and highlight the differences.
How to Use Diff Checker
- 1Paste your original text in the left panel and the modified text in the right panel.
- 2Click 'Compare' to see the differences highlighted.
- 3Green lines were added, red lines were removed.
- 4Copy the diff output using the copy button.
Frequently Asked Questions
What algorithm is used for diffing?
The diff npm package's diffLines function, which implements the Myers diff algorithm — the same algorithm used by Git.
Can I compare code files?
Yes — paste any text content. The diff is line-by-line, so it works equally well for prose, code, JSON, or configuration files.
About Diff Checker
Comparing two versions of a file is a daily task for developers, writers, and content managers. Our Diff Checker uses the same Myers diff algorithm that powers Git to show you exactly what changed — line by line — with added lines in green and removed lines in red.