Compare two texts online and find differences
Compare two texts line by line and see what was added and what was removed. Free, no sign-up, and the tool does not send your texts anywhere.
Two trays side by side holding the lines of two versions of a text as bars. A bridge travels over them row by row, leaving a red mark on lines that are only in the first version and a green one on lines that are only in the second. Enter, Space or the arrow keys move from one step to the next.
How to use it
- Paste the first version into “Original text”.
- Paste the second version into “Changed text”.
- Review the differences: added lines in green and removed lines in red.
Frequently asked questions
How are the texts compared?
Line by line. A line that changed appears twice: removed, with the old text, and added, with the new one. Unchanged lines are shown without colour.
Can I use it to compare code or config files?
Yes. Spaces and indentation are respected, and Windows line endings are treated the same as Linux or Mac ones.
Is there a size limit?
Each text can have up to 2000 lines. For longer documents, compare them in parts.
Are my texts sent anywhere?
No. The comparison is done in your browser: the texts are not sent to any server and are not stored.
When to compare two texts
When you have two versions of the same document and need to know exactly what changed: a contract that comes back “with a few small tweaks”, the terms of a service before and after an update, two drafts of an article or two copies of a configuration file.
Reading both versions side by side is slow and small changes slip through: a figure, a date, a “not”. An automatic comparison flags every one of them, however small.
How to read the result
The comparison goes line by line. Lines that are only in the changed text appear in green, with a “+”; those that were only in the original, in red, with a “−”; unchanged lines are shown without colour to give context. An edited line shows up twice in a row: first the old version, removed, and then the new one, added.
Because the unit is the line, a long paragraph written without line breaks counts as a single line and will appear changed in full even if only one word differs. If you are comparing prose, first split the paragraphs into sentences, one per line, and you will see much more precisely where each change is.