Read word to html

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.

The wikiHow Tech Team also followed the article’s instructions and verified that they work.

This article has been viewed 793,221 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.

  • In Microsoft Word, go to File > Save As. Change the file type to Web Page.
  • For Google Drive, upload and open the Word file in Google Docs. Then, go to File > Download > Web Page.
  • Try an HTML conversion web app like Word 2 Clean HTML for additional automatic formatting options.
Читайте также:  font-style

Using Microsoft Word

Image titled Convert a Word Document to HTML Step 1

Image titled Convert a Word Document to HTML Step 2

Image titled Convert a Word Document to HTML Step 3

Image titled Convert a Word Document to HTML Step 4

Image titled Convert a Word Document to HTML Step 5

Image titled Convert a Word Document to HTML Step 6

  • If you’re okay with losing some of the advanced layout code in favor of a simpler file, select Web Page, Filtered instead. This keeps only the style instructions, content, and some other info.

Image titled Convert a Word Document to HTML Step 7

Using Google Drive

Image titled Convert a Word Document to HTML Step 8

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.

Image titled Convert a Word Document to HTML Step 9

Image titled Convert a Word Document to HTML Step 10

Image titled Convert a Word Document to HTML Step 11

Select your Word document and click Open . This uploads the Word document to your Google Drive.

Image titled Convert a Word Document to HTML Step 12

Image titled Convert a Word Document to HTML Step 13

Image titled Convert a Word Document to HTML Step 14

Image titled Convert a Word Document to HTML Step 15

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

Image titled Convert a Word Document to HTML Step 16

Image titled Convert a Word Document to HTML Step 17

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.

Using Word 2 Clean HTML

Image titled Convert a Word Document to HTML Step 18

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.

Image titled Convert a Word Document to HTML Step 19

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.

Image titled Convert a Word Document to HTML Step 20

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.

Image titled Convert a Word Document to HTML Step 21

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

Image titled Convert a Word Document to HTML Step 22

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.

Image titled Convert a Word Document to HTML Step 23

  • To see the regular HTML (not «cleaned up») from the conversion, click the Original HTML tab.
  • To see a preview of how the code would look in a web browser, click the Preview tab.
  • To copy the code so you can paste it elsewhere, click the Copy cleaned HTML to clipboard link at the top of the page.

Community Q&A

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.
As a small thank you, we’d like to offer you a $30 gift card (valid at GoNift.com). Use it to try out great new products and services nationwide without paying full price—wine, food delivery, clothing and more. Enjoy! Claim Your Gift 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?

Thanks! We’re glad this was helpful.
Thank you for your feedback.
As a small thank you, we’d like to offer you a $30 gift card (valid at GoNift.com). Use it to try out great new products and services nationwide without paying full price—wine, food delivery, clothing and more. Enjoy! Claim Your Gift 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

Thanks! We’re glad this was helpful.
Thank you for your feedback.
As a small thank you, we’d like to offer you a $30 gift card (valid at GoNift.com). Use it to try out great new products and services nationwide without paying full price—wine, food delivery, clothing and more. Enjoy! Claim Your Gift 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 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.

Looking for money-saving deals on Microsoft Office products? Check out our coupon site for tons of coupons and promo codes on your next subscription.

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 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

Remove a Blank Page in Word

Insert Page Numbers in Word

Easily Add Page Numbers to a Word Document on Any Platform

Save a Microsoft Word Document

How to Save a Microsoft Word Document: 8 Simple Ways

Check a Word Count in Microsoft Word

Insert a File Into a Word Document

Convert a JPEG Image Into an Editable Word Document

3 Free Ways to Convert JPEG Into an Editable Word Document

Remove the

Convert Excel to Word

3 Easy Ways to Convert Microsoft Excel Data to Word

Make a Booklet in Word

6 Ways to Format and Print a Booklet in Word

Check Spelling in Word

3 Easy Ways to Turn on Spell Check in Microsoft Word

About This Article

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 viewed 793,221 times.

«To use Microsoft Word to convert a Word document to HTML, start by opening the document in Word. Click the File menu and choose Save as. Choose where you want to save the file, and then give it a name. Click the «»Save as type»» menu and select Web Page. Click Save to save your new HTML code to the desired location. To use Google Drive, start by signing in to Google Drive in a web browser. Click the New button and select File upload. Select the Word document and click Open to add it to your Drive. Once the upload is complete, right-click the document in drive, select Open with, and then select Google Docs. When you see the document, click the File menu, select Download, and choose the Web Page option. This downloads a ZIP file of your new HTML to your computer. «

Источник

Word Document to HTML Online Converter

Word Doc to HTML Online Converter

Free online Word to HTML converter with built-in code cleaning features and easy switch between the visual and source editors. It works perfectly for any document conversion, like Microsoft Word, Excel, PowerPoint, PDF, Google Docs, Sheets, and many more. You can also use this tool for composing web content from scratch or just to tidy up the dirty markup.

As a legacy of the well-known but discontinued WordOff online tool we wanted to keep the user interface as simple as possible and adding many new features according to our visitors’ feedbacks.

How to Convert Doc to HTML?

The process is very simple with this free online tool and it requirest just a few simple steps:

  1. Open your file with Microsoft Word, WPS Writer or any other rich text editor.
  2. Copy-paste the content into the area above.
  3. Switch to the HTML tab and clean the code.

WordPress HTML Editor

Word HTML is the perfect tool to edit the source code of WordPress articles or any other content management system when their built in composer doesn’t provide all functionalities we need. Compose the content right in your browser window without installing any extension or plugin to handle the syntax highlighting and other text editing features.

How To Use?

Paste the document you want to convert in the Word Editor, then switch to HTML view using the big tabs at the top of the page to generate the code.

execute

Clean the dirty markup with the big button which performs the active (checked) options in the list. You can also apply these features one-by-one with the icon. When a clean operation is performed the program might add a paragraph to the text, containing a backlink to one of our partner sites. Please leave these unchange to support the this free website.

  • styles– remove style attributes from each tag: highlighted
  • empty icon– delete empty tags which don’t contain anything: Hello World
  • spaces– clear successive non-breaking spaces and leave only one instance:

          

  • attributes– get rid of tag attributes (except href of links and src of images):
  • class and id ico– strip classes and IDs:
  • space ico– wipe off elements that contain only a   character:

     

  • comments icon– dislodge HTML comments:
  • plain text icon– convert the document to plain text:

    text

Additional editor controls

source editor commands

– Undo, new page, indent markup, compress, activate encoding.

Our Sponsors

Omnipapers.com reviews will help you to pick an honest essay company.
My Homework Done can help with any subject, from math to programming.
Custom Writings will write your essay from scratch. Get professional help from academic experts.
Rapid Essay Service — best college essay writing service.
Read essay writing service reviews.
Goread.io is the best website to buy Instagram likes.

Common Questions

How do I convert Word to HTML without dirty markup?

MS Word allows to save the document as an .html file but this will result in a lot of unwanted dirty markup. This increases the file size and disrupts the website styles if you end up publishing it online. It’s recommended to clean the HTML with this free online tool.

dirty markup from MS Word

Get rid of the mess generated by Word Editors

How do I convert any visual text to HTML?

WordHTML editor works flawlessly for any visual document and allows them to convert with a couple clicks:

  • Microsoft Office products (Word, Excel, Powerpoint)
  • Google Docs, Google Sheets
  • OpenOffice and other WYSIWYG editors
  • . any other visual text document (let us know if you find an exception)

Copy-paste your document in the online editor then switch to HTML view in the header to get the result instantly.

How to open a .doc file in the editor?

First you need to open the document in a reader, select and paste de desired section in the web browser on WordHTML.

How to save and publish the results?

To publish your file on the web you need to paste the HTML code in a .html file and upload it to the web.
If your site is using a CMS then you need to log in with editor credentials and publish the article in your admin area.

How to clean the markup?

Switch to HTML view to see the code, review the cleaning settings and press the big Clean button.
Remove automatically inline styles, classes, empty tags, comments and other unwanted bits.

markup cleaning

The markup can be cleaned with the click of a button

Can I convert HTML code to Word document?

Inverse conversion is also possible with WordHTML. Insert your code when the HTML tab is active and switch to Word Editor.

Is WordHTML an online Word editor?

Yes, and it’s even more. It supports the most common WYSIWYG features but you can’t save your document. To save you’ll have to copy the results in a desktop editor and save there.

This site uses cookies to collect visitor statistics and to save your settings.
By using this website you accept&our Terms&Conditions.
©WordHTML.com

Источник

Оцените статью