How to Convert a Word Document to HTML: A Quick Guide

This article was co-authored by wikiHow staff writer, Kyle Smith. Kyle Smith is a wikiHow Technology Writer, learning and sharing information about the latest technology. He has presented his research at multiple engineering conferences and is the writer and editor of hundreds of online electronics repair guides. Kyle received a BS in Industrial Engineering from Cal Poly, San Luis Obispo.

This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.

This article has been viewed 859,367 times.

If you have Microsoft Word on your computer, you can resave the DOC/DOCX file as an HTML file without installing additional software. If you don't have Word or prefer a free online option, you can upload the document to Google Drive and save it as an HTML file. Or, paste the contents of the Word file into a converter like Word 2 Clean HTML. Since Word documents and HTML files are very different, the finished HTML webpage may not contain the same formatting as the original. This wikiHow will show you how to convert a Word document to HTML on your Windows PC or Mac.

Things You Should Know Method 1 of 3:

Using Microsoft Word

Step 1 Open the document in Microsoft Word.

Fair Use (screenshot)
\n">

Step 2 Click the File menu.

Fair Use (screenshot)
\n"> Click the File menu. It's at the top-left corner of Word. Advertisement

Step 3 Click Save As.

Fair Use (screenshot)
\n"> Click Save As . A list of locations will appear.

Step 4 Select a location.

Fair Use (screenshot)
\n"> Select a location. You can save the file to any folder on your computer (or a cloud drive).

Step 5 Type a name for the file.

Fair Use (screenshot)
\n"> Type a name for the file. Enter the name in the textbox next to “File name:”.

Step 6 Select Web Page from the

Fair Use (screenshot)
\n">

Step 7 Click Save.

Fair Use (screenshot)
\n"> Click Save . A new version of the file is now saved in the HTML format. Advertisement Method 2 of 3:

Using Google Drive

Step 1 Go to https://www.google.com/drive.

Fair Use (screenshot)
\n">

Go to https://www.google.com/drive in a web browser. Then click Go to Drive. As long as you have a Google account, you can use Google Drive to convert a Word document to a web page.

Step 2 Click the + New button.

Fair Use (screenshot)
\n"> Click the + New button. It's at the top-left corner of Google Drive.

Step 3 Click File upload.

Fair Use (screenshot)
\n"> Click File upload . It's the second option.

Step 4 Select your Word document and click Open.

Fair Use (screenshot)
\n"> Select your Word document and click Open . This uploads the Word document to your Google Drive.

Step 5 Right-click the Word document in Google Drive.

Fair Use (screenshot)
\n"> Right-click the Word document in Google Drive. A pop-up context menu will open.

Step 6 Click Open with.

Fair Use (screenshot)
\n"> Click Open with . Another menu will expand.

Step 7 Click Google Docs.

Fair Use (screenshot)
\n"> Click Google Docs . The contents of your Word document will display in Google Docs.

Step 8 Click the File menu in Google Docs.

Fair Use (screenshot)
\n">

Click the File menu in Google Docs. It's just below the file name at the top-left corner of the document.

Step 9 Click Download.

Fair Use (screenshot)
\n"> Click Download . Additional menu options will appear.

Step 10 Click Web Page.

Fair Use (screenshot)
\n">

Click Web Page . This allows you to save the .docx as an HTML zipped file. If prompted to do so, click Save or OK to start the download.

Advertisement Method 3 of 3:

Using Word 2 Clean HTML

Step 1 Go to https://word2cleanhtml.com.

Fair Use (screenshot)
\n">

Go to https://word2cleanhtml.com in a web browser. Word 2 Clean HTML is a free, easy-to-use tool that will take the contents of a Word document and convert it to HTML code.

Step 2 Open the Word document you want to convert.

Fair Use (screenshot)
\n">

Open the Word document you want to convert. If you have Microsoft Word, open the document in that application. If not, you can either use the free version of Word located at https://www.office.com to open the file, or a Word alternative like Google Drive.

Step 3 Copy the contents of the Word file to the clipboard.

Fair Use (screenshot)
\n">

Copy the contents of the Word file to the clipboard. Press the Control and A keys (PC) or Command and A keys (Mac) at the same time to highlight everything in the file, right-click the highlighted area, and then click Copy.

Step 4 Paste the copied text into the Word to Clean HTML field.

Fair Use (screenshot)
\n">

Paste the copied text into the Word to Clean HTML field. Right-click the typing area and select Paste to paste the selected content.

Step 5 Adjust your HTML preferences below the form.

Fair Use (screenshot)
\n">

Adjust your HTML preferences below the form. Use the checkboxes at the bottom of the page to toggle conversion preferences, such as converting Word's Smart Quotes to regular ASCII quotes.

Step 6 Click the convert to clean html button.

Fair Use (screenshot)
\n"> Advertisement

Community Q&A

What do I do if I did this accidentally and really want to delete it now? Community Answer

If you want to delete it, right-click on it and click delete. If you want to change it back, rename the file extension from randomfile.html to randomfile.docx.

Thanks! We're glad this was helpful.
Thank you for your feedback.
If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow

I want to convert a Word document with controls (text box) to an HTML file, which has those controls. How do I do this?

Community Answer Change the ending from whatever it is (ex: .txt) to .html (ex: .html).

Thanks! We're glad this was helpful.
Thank you for your feedback.
If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow

If I save a Word document as a web page using HTML, will it have an URL? Community Answer Yes it will because you are basically making a website and all websites have a URL.

Thanks! We're glad this was helpful.
Thank you for your feedback.
If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow

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

If you have to convert hundreds of files to HTML, use commercial software that can convert them all at once. Some options are Doc Converter Pro (formerly Word Cleaner) and NCH Doxillion.

It is not always possible to keep all of your Word formatting and styles during the conversion, and still have the HTML file display consistently on all browsers. You might need to use CSS to achieve this on your website.

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

Advertisement

You Might Also Like

Convert a Microsoft Word Document to PDF Format

How to Convert a Microsoft Word Document to PDF

Convert a Word Document to Epub

Convert a Word Document to Epub

Convert Docx to Doc

3 Easy Ways to Change a DOCX File to DOC

Convert an RTF File into MS Word Document

2 Simple Ways to Convert an RTF into a .DOCX File

Add a Border to Word

3 Easy Ways to Create Borders in Microsoft Word

Change Margins in Word

3 Easy Ways to Adjust the Page Margins in Microsoft Word

Insert a Hyperlink in Microsoft Word

3 Simple Ways to Insert a Hyperlink in Microsoft Word

Insert Page Numbers in Word

Easily Add Page Numbers to a Word Document on Any Platform

Insert a Check Box in Word

How to Add Check Boxes to Word: 10 Simple Steps

Add Backgrounds in Word

How to Add Backgrounds in Microsoft Word: Watermarks, Images, & Colors

Alphabetize in Microsoft Word

How to Alphabetize in Microsoft Word (PC & Mac)

Create an Index in Word

Create an Index in Word

Check a Word Count in Microsoft Word

Check a Word Count in Microsoft Word

Get Rid of a Horizontal Line in Microsoft Word

3 Easy Ways to Delete a Horizontal Line in a Word Document