Text Comparator (Diff)
Paste the original text and the modified version to get a visual line-by-line comparison with highlighted differences: green for additions and struck-through red for deletions.
Texts to compare
The comparison is line by line (LCS algorithm). Green = added in B, red strikethrough = removed from A.
Comparison
How to use: Diff
- 1Paste the original version into A.
- 2Paste the modified version into B.
- 3Review added (green) and removed (red) lines.
What is it for?
- See what changed between two versions of a contract or text.
- Compare configuration files.
- Review code changes without Git.
Comparing two texts
How it works
A diff finds the longest common subsequence between both texts and marks what was added and removed. It is the same idea Git uses to show changes.
Uses
Reviewing versions of a contract or article, comparing configurations, spotting differences in API responses or finding what changed between two copies of a file.
Whitespace and line endings
Many differences are only spaces or line endings (CRLF vs LF). Ignoring them helps you see the real changes.
Related tools
Frequently asked questions
What's the size limit?+
To avoid slowing down the browser, each block should not exceed 5,000 lines.

