Diff Checker
Compares the left and right text line by line, showing added lines in green and removed lines in red.
-0+0
About
Used to spot changes between two versions: contract revisions, code snippets, translation versions or comparing two lists. A real line diff is computed with the LCS (longest common subsequence) algorithm.
All comparison happens in your browser; your texts are never sent to a server.
How to use
- Paste the first text into the left box.
- Paste the second text into the right box.
- See added (+) and removed (−) lines highlighted below.
Frequently Asked Questions
- Does it compare line by line or word by word?
- The comparison is line-based; each line is marked as a whole as added, removed or unchanged.
- Is my data safe?
- Yes. The comparison runs entirely in your browser; the texts are never sent out.
Other tools
Embed this tool
Copy the code below and paste it into your site's HTML to embed this tool for free. The snippet includes an attribution link back to the source.
<iframe src="https://tooldict.com/embed/en/diff-checker" title="Diff Checker" width="100%" height="600" style="border:1px solid #e2e8f0;border-radius:16px;max-width:680px" loading="lazy"></iframe>
<p style="font:13px/1.5 sans-serif">Powered by <a href="https://tooldict.com/en/diff-checker" target="_blank" rel="noopener">Diff Checker</a> — Tooldict</p>