How to use the Word to HTML tool
- Load the documentDrag your .docx or .odt file onto the box, or click and select it.
- Choose the outputEither a full HTML page, or just the content for a CMS or page builder.
- Review itCheck the preview, or open the code view to read the HTML.
- Copy or saveCopy the code in one click, or save it as an .html file.
Converter features
- Meaningful structureHeadings map to h1–h4, lists to ul and ol, and tables retain their merged cells.
- Free of Word junkOffice-only styling, meaningless span tags and buried XML are all stripped, leaving compact code you can actually read.
- Pictures embeddedImages live inside the HTML, so everything sits in a single file.
- Stays on your deviceYour browser reads the document, and it never leaves your computer.
What’s wrong with Word’s own “Save as Web Page”?
Word can export HTML, but that output is made for Word rather than for browsers. A single-page letter balloons into hundreds of lines, full of Office-specific comments, mso- properties attached to practically every paragraph, fonts declared over and over, plus a separate folder of images. Paste it into a CMS or newsletter tool and its formatting battles the site’s design.
This tool takes the opposite approach. It looks at the meaning of the document instead of the way Word drew it on screen, and writes the simplest HTML that expresses it: every heading turns into an <h2>, every set of bullets into an unordered list and every grid into a table element. Your own stylesheet then controls the appearance, which is precisely what you need when pasting into an established design.
How Word elements are translated
| Word feature | HTML output |
|---|---|
| Paragraphs styled as headings | Heading tags from level one down to level four |
| Strong, slanted, underlined or crossed-out words | The matching inline tags, such as <b> or <s> |
| Bullets and numbering, including sub-levels | Unordered and ordered lists nested inside one another |
| Tables, merged cells included | A table element where merged cells use colspan/rowspan |
| Links | Anchor elements pointing to the same address |
| Images | Image elements with the picture stored inline |
| Footnotes and endnotes | A numbered list of notes at the bottom |
| Centred or right-aligned paragraphs | The alignment, written as a tiny style attribute |
Running headers, footers and page numbering only make sense on paper, so the converter leaves them out. Comments and tracked changes are omitted as well.
Which output type should I pick?
Pick Complete HTML page when you need a standalone file a browser can display without anything else, such as a document for a server or an email attachment. With “Add styling” switched on it gets a plain, readable layout.
Pick Content only when the code goes somewhere that already has a design, such as a blog post’s HTML view, an online-store page, an email newsletter or a knowledge-base article. You get just the content tags, and none of them interfere with the typography or colour scheme already in place.
Word’s colours and font sizes are dropped by default, since a website should apply its own. If you rely on them, say for red safety notes in a user guide, switch on Keep colors and text sizes.
Getting tidy output
- Apply Word’s heading styles. Making a line big and bold by hand gives it the appearance of a title, yet it converts as an ordinary paragraph. Applying Heading 1 or Heading 2 instead yields genuine heading tags, and search engines understand the page structure better too.
- Build lists with the bullet and numbering buttons rather than typing hyphens or digits yourself.
- Big photos mean big HTML. Every embedded picture adds its full weight to the code. On a real website you’ll usually do better switching “Include images” off, putting the photos in your site’s media manager and placing them from there.
- Legacy .doc files go through our server-side converter, when it’s available, to become .docx, and are erased immediately. If it isn’t, resave them as .docx using Word, LibreOffice or Google Docs.
Prefer Markdown? Feed the output to HTML to Markdown. Spotted mistakes in the source? Correct them first in our Word Editor. Starting from a PDF rather than Word? PDF to HTML is the right tool.