How to use the Word to HTML tool
- Add your documentDrop a .docx or .odt file onto the box, or click to choose it.
- Pick the outputA complete HTML page, or only the content to paste into a CMS or page builder.
- Check the resultLook at the preview, or switch to the code view to see the HTML.
- Copy or downloadCopy the code with one click, or download it as an .html file.
Features
- Real structureHeadings become h1 to h4, lists become ul and ol, and tables keep their merged cells.
- No Word clutterNo mso- styles, empty spans or hidden XML. The code is short and easy to read.
- Images includedPictures are embedded in the HTML, so one file contains everything.
- PrivateThe document is read by your browser and never leaves your device.
Why not use “Save as Web Page” in Word?
Word can save a document as HTML, but the result is built for Word, not for the web. A one-page letter turns into hundreds of lines of code: conditional comments, mso- styles on almost every paragraph, fonts declared again and again, and a folder of image files next to it. Paste that into WordPress or an email builder and the formatting fights with the site’s own design.
This converter goes the other way. It reads what the document means, not how Word drew it, and writes the plainest HTML that says the same thing: a heading is an <h2>, a bulleted list is a <ul>, a table is a <table>. Your website’s stylesheet then decides how it looks, which is exactly what you want when the content is going into an existing design.
What is converted
| In Word | In the HTML |
|---|---|
| Heading 1, 2, 3 styles | <h1>, <h2>, <h3> |
| Bold, italic, underline, strikethrough | <b>, <i>, <u>, <s> |
| Bulleted and numbered lists, with levels | <ul> and <ol>, nested |
| Tables, including merged cells | <table> with colspan and rowspan |
| Hyperlinks | <a href> |
| Pictures | <img> with the image embedded |
| Footnotes and endnotes | Numbered notes at the end |
| Text alignment | Kept as a small inline style |
Headers, footers and page numbers belong to the printed page, so they are not part of the HTML. Comments and tracked changes are left out too.
Complete page or content only?
Choose Complete HTML page when you want a file that opens in a browser on its own, for example a document to put on a server or send as an attachment. Leave “Add styling” on and it gets a simple, readable layout.
Choose Content only when you are pasting into something that already has a design: the HTML view of a WordPress or Blogger post, a Shopify page, a newsletter template or a help-centre article. You get just the tags for the text, with nothing that would override the site’s fonts or colours.
By default colours and font sizes from Word are dropped, because a website should use its own. If they matter, for example red warning text in a manual, tick Keep colors and text sizes.
Tips for a clean result
- Use real heading styles in Word. Text that is only made big and bold looks like a heading but becomes a normal paragraph. Applying Heading 1 or Heading 2 gives you proper headings, which also helps search engines understand the page.
- Use Word’s list buttons rather than typing dashes or numbers by hand.
- Large photos make large HTML. Embedded images are stored inside the code. For a website, it is often better to untick “Include images”, upload the pictures to your media library and insert them there.
- Old .doc files are converted to .docx on our server first when that option is available, and deleted right after. Otherwise, open the file in Word or Google Docs and save it as .docx.
Going the other way? HTML to Markdown turns the result into Markdown, and the Word Editor lets you fix the document before converting. For PDFs, use PDF to HTML.