Skip to content

Text Diff Checker

Compares two versions of text and highlights added, removed and changed lines and words.

Your text stays on this device

This tool runs entirely inside your web browser. Your text is processed on your own device and is never sent to our servers. How this works

Text Diff Checker is a free tool that compares two versions of a text and shows exactly what changed. Removed lines are marked in red, added lines in green, and within an edited line the changed words are highlighted. Both texts stay in your browser, so it is safe for contracts, essays and code.

How to compare two texts

  1. Paste the original version into the left box and the new version into the right box.
  2. The comparison appears below, with a summary of how many lines were added and removed.
  3. Use Only changes to hide unchanged lines in long documents.

Reading the result

Ignoring unimportant differences

Turn on Ignore spacing differences when one version has extra spaces, tabs or different indentation, and Ignore upper/lower case when capitalisation doesn’t matter. Lines that only differ in those ways are then treated as the same.

Common uses

For JSON data, JSON Diff compares values directly and ignores key order and formatting.

Frequently asked questions

Is my text uploaded to compare it?

No. Both texts are compared in your browser, so it is safe for contracts, code and other confidential documents.

What do the colours mean?

Red lines were removed from the original, green lines were added. Inside a changed line, the exact words that changed are highlighted more strongly.

Can I ignore unimportant differences?

Yes. You can ignore differences in upper and lower case, and in spacing, such as extra spaces or indentation.

Can I compare Word or PDF files?

Copy the text out of each document and paste it here. Formatting such as bold or fonts is not compared, only the words.

Last updated

Missing a feature, or need a tool we don’t have? Suggest it.