Remove Formatting in Word Before Comparing Text
How to remove formatting in Word or ignore it during a comparison, which method fits your goal, and what character differences still show up afterward.
When you compare two versions of a document, styling differences such as fonts, sizes, bold, colors and spacing can bury the wording changes you actually care about. You can strip that formatting in Word or tell a comparison to ignore it, so the result focuses on the characters themselves. This guide explains what each method changes, which one fits your situation, and what survives once the text leaves Word.
What removing formatting actually changes
Formatting is presentation layered on top of stored characters. It includes typeface, size, weight, italics, color, paragraph spacing, indentation and styles such as Heading 1. Clearing it resets those attributes to the document's default style and leaves the sequence of characters intact. A word that was bold and red becomes plain, and its letters, spaces and punctuation stay exactly as they were.
This distinction matters because some things that look like formatting are actually different characters. No formatting command will undo them:
- Unicode styled letters: Text from so-called font generator tools often replaces ordinary letters with lookalike symbols, such as mathematical bold or script characters. They resemble a styled font but are separate code points, so they still differ from plain letters after formatting is cleared.
- Reversed or mirrored text: Reversing character order changes the stored sequence. Mirroring can be done in two ways. A CSS effect on a web page is display only, so what gets copied depends on the source. Substituting flipped or upside-down lookalike characters changes the stored text itself.
- Bidirectional control characters: These invisible marks control right-to-left and left-to-right display order. They are characters, not styling, and they can make two visually identical lines compare as different.
- Typographic substitutions: Curly and straight quotes, en dashes and hyphens, and non-breaking and regular spaces are distinct characters. Automatic typing corrections can introduce them without the author noticing.
Formatting from pasted web content behaves differently. Styling that a page defines, often with CSS, is converted into Word formatting when you paste it. Once it is in the document, you can clear it like any other formatting.
Ways to remove or ignore formatting in Word
The menu names and locations below reflect desktop Word for Windows. They can differ on Mac, in the web version and in older releases, so confirm them in your own copy.
- Clear All Formatting: Select the text (Ctrl+A selects the whole document), then choose Clear All Formatting in the Font group on the Home tab. For a selection, Ctrl+Space clears character formatting and Ctrl+Q clears paragraph formatting.
- Paste as plain text: Copy the source, then choose Keep Text Only from Paste Options, or use Paste Special and pick Unformatted Text. The text takes on the destination's style and brings no formatting with it.
- Compare with formatting ignored: Go to Review, then Compare, then Compare again. Choose the original and revised documents, select More, and clear the Formatting checkbox under Comparison settings. Both source files stay as they are.
- Save as plain text: Use Save As with the Plain Text (.txt) file type to write only characters. If Word asks about encoding, choose a Unicode option such as UTF-8 whenever the text contains anything beyond basic Latin characters.
- Use a plain-text editor or diff tool: Running a comparison on .txt copies checks characters and lines directly, with no formatting layer involved.
Which approach suits your result
The right method depends on two things: whether the documents must stay usable afterward, and how strict the comparison needs to be.
| Method | What it removes | Effect on originals | Reversibility | Best for |
| Clear All Formatting | Character and paragraph formatting in the selection; styles reset to default | Changes the document, so work on a copy | Only through Undo before saving | Cleaning up one document while continuing to edit it |
| Keep Text Only paste | Formatting from the source | Source unchanged; destination receives plain text | Source formatting is not carried over | Moving text into a clean document for comparison |
| Compare with Formatting unchecked | Nothing; formatting changes are simply not reported | Both files unchanged | Not applicable | Reviewing wording changes while keeping both documents intact |
| Save as .txt | Everything except characters and line breaks | Unchanged if saved as a new file | Formatting cannot be restored from the .txt file | Strict character-level comparison or handing text to another tool |
| Plain-text diff tool | No formatting is present to begin with | Unchanged | Not applicable | Line-by-line or character-level review |
If both documents need to remain as they are, use Compare with the Formatting box cleared. The same settings panel lets you decide whether case changes and white space count as differences. Choose plain text, either a .txt file or a Keep Text Only paste, when you want the strictest comparison or need to feed the text to another tool. Use Clear All Formatting when you plan to keep working in the document and only want to remove visual noise.
What a formatting-free comparison still flags
These methods remove only presentation, so character-level differences remain. The pair below is illustrative rather than output from a tested comparison. The two lines can look nearly identical in a styled document, yet they contain different characters.
Version A: “Final report” – due Friday
Version B: "𝐅𝐢𝐧𝐚𝐥 report" - due Friday
Version B differs from Version A in three ways. It uses mathematical bold letters instead of ordinary ones, straight quotes instead of curly ones, and a hyphen instead of an en dash. A comparison with formatting ignored would still report all three. Find and Replace can standardize quotes and dashes. Styled Unicode letters must be retyped or converted back with a tool that maps them to ordinary letters, and you should check the converted result afterward.
To spot hidden differences, turn on Show/Hide ¶ on the Home tab (Ctrl+Shift+8). This displays spaces, tabs and paragraph marks, and non-breaking spaces appear as a small degree-like symbol. Some invisible control characters may stay hidden even with this view on. In Word for Windows, you can place the cursor right after a character and press Alt+X to see its Unicode code. A plain-text editor that can reveal control characters is another option.
Will the cleaned text stay readable and usable?
Plain text is the most portable form. It pastes into email, forms, code editors and diff tools without bringing styling along. The tradeoff is that any structure conveyed only through formatting disappears, including headings, list styling and emphasis. This affects accessibility, because screen reader users often navigate by heading styles, and a document stripped of styles is harder to move through. Make your cleaned copies for comparison only, and keep the formatted original for sharing.
Styled Unicode letters bring their own accessibility and search problems. Depending on the screen reader and its settings, they may be announced as symbol names, read inconsistently or skipped. They may also fail to match ordinary-letter searches. Converting them to plain letters helps both the comparison and anyone who reads the final text.
Before relying on cleaned text in another program, paste a short sample and confirm that the characters, line breaks and special symbols arrive intact. When saving as .txt, pick a Unicode encoding. A legacy encoding may substitute or drop characters it cannot represent.
Be careful with online comparison or formatting-removal tools. Pasting text into one sends it to an outside service, which may log or retain it. For confidential documents, use Word's built-in Compare or a tool that runs locally, or review the service's data-handling terms before uploading anything.
Gaps in this guide
No tested outputs or version-specific documentation were available for this guide. The menu paths reflect commonly described behavior in desktop Word for Windows, and the comparison example is illustrative. Behavior in Word for Mac, Word for the web, older releases and third-party tools was not verified, so check results in your own setup before relying on them.