Text Compare
Spot every difference between two versions of a text.
Differences
Paste two texts to compare them.
Removed text is highlighted in red and added text in green.
Your text stays in your browser. Nothing is uploaded.
More Text Tools
All tools- Word counterCount words, characters and reading time
- Character counterCharacters with and without spaces
- Case converterUpper, lower, title, sentence case and more
- Remove duplicate linesKeep only unique lines in a list
- Title case converterHeadlines in AP or Chicago style
- Remove line breaksJoin lines into one paragraph
- Sort linesA to Z, by length or by number
- Find and replaceReplace words, with regex support
- Random word generatorRandom words for games and ideas
How to use the text compare
Three steps, all in your browser.
- 1
Paste both versions
Put the original on the left and the changed text on the right.
- 2
See the differences
Removed text turns red and added text green, line by line and word by word.
- 3
Copy or download
Copy the result in one click or save it as a .txt file.
Text Compare: what to know
Text Compare shows the differences between two versions of a text. Paste the original on the left and the changed version on the right, and the comparison updates as you edit. Removed text is highlighted in red and added text in green, side by side or in one inline view.
Lines are compared with the Myers diff algorithm, the method behind tools such as git diff, which finds a smallest set of line changes. Changed lines are then compared word by word, so a single edited word is highlighted instead of the whole line. 'Ignore case' and 'Ignore whitespace' hide changes you don't care about.
Both texts stay on your device. For very large inputs the comparison may take a moment, and when two texts are almost entirely different the remainder is shown as replaced rather than searched in detail, so your browser stays responsive.
Popular uses
- Checking edits between two drafts of an essay or contract
- Comparing configuration files or code snippets
- Finding what changed in a policy or terms page
- Proofreading a translation update against the old version
Tips for the best result
- Turn on 'Ignore whitespace' when one version was reformatted.
- Turn on 'Hide unchanged lines' to focus on the edits in long documents.
- Download the result as a unified diff (+ and - lines) to share it.
Read how JustYourText works and our privacy details. Text you type or paste is processed in your browser and is never sent to our server.