Text Compare
Show the lines and words that differ between two texts.
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
- Paste the first text, then a line of five equals signs (=====), then the second text.
- Pick the View: Changed words, Unified diff or Changes only.
- Tick Ignore case, Ignore spaces or Ignore blank lines to skip small differences.
- In the Unified diff view, download the result as a .diff file.
About the .txt format
.TXT file extension.txt Plain Text File
Text Files
- 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
Word Counter
Count words, characters, sentences and paragraphs as you type.
Case Converter
Change text to UPPER, lower, Title, Sentence or camelCase.
Find and Replace
Replace words or phrases in a text, with case and whole-word options.
Remove Duplicate Lines
Keep the first copy of each line and remove the rest.
Sort Lines
Sort lines alphabetically, by length or as numbers.
Character Counter
Count characters with and without spaces, and bytes in UTF-8.
Remove Line Breaks
Join lines into paragraphs or one line.
Remove Empty Lines
Delete blank lines and lines with only spaces.
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.