Text Compare
Compare two texts and see which lines were added or removed.
Loading the tool on your device…
Paste two versions of a text, a contract or some code, and see every added and removed line, numbered on both sides. It uses the same method as git, so it finds the smallest set of changes.
Updated 7 December 2026 · runs in your browser
How to use it
- Paste the original on the left.
- Paste the changed version on the right.
- Read the highlighted lines, or show only the changes.
Details
| Method | Myers' line diff, as in git |
|---|---|
| Options | Ignore spaces; show only changes with two lines of context |
| Output | Unified diff text for the next tool |
Questions
Do my files leave my computer?
No. This tool runs inside your browser tab. The page makes no network request with your data, and you can check that yourself in your browser's developer tools.
Can it compare Word or PDF files?
Not yet: it compares plain text. Copy the text out of the document and paste it here.
Related tools
- Sort and Remove Duplicate Lines
Sort a list, remove duplicate or empty lines, trim and shuffle.
- JSON Formatter
Tidy, check or minify JSON as you paste it.
- Word Counter
Count words, characters, sentences and reading time.