Text Compare
Paste two versions of a text to see exactly what changed, line by line, with the changed words highlighted.
Original
Changed
Paste two texts to compare. Nothing is uploaded.
How to use the Text Compare
- Paste the original text on the left and the changed text on the right, or open two files.
- Differences appear instantly. Green lines were added, red lines were removed, amber lines changed.
- Turn on Ignore case or Ignore whitespace to hide differences that do not matter.
- Copy only the differences, or download a unified diff.
Example
Input
Left: The meeting is on Tuesday at 10am.
Right: The meeting is on Thursday at 10am.The line is marked as changed, and only "Tuesday" and "Thursday" are highlighted.
What it does
- Side by side or unified
- Read changes in two columns, or in one column like a code review. On phones, the unified view is used automatically.
- Word-level highlights
- Changed lines show which words differ, so you do not have to compare long lines by eye.
- Ignore case and whitespace
- Free, with no sign-in: hide differences in capitalisation, indentation or trailing spaces.
- Private
- Contracts, code and drafts are compared on your device. Nothing is uploaded.
Frequently asked questions
How does the comparison work?
It uses the Myers diff algorithm (the same approach as git diff) to find the smallest set of added and removed lines, then pairs removed and added lines into “changed” lines and compares them word by word.
Can I compare files?
Yes. Use Open on either side to load a text file such as .txt, .csv, .json, .md or source code. Word and PDF files are not supported yet.
Is there a size limit?
There is no fixed limit. Texts with tens of thousands of lines compare in a second or two on most devices.
Is my text stored or sent anywhere?
No. Everything happens in your browser. Your text is not uploaded, saved or used for analytics.