Compare Word Documents While Ignoring Formatting Differences
How to compare two Word documents for wording changes only: Word's Compare settings, side-by-side viewing, plain-text diffs, and pitfalls that create false differences.
When two versions of a Word document differ mostly in fonts, spacing or styles, a full comparison can bury the real edits under formatting noise. This guide explains how to find differences between two Word documents while setting formatting aside, what each method actually compares, and how to tell whether the result fits your purpose.
What a Formatting-Insensitive Comparison Actually Changes
Comparing documents does not alter either file's text. It produces a report of differences, either as a separate document with revision marks or as diff output. Ignoring formatting changes only what gets reported: bold, italics, font changes, colors and style changes stop appearing as differences, while inserted, deleted and moved wording still does.
Formatting and characters are not the same thing, and that distinction decides what a comparison will flag. Formatting is a presentation layer applied to stored characters, similar to how CSS styles a web page without changing its text. Ignoring formatting hides that layer. A substitution of one character for a different one that looks identical is a character change, and a comparison will still report it even with formatting ignored.
Common sources of differences that look like formatting but are stored as different characters:
- Curly (smart) quotes versus straight quotes, often introduced by AutoCorrect in one version only
- Non-breaking spaces versus regular spaces
- En dashes, em dashes and hyphens that look similar at small sizes
- Stylized Unicode letters, such as mathematical bold or italic characters produced by font generator tools, which are separate characters rather than bold formatting
- Invisible characters such as zero-width spaces, soft hyphens and bidirectional control marks used in right-to-left text
- Line breaks versus paragraph breaks
If a comparison shows a change you cannot see, one of these is a likely cause. In Word, turning on the Show/Hide paragraph marks view can reveal some of them, such as spaces, breaks and non-breaking spaces.
Comparing Documents in Microsoft Word with Formatting Turned Off
Desktop versions of Microsoft Word include a built-in Compare feature. Menu names and placement can vary between versions and platforms, so treat the steps below as a general path and check the labels in your copy of Word.
- 1. Open Word and go to the Review tab.
- 2. Select Compare, then Compare Documents (the option that compares two versions, not the one that combines reviewers' changes).
- 3. Choose the earlier file as the Original document and the later file as the Revised document.
- 4. Select More to expand the comparison settings.
- 5. Clear the Formatting checkbox. Leave Insertions and deletions and Moves selected.
- 6. Optionally clear Case changes or White space if those differences are not meaningful to you.
- 7. Under Show changes at, choose Word level for readable results or Character level to catch single-character edits.
- 8. Under Show changes in, choose New document so neither original file is modified.
- 9. Select OK.
Word typically displays the result as a combined document with revision marks, often alongside panes showing the original and revised versions and a list of revisions. You can step through each change with the Next and Previous buttons in the Changes group rather than scanning by color.
Before comparing, accept or reject any tracked changes already present in either file. Existing revisions can make the comparison result harder to interpret, because it becomes unclear which marks come from the comparison and which were already there.
Viewing Two Word Documents Side by Side
Word's View Side by Side option, found on the View tab when two documents are open, places both files next to each other, usually with synchronous scrolling. It does not detect or highlight differences; you compare them by eye. That makes it useful for checking layout or reviewing a short document, but unreliable for finding small wording changes in a long one. Because it shows the documents as formatted, it also cannot ignore formatting differences.
Comparing Plain-Text Exports with a Diff Tool
Another way to ignore formatting completely is to remove it. Save each document as plain text, then compare the two text files with a diff tool. Plain text stores no fonts, styles or colors, so only character differences remain.
The commands below are illustrative examples of standard command-line tools; the file names are placeholders and no output is shown because none was tested here. GNU diff's -w option ignores all whitespace, and git's word-diff mode reports changes word by word instead of line by line, which suits paragraphs that are stored as long single lines.
# Line-based comparison, ignoring whitespace differences
diff -w original.txt revised.txt
# Word-by-word comparison of two files outside a repository
git diff --no-index --word-diff original.txt revised.txt
Plain-text export has tradeoffs. Tracked changes, comments, headers, footers, footnotes and text boxes may be dropped or placed differently depending on how the file is saved. Automatic list numbering may or may not be written out as text. Word may also ask which text encoding to use; choosing the same encoding, such as UTF-8, for both files avoids spurious differences.
Which Approach Suits Your Goal
The methods differ in what they compare, what you can do with the result, and whether your files leave your computer.
| Approach | What it compares | Ignores formatting | Result | Best for |
| Word Compare with Formatting cleared | Text, moves, and optional elements such as tables, headers and comments | Yes, by setting | Editable Word document with revisions you can accept or reject | Reviewing edits and producing a clean final version |
| View Side by Side | Nothing automatically; manual reading | No | No report; visual only | Checking layout or skimming short files |
| Plain-text export plus diff tool | Characters only | Yes, by discarding formatting | Plain-text report; source files unchanged | Precise wording checks, scripting, large or repeated comparisons |
| Online comparison service | Varies by service; check its documentation | Varies | Varies | Quick checks of non-sensitive text when Word is unavailable |
If you need to act on the differences inside the document, Word's Compare is usually the more practical choice, because each change can be accepted or rejected in place. If you only need a reliable list of wording changes, a plain-text diff gives the strictest formatting-free result, at the cost of losing document structure.
Will the Comparison Result Be Readable and Usable Where You Need It?
A Word comparison result depends on revision marks. Those marks display as intended in Word, but copying the text into an email, chat or another editor may lose them or carry over the text without showing which parts were inserted or deleted. If you need to share the differences outside Word, a plain-text diff report or a PDF of the marked-up document is a more predictable format. Check how it appears at the destination before relying on it.
Revision marks often use color to distinguish insertions from deletions. Underline and strikethrough styling and the revisions list provide cues that do not depend on color alone, but how a particular screen reader announces revisions depends on the software and its settings. If the result will be reviewed with assistive technology, test it with that setup. A plain-text diff with explicit added and removed markers can be easier to navigate in some cases.
Stylized Unicode characters affect usability as well as comparison. Text written in mathematical-style lookalike letters may be read aloud character by character or skipped by screen readers, and it will not match searches for the ordinary word. If a comparison reveals such characters in a document meant for general reading, replacing them with standard letters and applying real formatting improves both readability and future comparisons.
Online comparison sites require you to upload or paste document content to an external service, where it may be stored, logged or retained under that service's terms. Contracts, personnel records, legal drafts and other confidential material are better compared locally, either in Word or with a diff tool on your own machine. If you do use an online service, read its data-handling policy and remove sensitive details first.
Gaps in This Guide
No version-specific testing was performed for this guide. Exact menu labels, the availability of Compare in Word for the web or mobile apps, how Word's plain-text export handles particular elements, and how specific online services process files were not verified. Confirm these details in the documentation for your version and tools before relying on them for important documents.