PDF download Download Article
Converting an HTML file to a Word document in a few simple steps
PDF download Download Article

This wikiHow teaches you how to convert an HTML file into a Word document .docx. You will need to use Microsoft Word to perform this process; luckily, Word will automatically convert an HTML document into its web page format when you open the HTML document in Word.

Quick Steps

  1. Open your HTML file in Word.
  2. Click File.
  3. Click Save as.
  4. Select a location to save to and change the "File Type" to ".docx."
Method 1
Method 1 of 3:

Windows

PDF download Download Article
  1. If you saved your HTML file as an RTF (rich text format) file—especially if you copied it from the internet—it may have retained some of its formatting; if so, Word may not format the page for you when you open the HTML file. You can ensure that your HTML file uses plain text format by doing the following:
    • Open Notepad by typing notepad into Start and then clicking Notepad.
    • Paste your copied HTML into Notepad by pressing Ctrl+V.
    • Click File.
    • Click Save As....
    • Click the "Save as type" drop-down box.
    • Click All Files.
    • Type a file name followed by .html into the "File name" text box.
    • Click Save.
  2. Click or double-click the Word app icon, which resembles a white "W" on a dark-blue background. This will open the Microsoft Word launch page.
    Advertisement
  3. It's a link on the left side of the window with an icon of an open folder.
  4. It's in the bottom-right corner of the window. This will open the HTML document in its formatted form in Microsoft Word.
    • If you're using Word 365, you need to click Browse first.
    • You can also double-click the file to open it without clicking Open.
  5. While Word should format your document exactly as it appears on the web page, you may need to clean up the formatting by ensuring that headings are bolded, images are centered, and so on.
  6. It's on the top-left side of the Word window.
  7. You'll find this option on the left side of the window.
  8. It's in the middle of the page. Doing so prompts a pop-up window to appear.
  9. Click the Save as file type drop-down menu and select Word Document.
    • You can also enter a new name for your Word file in the "File name" text box if need be. You can also choose a new save location (e.g., the Desktop) by clicking a folder in the left-hand sidebar.
  10. This option is in the bottom-right corner of the window. Doing so will save a Word copy of your HTML file.[1]
  11. Advertisement
Method 2
Method 2 of 3:

Mac

PDF download Download Article
  1. If you saved your HTML file as an RTF (rich text format) file—especially if you copied it from the Internet—it may have retained some of its formatting; if so, your Mac's Microsoft Word won't convert it into a document. You can remove formatting by doing the following:
    • Open TextEdit by typing textedit into Spotlight and then double-clicking TextEdit.
    • Click New Document when prompted.
    • Click File.
    • Click Make Plain Text.
    • Paste in your HTML file's text.
    • Press Command+S.
    • Select Web Page from the "File Format" drop-down box.
    • Click Save.
  2. Click or double-click the Word app icon, which resembles a white "W" on a dark-blue background.
  3. It's a menu item in the upper-left side of the screen. A drop-down menu will appear.
  4. This is in the drop-down menu. Doing so opens a Finder window.
  5. Go to the location where your HTML document is stored, then click it once.
  6. It's a blue button in the bottom-right corner of the window.
  7. While Word should format your document exactly as it appears on the web page, you may need to clean up the formatting by ensuring that headings are bolded, images are centered, and so on.
  8. It's in the top-left corner of the screen. This prompts a drop-down menu.
  9. This option is in the drop-down menu. Doing so opens the Save As window.
  10. Click the "File Format" drop-down menu and select "Word document".
    • You can also change the name of the file by typing a new name into the "Name" text box, or select a new save location by clicking a folder on the left side of the window.
  11. It's at the bottom of the window. Doing so will create a Word copy of your HTML document.
  12. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

Warnings

  • You cannot paste copied HTML text into Word to convert it—the base text format for the HTML file must be plain text, and pasting the HTML into Word will result in rich text.
Advertisement

You Might Also Like

Convert a Word Document to HTML Convert a Word Document to HTML: A Quick Guide
Save a Text Document as an HTML File Save a Document as an HTML File in a Plain Text Editor
Convert Docx to Doc3 Free & Easy Ways to Change a DOCX File to DOC
Convert PowerPoint to WordStep-By-Step Guide to Convert PowerPoint to Word: Windows + Mac
Convert an RTF File into MS Word Document2 Simple Ways to Convert an RTF into a .DOCX File
Convert XML to MS Word Convert an XML File to a Word Document: Complete Guide
Convert Word to PowerPointConverting a Word Document into a PowerPoint Presentation
Save a Text or .txt File Save a Text or .txt File on a Computer
Convert a Doc File to a Docx FileConvert a Doc File to a Docx File
Change a Word Document to JPEG Format3 Quick Ways to Convert a DOC or DOCX File to a JPEG
Convert a WordPerfect Document to a Microsoft Word Document4 Ways to Convert a WordPerfect Document to MS Word
Convert a JPEG Image Into an Editable Word Document3 Free Ways to Convert JPEG Into an Editable Word Document
Converting PDF to Word: The Best Options for PC & Mac
Convert a Microsoft Word Document to RtfConvert a Microsoft Word Document to Rtf
Advertisement

About This Article

Darlene Antonelli, MA
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA. Darlene has been writing and editing tech content at wikiHow since 2019. She previously worked for AppleCare, served as a writing tutor, volunteered in IT at an animal rescue, and taught as an adjunct professor for EN101 and EN102. Darlene has completed Coursera courses on technology, writing, and language. She holds both a BA (2011) and an MA (2012) from Rowan University in Writing, with a focus on workplace communication. With her extensive experience, academic background, and ongoing learning, Darlene has become the go-to grammar expert for her friends and family, as well as a skilled wordsmith for anyone in need. This article has been viewed 189,125 times.
How helpful is this?
Co-authors: 10
Updated: May 14, 2024
Views: 189,125
Categories: Microsoft Word
Thanks to all authors for creating a page that has been read 189,125 times.

Is this article up to date?

Advertisement