Any good way to compare two documents for similar content?

I have two files which share some content. The documents are about 3,000 words each but likely only share about 500 words in common. These are likely within complete paragraphs but there might be an additional sentence at the start or the end of the paragraph. This makes simple scanning the text visually quite challenging.

When I use Edit → Track Changes → Compare Document it seems Writer actually performs a merge with track changes on. While this might be adequate for comparing an older version of one document to a newer version with minor changes, it is completely useless for my current needs.

What I would like to see is the two documents side by side showing differences between the two documents. Something like this:
image description

I used tools like this more than 20 years ago. Does LibreOffice not offer such functionality?

What do you want to do with the comparison if you don’t want to update one of the documents or create a new document with your approved changes?

If you want what your screenshot shows then probably best to use that software.

I would love to have the ability to “merge left” and “merge right” between the two files. However, at least show me the differences and the similarities. To assume that “compare documents” really means “merge documents” seems a pretty big assumption. The image is from a website. Not ideal when offline (or have privacy concerns).

You don’t have to accept or reject any of the changes, you can look without saving. Or you can accept or reject as needed, then as Save As a different file

If you feel LO doesn’t do what you want then you should search for file comparison software. For Windows you could try WinMerge but I’m sure there are plenty more out there. But this is off-topic.

The problem is made complex by two objectives of file comparison:

  • formatting differences
  • text differences

Obviously, Writer can’t do this on two files. Track changes is the ad-hoc feature for a single file but does not extend to the case of several files.


Differences in text can be handled by various plain text utilities like diff. This requires you export your documents as plain text files, i.e. .txt. As already mentioned, this will give no indication about differences in format.

Differences in format must be done visually to the best of my knowledge.

After step 1, you have two windows, each having own document (so both that you want to compare). Then, what does step 2 do for the task? And what does step 3 do?

The tool shown in your screenshot compares 2 Word documents (docx). Are you sure, it can not handle ODF text?