Word (DOCX) to HTML
Convert a Word .docx document into clean, safe HTML with headings, lists, tables, links and images.
Loading tool…
Files stay on your device. How this works
How to convert Word to HTML
- Select Choose file and pick a .docx document.
- Select Convert to HTML.
- Check the result in Preview, or switch to HTML code to see the markup and copy it.
- Download the .html file.
Good to know
- Works with .docx files up to 25 MB, one at a time. Old .doc files and password-protected documents can't be opened. The output keeps the name, so guide.docx becomes guide.html.
- Kept: headings, paragraphs, bulleted and numbered lists, tables, bold and italic text, links and pictures. Pictures are embedded in the file, so it works on its own.
- Not kept: fonts, colors, text sizes, page layout, headers and footers. EMF, WMF and SVG drawings are left out, and the result says how many.
- The HTML is cleaned for safety. Scripts, embedded objects and unsafe links are removed; web, email and in-page links stay. The downloaded page also blocks scripts from running.
- Links show as plain text in the preview but work in the downloaded file. If anything didn't convert cleanly, it's listed under Some content may not have converted.
Frequently asked questions
Can I paste the HTML into my website or CMS?
Yes. Open HTML code and copy the part between the <body> tags. It uses plain tags with no inline styles or classes, so your site's own styles apply.
Why did my headings come out as normal paragraphs?
Headings are recognized from Word's built-in Heading styles. Text that was only made big and bold is treated as a paragraph. Apply Heading 1, Heading 2 and so on in Word, then convert again.
Why is one of my images missing?
Some Word drawings are stored as EMF, WMF or SVG, which are left out for safety or because browsers can't show them. Replace it in the document with a PNG or JPG version and convert again.
Is this cleaner than saving as a web page from Word?
It's much simpler. Word's own web page export keeps Word's styling code, while this output has only structural tags such as headings, lists and tables.