Compare two Word documents and track text revisions

How Word document comparison works, how it differs from Track Changes and plain-text diffs, and how to check that a redline stays readable and safe to share.

What comparing two Word documents actually changes

Comparing two Word documents doesn't change the text of either one. A comparison tool reads an original and a revised version, aligns them, and reports what differs, usually as insertions and deletions. Some tools also report formatting changes or moved passages. Microsoft documents a Compare command for Word that produces a separate result document, where the differences appear as tracked revisions you can accept or reject. The two source files are meant to remain as they were. Menu names and options vary across Word versions and platforms, so confirm them in the help documentation for the version you use.

Comparison is different from Track Changes, although the output looks similar. Track Changes records edits as someone makes them. Comparison reconstructs the edits afterward from two finished files. A reconstructed redline shows what is different, but it can't show the order of the edits or the reasons for them. Moved text may appear as a deletion in one place and an insertion in another unless the tool detects moves.

Comparison works on stored characters, not on how the text looks. Text that looks identical can still register as changed, for example:

  • A regular space replaced by a non-breaking space
  • Straight quotation marks replaced by curly ones, or the reverse
  • A Latin letter replaced by a lookalike from another script, such as Cyrillic "а" for Latin "a"
  • Plain letters replaced by styled Unicode characters, such as mathematical bold or italic letters produced by font generators
  • Invisible directional marks added to control bidirectional display

Effects applied only through formatting work the other way. A different font, a mirrored text box or a visual style leaves the underlying characters unchanged, so those effects show up as differences only if the tool compares formatting as well as text. A word whose characters were reversed in order is stored as a different string, so it usually appears as a full replacement of the original word, not as a partial edit.

Choosing a comparison approach

The main options differ in what they compare, what they produce, and what happens to your text along the way. The table compares them on the same criteria. It describes typical behavior; the outputs were not tested for this guide.

Approach | What it compares | Output | Editable and reversible | Main tradeoff
Word Compare | Text, plus formatting if the option is enabled | New document with tracked revisions | Yes: accept or reject each revision | Shows what changed, not when or why; complex layouts can produce noisy results
Word Combine | Revisions from more than one reviewer's copy | One merged document with each reviewer's revisions | Yes, revision by revision | Conflicting edits still need a human decision
Track Changes during editing | Each edit as it is made | The same document, with recorded history | Yes | Works only if it is turned on before editing starts
Plain-text diff tool | Extracted characters only | Line-level or word-level difference view | Changes the view only; edits happen elsewhere | Formatting, comments and layout are lost; exact character changes are easy to see
Online comparison service | Varies by service | Usually a web view or exported report | Varies | Your text is uploaded to a third party

Word's built-in Compare

Use Compare when you have two finished versions and nobody tracked the edits. Choose the older file as the original and the newer file as the revised version. Swapping them turns every insertion into a deletion. The result is an ordinary Word document, so you can review it, accept or reject revisions, and save a clean final copy. Expect extra noise when the two files differ in layout, styles or field codes. In that case, try turning off formatting comparison so you can concentrate on wording.

Combining copies from several reviewers

If several people edited separate copies of the same original, Word's Combine command can merge their revisions into one document. Each change is labeled with the reviewer who made it. This avoids running repeated two-way comparisons, but where two reviewers changed the same passage differently, you still have to decide which version to keep.

Tracking changes from the start

When you control the editing process, turning on Track Changes before anyone edits gives a more faithful record than a later comparison. Each revision keeps its author and timing, and moved text is less likely to be broken into unrelated deletions and insertions. The limitation is that it records only what happens after it is switched on.

Plain-text diff tools

Copying the text out of both documents and running a diff tool removes formatting from the comparison entirely. That makes this approach useful for checking exact wording or catching the invisible character substitutions listed above. Many diff tools work line by line, so one changed word marks a whole paragraph as different. Word-level modes, such as the documented word-diff option in Git, are easier to read for prose. You lose comments, styles, tables and anything else that doesn't survive extraction to plain text.

The illustrative example below uses matched input to show a word-level diff. Removed words are in [- -] and added words are in {+ +}. It was not produced by a specific tool for this guide.

Original: The contract ends on the last business day of the quarter.
Revised:  The agreement ends on the final business day of each quarter.

Word-level diff (illustrative):
The [-contract-]{+agreement+} ends on the [-last-]{+final+} business day of [-the-]{+each+} quarter.

Online comparison services

Browser-based tools are convenient when Word isn't available. They do upload the content of both documents to an outside service, so check the service's stated retention and privacy terms before pasting anything confidential, personal or under contract. The features vary from service to service, and none were evaluated for this guide.

Matching the approach to the situation

  • Two finished versions, and you need an editable redline: Word Compare
  • Several reviewers each returned their own copy: Word Combine
  • Editing hasn't started yet: turn on Track Changes first
  • You need to confirm exact characters, or suspect lookalike or invisible substitutions: a plain-text, word-level diff
  • No Word access and the content isn't sensitive: an online service, after you check its terms

Will the redline stay readable and usable where you need it?

Tracked revisions are stored inside the document file. Other word processors and viewers may display them in full, simplify them or ignore them, so open the file in the recipient's application before relying on it. When you export to PDF, what appears usually depends on the markup view selected at export time. Check the exported file to confirm whether it shows the redline or only the final text. Pasting redlined content into a plain-text field, such as an email body or a web form, doesn't carry the insertion and deletion markup. Which text gets pasted can depend on the current view, so verify the pasted result.

Redlines rely on visual cues such as color, underlining and strikethrough. Readers with color-vision differences may not be able to tell revision authors apart by color alone. How screen readers announce tracked revisions depends on the assistive technology and the application, and that wasn't tested here. When a review needs to be accessible, add a short plain-text summary of the substantive changes alongside the redline.

Styled Unicode letters, mirrored or reversed text, and lookalike characters that appear in either version can also cause trouble in the comparison output. Fonts on the receiving system may not support them, search may fail to find them, and assistive technology may read them as symbols, not words. If the final text needs to be searchable and accessible, replace those characters with plain text before the final comparison.

Pay attention to what a redline reveals. Tracked revisions can include reviewer names, timestamps and the full text of deleted passages. Deleted text stays in the file until the revision is accepted or rejected. Before you send a document outside your organization, resolve all revisions and comments, then use Word's document inspection tools where available to check for leftover metadata. If you used an online comparison service, remember that the content has already left your control.

Gaps in this guide

No tool outputs, rendering results or assistive-technology behavior were tested for this guide, and the diff example is illustrative. Command names, menu locations and options like move detection or formatting comparison can differ between Word for Windows, Word for Mac and Word on the web. Check the current documentation for your version before relying on a particular feature.