Line by line diff (file comparison) with HTML/RTF export

  1. Posts : 37
    Windows 10

    Line by line diff (file comparison) with HTML/RTF export

    Hello everyone

    Can anyone recommend a program that can compare two text files, line by line, and output the difference (preferably character differences) to a format that can be opened in MS Word, e.g. DOC, RTF or HTML? I need a tool that will compare each line from file 1 with the same line from file 2. The differences should be highlighted or should be displayed as strike-through/underline.

    I have WinMerge on my computer, but WinMerge is trying to be clever and assumes that lines were deleted in the files, so at some point it no longer compares line n in the one file with line n in the other file.

    There are some online tools that actually work quite well, but I can only view the results on line (can't save it).

    I know I can do "compare documents" in MS Word, but even MS Word sometimes tries to be clever and starts comparing the wrong lines with each other if it hits a patch of seemingly large differences in the middle of the file. I know that if I use "compare documents" in MS Word after converting the text to a table, the accuracy improves, but it still does that be-too-clever thing.


    PS. 99% of the lines in my files have differences, ranging from one character all the way to the entire line.
      My Computer

  2. Posts : 27,232
    Windows 10 (Pro and Insider Pro)

    Check kdiff and its alternatives.

    Beyond compare would probably be the best, but it is commercial
      My Computers


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 20:32.
Find Us

Windows 10 Forums