To compare two versions of a document, turn both into plain text, paste the older one on the left and the newer one on the right of our free Text Diff Checker, and read what it marks: green for added lines, red for removed lines, and highlighted words for anything edited inside a line. It takes about a minute, and it finds the one changed figure that your eyes would skip.
This post is about the whole job, not just the tool: getting two versions out of different file types, keeping the comparison fair, and knowing what the result can and cannot tell you.
Why reading two versions side by side fails
When a landlord sends a "corrected" agreement or a supervisor returns a revised thesis chapter, the changes that matter are usually small: a rent that moved from 18,000 to 20,000, a deadline that moved by two days, a clause that quietly lost a word such as "not". Reading both copies from top to bottom, you notice the new paragraph and miss the changed digit.
A diff does the reading for you. It lines up the two texts, finds what is common, and shows only the differences. The same idea is behind code review and version control, and it works just as well on a letter, a contract, a job circular or a thesis.
Step 1: get both versions into plain text
The Text Diff Checker compares text. Where you get the text depends on the file.
- Word documents (.docx): use Word to Text on each file and choose No wrapping. Then every paragraph is one line, which is what you want for comparing. Headings are underlined and tables are laid out in columns, in the same way in both files.
- PDF files: use PDF to Text on each. If a PDF is a scan, you will need its OCR option, which reads the page picture. Reading a picture can introduce mistakes, so be careful with differences in scanned documents: they may be misreadings.
- Web pages, emails and Google Docs: select the text and copy it. Paste it straight into the box.
- Text, CSV, JSON, HTML and code files: press Open file above the box and choose the file. It is read in your browser as text.
Whatever you use, treat both versions in the same way. A file converted with one tool and another typed from memory will not compare well.
Step 2: put the older version on the left
Open the Text Diff Checker. Paste the older version into "Original text" and the newer one into "Changed text". Red then means "this was in the old version and is gone" and green means "this is new". If you get them the wrong way round, press Swap.
Step 3: read the differences
The Differences panel appears as soon as you paste, with a short pause of about 0.2 seconds after you stop typing. At the top, four badges count added, removed, changed and unchanged lines, and below is the line-by-line table.
Here is a made-up rental agreement, old and new.
Old version:
Rental agreement between Mr. Karim Hossain and Ms. Nusrat Jahan.
The monthly rent is Tk 18,000, payable by the 5th of each month.
The security deposit is Tk 36,000.
The tenant may not sublet the flat.
This agreement is valid for 12 months.
New version:
Rental agreement between Mr. Karim Hossain and Ms. Nusrat Jahan.
The monthly rent is Tk 20,000, payable by the 7th of each month.
The security deposit is Tk 40,000.
The landlord will repair the water heater within 7 days.
The tenant may not sublet the flat.
This agreement is valid for 24 months.
The badges read 1 added, 0 removed, 3 changed and 2 unchanged. In the table:
| Line | What the tool shows |
|---|---|
| Monthly rent | Changed. On the left, 18 and 5th are highlighted; on the right, 20 and 7th |
| Security deposit | Changed. 36 on the left, 40 on the right |
| Water heater | Added, in green, with no counterpart on the left |
| Sublet clause | Unchanged |
| Validity | Changed. 12 on the left, 24 on the right |
The important thing is that the highlighted words are only the ones that differ. You are not looking for a changed number inside a long sentence; the page has already circled it.
Step 4: tune the comparison
Three tick boxes sit under the two texts.
- Ignore case is useful when one version was re-typed or auto-corrected and capital letters changed but the wording did not.
- Ignore spaces treats runs of spaces and tabs as one and ignores spaces at the ends of lines. It hides differences in indentation and trailing spaces.
- Only show changes hides long stretches of unchanged text and keeps three lines of context around each change, so a 40-page document with five edits becomes a short list.
If you do not trust the result, untick all three and look again.
Step 5: keep or share the result
Press Copy diff to copy the changes as a unified diff, the standard text format with - before removed lines and + before added ones, or Download .diff to save a file. For the rental example it starts like this:
--- original
+++ changed
@@ -1,5 +1,6 @@
Rental agreement between Mr. Karim Hossain and Ms. Nusrat Jahan.
-The monthly rent is Tk 18,000, payable by the 5th of each month.
-The security deposit is Tk 36,000.
+The monthly rent is Tk 20,000, payable by the 7th of each month.
+The security deposit is Tk 40,000.
+The landlord will repair the water heater within 7 days.
The tenant may not sublet the flat.
-This agreement is valid for 12 months.
+This agreement is valid for 24 months.
You can paste this into an email to a lawyer or a supervisor and say "these are the only changes".
What a text comparison cannot tell you
A diff of the text is not a full review. Remember these limits:
- Formatting is invisible. A phrase that became bold, a changed font or a moved image does not show. If this matters, use the compare feature in your word processor as well. Word and Google Docs both have one.
- Moved text appears twice. The tool compares line by line and does not track moves. A paragraph you moved shows as removed in its old place and added in its new place.
- Tracked changes and comments may be handled differently by each way of getting the text. Accept or reject them in your word processor first, so you know exactly which text you are comparing.
- It cannot judge meaning. A highlighted "not" or a changed digit is easy to see, but deciding if the change is acceptable is up to you.
Mistakes that spoil the comparison
- Different wrapping. If one version breaks lines after every 80 characters and the other has a line per paragraph, almost every line will show as changed. Use No wrapping when converting Word files, or re-wrap both versions the same way.
- Wrong order. Check which side is older before you read green and red. Swap fixes it.
- Mixed sources. Comparing a PDF's text with a Word file's text can show small differences in quotation marks, dashes and line breaks that are not real edits.
- Trusting the colours alone. Always read the changed lines. A line shown as "changed" can be a complete rewrite, with the highlight covering most of it.
Privacy
The comparison runs on your device. The page reads what you paste and the files you open locally, and it does not send them anywhere, which matters when the document is an agreement, a salary letter or a student record. Word to Text and PDF to Text also work in the browser.
Related reading
- Text Diff Checker: the complete guide: every option, the unified diff and the limits.
- Word to Text: plain text from a Word file, with or without line wrapping.
- PDF to Text: the text of a PDF, with OCR for scans.



