How to use
- Paste the original text on the left (Original) and the edited version on the right (Changed).
- Under Compare by, choose lines, words or characters. The differences appear below right away.
- Green marks text that was added in the changed version, and red with strikethrough marks text that was removed from the original.
- Use Copy to take the comparison with you as plain text.
Choosing what to compare by
| Unit | How it compares | Best for |
|---|---|---|
| Lines | Whole lines. If even one letter changes, the whole line shows as removed and added again | Code, config files, lists |
| Words | Words and punctuation marks | Contracts, articles, essays and other ordinary writing |
| Characters | Every single character | Typos, IDs and serial numbers, short phrases |
Example
If you change The meeting starts at 10 a.m. on Monday. to The meeting starts at 10:30 a.m. on Tuesday., you get:
- Words:
:30added after10,Mondayremoved andTuesdayadded - Characters:
:30added, and onlyMon→Tuesmarked, sincedayis the same in both - Lines: the whole first line removed and the new line added
Options and copy format
- Ignore case treats
Helloandhelloas the same. Parts that match are shown as written in the changed text. - Ignore leading/trailing spaces (line mode) treats lines that differ only in indentation or spaces at the end as the same. Word mode always ignores differences in how many spaces sit between words.
- In line mode, copied output marks each line with
+(added),-(removed) or two spaces (unchanged). In word and character mode it uses the[-removed-]{+added+}notation fromgit diff --word-diff. - Windows (CRLF) versus Mac and Linux (LF) line endings, and whether there’s a line break at the very end, aren’t counted as differences.
FAQ
Why does a moved line show up twice?
The comparison follows the order of the text, so a line that moved shows as removed in one place and added in another. To compare lists regardless of order, sort both with sort lines first.
Is there a size limit?
There’s no fixed limit, but comparing two long, very different texts can take a while. If it takes more than about 1.5 seconds, the tool stops and suggests switching to line mode or comparing smaller pieces.
Is my text sent anywhere?
No. The comparison runs entirely in your browser and nothing is sent to a server, so it’s safe to use for contracts and internal documents.