Compare two text files using Microsoft Word

Compare two text files using Microsoft Word

Have you ever want to compare the difference of two text files? If the files aren’t too large, you can compare by open two file simulteneously and look the difference by your eyes. But what if both files contain many pages and lot of text, it would be painful if you do that way to compare files. If you have Microsoft Word, you can compare the difference of two documents with in few clicks!.

Requirement

  • Microsoft Word 2000 or later.
  • Two text files which can be open by Microsoft Word.

Step-by-step

  1. In this example, I’ll compare two Word documents. I’ll use ‘RMSDataSheet.doc’ as a the first file. The second file, I edit the first file by delete some paragraph and move some paragraph and save as a new file ‘RMSDataSheet_2.doc’. This example is using Microsoft Word 2003.
    Sample two documents
  2. Open the first file, ‘RMSDataSheet.doc’. Click Tools -> Compare and Merge Documents.
    Select Compare and Merge Documents in Tools
  3. Browse to the second file, ‘RMSDataSheet_2.doc’. Click the downside-triangle icon on Merge button and select ‘Merge into new document’ to merge both files into a new document.
    Select another document for comparation
  4. New document appears, you’ll see if there are any differences between two documents, the text will be shown in colorful and underline style. In this case, it is green text which is appears in first document but not in second document.
    The difference shows as underline text
  5. If there are some text which appears in second document but not first document, it’ll mark as ‘Deleted’ on the right side and dot line point to the location where the text appears in second document as in figure below.
    The difference shows as underline text
  6. You can accept or reject changes on each text by right click on the area and select ‘Accept Insertion’ or ‘Reject Insertion’.
    Accept or reject insertion to apply change on the document
  7. Once you finished accept or reject insertion, you can save the document as new file.

12 Comments

  1. Leo August 3, 2009
  2. Linda R March 5, 2010
  3. prabul July 10, 2010
  4. vardhan March 25, 2011
  5. Francis August 11, 2011
  6. Mel December 7, 2011
  7. Andal Priyadarshini J January 10, 2012
  8. srikanth March 1, 2012
  9. Reney November 21, 2012
  10. Rudolf February 7, 2013
  11. Betty Wilton January 19, 2016
  12. linglom January 21, 2016

Leave a Reply