The Otter family · try our other free tools: PDFOtter ↗ PixOtter ↗ Numbiqo UK money calculators ↗

Text Compare

Spot the differences between two blocks of text, line by line.

Read the full guide: How to Compare Two Texts and Find the Differences →

Compare two blocks of text and see exactly what changed with this free text compare / diff tool. It highlights added and removed lines side by side, ideal for spotting edits between drafts, versions of code, contracts or any two pieces of text.

How to use the text compare

  1. Paste the original text on the left.
  2. Paste the changed text on the right.
  3. Click Compare to see additions and removals highlighted.

Why use ToolOtter's Text Compare?

  • Line-by-line diff
  • Added & removed clearly marked
  • Change summary count
  • Private, nothing uploaded

Worked example

Your landlord sent a "slightly updated" tenancy agreement. Paste last year's version on the left and the new one on the right and click Compare. Unchanged lines stay plain; a line that changed shows as removed (old wording) and added (new wording), so a clause like "Rent: £950 per month" turning into "Rent: £995 per month" stands out immediately.

It is just as useful for code: paste two versions of a config file to see exactly which settings changed.

When people use it

  • Checking what changed between two versions of a contract or policy
  • Proofreading edits from a colleague or editor
  • Comparing two versions of code or configuration
  • Spotting differences between two lists
  • Checking that copy on a website matches the approved text

Good to know

The comparison is line by line. If a whole paragraph is on one line, one changed word marks the whole line as changed, so put each sentence on its own line for a finer view. It compares plain text only; for Word or PDF files, copy the text out first. Formatting such as bold or font size is not compared.

Text Compare, frequently asked questions

How do I compare two texts for differences?

Paste one version on the left and the other on the right, then click Compare. Added lines and removed lines are highlighted for you.

Does it show what was added and removed?

Yes. New lines are marked in the accent color and deleted lines in red, with a count of each at the top.

Can I compare code snippets?

Absolutely, it works on any plain text, including code, line by line.

Is my text sent anywhere?

No. The comparison happens entirely in your browser.

Does it compare word by word?

It compares line by line. Break long paragraphs into shorter lines to narrow down where the change is.

Is it safe for confidential documents?

Yes. The comparison runs in your browser and nothing is uploaded.

Can I compare two Word documents?

Copy the text from each document and paste it into the two boxes.