How to compare Word documents and identify text changes
Compare two Word documents, show only text changes by ignoring formatting, choose between Compare, Combine and plain-text diff, and share redlines safely.
Comparing two Word documents means finding what was added, deleted or moved between an earlier and a later version of the same text. Word's built-in Compare feature produces this as a redline, sometimes called a blackline. This guide explains what a comparison produces, where to find the control, how to limit the results to text changes, and how to keep the output readable once it leaves your computer.
The brief behind this guide included no inspected Word interface and no recorded test runs. Menu paths and option names below reflect how Microsoft has described the feature for recent desktop versions of Word. Confirm the labels in your own version, especially on Word for the web or mobile apps, where availability may differ.
What a document comparison actually changes
A comparison does not alter the wording of either file. Word reads an original and a revised document and generates a marked-up result. In that result, the differences appear as tracked changes: insertions, deletions and, optionally, moves and formatting changes. You choose whether this markup goes into a new document or into one of the two source files. Choosing a new document leaves both originals untouched, which is the safest default.
Two kinds of difference are worth separating. Content changes are edits to the characters themselves, such as rewording, added sentences or removed clauses. Formatting changes alter appearance without changing the characters, such as bold, font, spacing or style. When you only care about what the text says, formatting differences are noise, and Word lets you exclude them from the markup.
Where to find Compare in Word
In desktop Word, Compare sits on the Review tab, in a group or button labeled Compare. Open Word with any document or a blank one, then follow these steps.
- Go to Review, select Compare, then choose Compare again. The option is described as comparing two versions of a document, or a legal blackline.
- Under Original document, pick the earlier file from the list or browse for it with the folder icon.
- Under Revised document, pick the later file.
- Optionally, set the name in the label field next to the revised document. That name is attached to the changes in the result.
- Select More to expand the comparison settings before you confirm.
- Select OK to generate the comparison.
Word typically displays the result in a split view. The compared document sits in the main pane. The original and revised documents appear in smaller panes, and a Revisions pane lists each change. Scrolling in one pane generally keeps the others aligned, which helps when you check a specific passage against its source.
Showing only text changes by ignoring formatting
After you select More, the Comparison settings list checkboxes for the kinds of difference Word should mark. Microsoft's documentation lists options such as insertions and deletions, moves, comments, formatting, case changes, white space, tables, headers and footers, footnotes and endnotes, text boxes and fields. To focus on wording, clear the options that track presentation rather than content.
| Setting | Effect when cleared | Clear it when |
| Formatting | Font, emphasis and style differences are not marked | You only care about wording |
| White space | Differences in spaces and similar spacing are not marked | Spacing was cleaned up between versions |
| Case changes | Capitalization-only differences are not marked | Capitalization changes are irrelevant to your review |
| Comments | Comment differences are not marked | You want the redline to show body text only |
Clearing a setting only hides that category from the markup. The two documents may still differ in formatting, so don't read a clean result as proof that they look identical. Also check which document's formatting the new compared file uses before you treat it as a finished version.
The same panel has a Show changes at setting with two choices. Character level marks only the characters that changed. Word level marks the whole word when any part of it changes. Word level is usually easier to scan in prose. Character level is better when single characters matter, such as numbers, codes, reference IDs or punctuation in legal text.
Comparing two paragraphs instead of whole documents
Compare works on files, not selections. To compare two paragraphs, paste each one into its own new document, save both, and run Compare on the pair. If the paragraphs come from the same file, this also keeps the rest of the document out of the result.
Problems to check before comparing
- Existing tracked changes: if either file already contains tracked changes, Word may warn you and treat those changes as accepted for the comparison. To control what is being compared, resolve or remove existing revisions first, or save clean copies.
- Restricted or protected files: editing restrictions or protection settings may prevent a comparison. Work from unrestricted copies if you are authorized to do so.
- Wrong order: putting the later file in the Original slot reverses the result, so insertions appear as deletions. Check the file names before you select OK.
- Different file formats: older formats or files converted from other applications may produce noisier results. Saving both files in the current Word format first can reduce artificial differences, though this guide has no test results to confirm by how much.
Reviewing the redline
Once the comparison is generated, treat it like any document with tracked changes. On the Review tab, Next and Previous step through each change, and Accept and Reject resolve them one at a time or all at once. The markup view setting switches between simplified markup, full markup, no markup and the original. Full markup shows every insertion and deletion inline or in balloons, depending on your settings, and is the clearest view for a line-by-line review.
Compare, Combine or a plain-text diff: choosing an approach
Word offers Combine next to Compare, and many people also export text for a separate diff tool. These approaches answer different questions.
| Approach | What it answers | Formatting | Output | Best for |
| Word Compare | What changed between two versions | Can be included or excluded | A Word document with tracked changes you can accept or reject | Contract redlines, editorial review, version checks |
| Word Combine | What several reviewers each changed | Handled as revisions | A single document merging revisions from multiple copies | Collecting feedback sent out as separate copies |
| Plain-text diff | Which lines or words differ in the raw text | Discarded entirely | Diff output, not a Word document | Strict wording checks, scripted or repeated comparisons |
Use Compare when the result has to stay in Word and be edited further. Use Combine when several reviewers worked on separate copies of the same base document. Use a plain-text diff when you want a guarantee that formatting plays no part, or when you need to compare many files the same way each time.
For a plain-text diff, save each document as plain text using Save As with a text file type, then compare the two text files with a diff tool. Word treats each paragraph as one line in plain text. A standard line-based diff therefore marks an entire paragraph as changed even for a one-word edit. Word-level diff modes avoid this. For example, Git can compare any two files outside a repository and highlight word changes:
git diff --no-index --word-diff original.txt revised.txt
The output below is an illustrative example, not a recorded run. In Git's plain word-diff format, deleted words appear in square brackets with minus signs and added words in braces with plus signs:
The supplier shall deliver the goods within [-30-]{+45+} days of
{+written+} confirmation.
The tradeoff is that a plain-text diff loses everything Word-specific. Tables flatten, comments and headers may disappear, and you cannot accept or reject changes in the output. Use it to check the wording, and keep Word Compare for the document you will actually circulate.
Keeping the result readable and safe to share
A Word redline depends on visual cues such as color, underlining and strikethrough. Those cues may not carry over to every destination. Printing in grayscale can make reviewer colors hard to tell apart. Some viewers and converters may show all markup, none of it, or only the final text. Before sending a comparison, open it the way the recipient will, for example as a PDF or in the viewer they use, and confirm the changes are still distinguishable.
Copying text out of a document with tracked changes is also unpredictable. Depending on the destination, the pasted text may include deleted passages, drop them, or lose the markup. If you need clean text elsewhere, accept or reject the changes in a copy first, then copy from that copy.
For accessibility, don't rely on markup color alone. Screen reader support for tracked changes varies by assistive technology and version, and this guide has no documented test results on it. When the audience includes screen reader users, or people reading on devices that strip formatting, send a clean final version with a written summary of the key changes alongside the redline.
A comparison file can also reveal more than intended. Tracked changes keep the deleted text, and revisions and comments can carry author names. Before sharing externally, decide whether the recipient should see that history. If not, resolve all changes and use Word's document inspection feature, found under the file information options, to check for leftover revisions, comments and personal information.
Online document comparison services are another option, but uploading a file sends its full contents to a third party. Contracts, personnel records and other confidential material may then be stored, logged or retained under that service's policies. For sensitive documents, prefer Word's built-in Compare or a diff tool that runs on your own machine. If you must use an online service, review its retention and privacy terms first and remove anything you are not authorized to share.