Text Compare

Show the lines and words that differ between two texts.

Text Compare

.txt

Paste text or open a file to see the result.

What it does

Compares two texts and marks the lines and words that were added, removed or changed. Use it to see what changed between two versions of a contract, article or config. You get the changed words marked, or a unified diff you can save as a .diff file.

How to use the Text Compare

  1. Paste the first text, then a line of five equals signs (=====), then the second text.
  2. Pick the View: Changed words, Unified diff or Changes only.
  3. Tick Ignore case, Ignore spaces or Ignore blank lines to skip small differences.
  4. In the Unified diff view, download the result as a .diff file.

About the .txt format

.TXT file extension
File Type
Plain Text File
Category
Text Files
MIME
text/plain

The TXT file extension is a common file format that is used for storing text data.

Also works with

Related tools

More in Text

Text Compare questions

How do I use the Text Compare?

Paste the text into the Input box or open a file, set the options, then copy or download the result.

Does renaming a file to .txt change its format?

No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .txt page lists programs and converters for it.