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
Method 3
Method 3 of 3:

Using Online Converters

PDF download Download Article
  1. Searching online will provide many different services to convert your HTML document to Word. But make sure this service is offered for free! Some services will offer a smaller amount of converted pages for free, which may or may not work for you.

Expert Q&A

Ask a Question
      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

      About This Article

      Thanks to all authors for creating a page that has been read 178,147 times.

      Is this article up to date?

      Advertisement