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
- Paste the original version into the left box and the new version into the right box.
- The comparison appears below, with a summary of how many lines were added and removed.
- Use Only changes to hide unchanged lines in long documents.
Reading the result
- The two number columns show the line number in the original and in the changed text.
- − lines exist only in the original; + lines exist only in the changed text.
- When a line was edited, it appears twice (old then new), with the exact words that changed highlighted.
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
- Checking what a colleague changed in a document or contract.
- Comparing two versions of a configuration file or code snippet.
- Proofreading edits to an essay or article.
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