Remove Unwanted Underlining When Saving a Word Document as HTML
Question details
Remove unwanted underlining from text when saving a Word document as a web page.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- The user is saving a Word document as HTML and wants the text to appear without unwanted underlining.
- Observed behavior
- Text appears underlined when tracked insertions are displayed inline or when ordinary underline formatting is applied.
Open the original document in Word and identify the underlined text. Check the Review tab for tracked changes and the Home tab for ordinary underline formatting.
Resolve tracked changes before saving as HTML
Use this method when the underlining marks tracked insertions displayed inline.
Tracked insertions can appear underlined when Word displays revisions inline. Accepting a change keeps the edited content; rejecting it removes or reverses that change.
Open the document and select the Review tab. Use the change navigation controls to inspect the tracked edits.
On the Review tab, use Accept or Reject to resolve changes individually. If all edits are approved, open the arrow next to Accept and choose Accept All Changes and Stop Tracking.
Choose File > Save As, select a web page or HTML format, and save the file. Open the saved page in a browser to check the text.

Turn off ordinary underline formatting
Use this method if the text remains underlined after tracked changes are resolved or if Underline is enabled in the Font group.
Edit Word Documents with WPS Writer
WPS Office is a free, lightweight alternative with a familiar interface for editing Word documents. Its format compatibility makes it easy to move existing files into WPS Writer, though it does not fix Microsoft Word's HTML export behavior.

Frequently Asked Questions
Why does inserted text appear underlined in Word?
Tracked insertions can appear underlined when revisions are displayed inline. Open the Review tab to inspect and accept or reject the tracked changes.
How do I accept all tracked changes and stop tracking?
On the Review tab, open the arrow next to Accept and select Accept All Changes and Stop Tracking. Review the edits first because this keeps all tracked changes.
What if the text is still underlined after I accept the changes?
Select the affected text and check Home > Underline in the Font group. If ordinary underline formatting is enabled, click the button to turn it off.
How can I check the result after saving as HTML?
Use File > Save As to save the document in a web page or HTML format, then open the saved file in a browser and inspect the affected text.




