Compare two texts line by line to see what was added and removed.
How to Use Text Diff / Compare
Paste the original text on the left and the changed text on the right.
Click Compare Texts.
Read the result: lines marked + were added, lines marked - were removed, and unmarked lines are unchanged. Line numbers for each side are shown.
How the comparison works
The texts are compared line by line. When a line has changed, you see the old line marked as removed and the new line marked as added, one after the other. Spaces count, so a line with an extra space at the end shows as changed. If both texts are the same, you're told they're identical.
Use Swap Left/Right to reverse the comparison, so additions become removals.
Limits
Changes are shown per line, not per word, so a one-word edit highlights the whole line. The comparison uses a quick matching method that works well for typical edits; with very long texts full of repeated lines, the grouping of changes may not be the tidiest possible. For large code reviews, a tool like git diff is more thorough.
Key Features & Practical Use Cases
Seeing what changed between two drafts of a document or contract.
Comparing two versions of a config file or snippet of code.
Checking whether two lists or exports are identical.
Spotting edits someone made to text you sent them.
Frequently Asked Questions
Does it highlight the exact words that changed?
No. It works line by line, so the whole changed line is marked.
Do spaces count as differences?
Yes. A line with extra spaces is treated as a different line.
Can I compare files?
Open each file, copy its text and paste it into the two boxes.
Is my text uploaded?
No. The comparison runs in your browser.
About OneClickly
OneClickly is a set of 119 free tools for PDFs, images, text, everyday math and code. They run in your browser, so the files and text you work with stay on your device.
Related Tools
Text Repeater - Repeat a text string or word multiple times with optional separators.
Find and Replace Tool - Search for specific words or patterns in your text and replace them.
Text Reverser - Reverse sentences, words, or individual characters easily.
Whitespace Remover - Remove extra spaces, tabs, and empty lines from your text.
Text to Speech - Read text aloud with your browser voices, with speed, pitch and volume controls.