How to compare two texts
- Paste the original version in the first field and the new one in the second.
- Choose whether to compare by lines or by words.
- See what was added and removed, highlighted in the result.
- If needed, ignore case or repeated spaces.
What comparing texts is for
When you receive a new version of a contract, an article, a configuration file or a piece of code, comparing the two texts quickly shows what changed, without having to read it all.
By lines is ideal for lists, code and files. By words shows the changes within a single paragraph.
The result marks additions with a + and removals with a −, in addition to color, so they can be told apart without relying on it.
Things to keep in mind
- If the texts are very long and very different, the comparison may not complete: try smaller parts.
- It compares the text as it is: it does not understand meaning, it only sees which characters changed.
- Windows line breaks and those of other systems are treated the same.
Frequently asked questions
What is the difference between comparing by lines and by words?
By lines marks the whole line that differs as changed. By words shows exactly which words were added or removed.
Can I ignore uppercase and lowercase?
Yes, with the option to ignore case. You can also ignore repeated spaces.
Are my texts uploaded to any server?
No. The comparison happens in your browser and your texts never leave your device.
Is it good for comparing code?
Yes, comparing by lines works well with code, lists and configuration files.
Is it free?
Yes, it is free, requires no sign-up and works directly in your browser.