Diff Checker
How to Compare Two Texts
Comparing two texts shows exactly what was added or removed between versions — useful for drafts, contracts and code. Paste both into the tool below to see the differences highlighted.
Compare your texts
+1 added−1 removed
Roses are red
Violets are blue
−Sugar is sweet
+And so are you
Steps to compare two texts
- Paste the original text on the left and the changed version on the right.
- Added lines are highlighted in green, removed lines in red.
- Unchanged lines stay plain so the real changes stand out.
When this helps
Use it to check what an editor changed in a draft, what's different between two contract versions, or what changed in a config file.
Because the comparison is line by line, formatting your text into clear lines gives the cleanest results.
Frequently asked questions
How do I compare two pieces of text?
Paste each version into one side of the tool above. It highlights added lines in green and removed lines in red.
Is my text uploaded?
No. The comparison runs entirely in your browser, so it's safe for private documents.
Can I compare code?
Yes — it works for any plain text, including code and config files.