How to use the Word to HTML Converter
- Copy your document in Word or Google Docs and paste it into the left box (Ctrl+V, or ⌘V on a Mac).
- Clean HTML appears on the right straight away.
- Choose what to strip: inline styles, classes, empty paragraphs and
<span>tags. You can also edit the text on the left. - Click Copy HTML or download it as a file.
Why not just save as HTML from Word?
Word's own "Save as web page" produces huge files full of mso- styles, class="MsoNormal", conditional comments and <o:p> tags. Google Docs adds a <span style="…"> around almost every word. Pasting that into a website breaks its design, because the page's own styles get overruled.
This converter keeps the structure that matters, like headings, lists, links, tables, bold and italic, and drops everything else.
What's kept
- Headings
<h1>–<h6>, paragraphs and line breaks - Bulleted and numbered lists, including nested lists
- Links, images (from the web) and tables
- Bold, italic, underline, strikethrough, superscript and subscript
Google Docs often marks bold with a style rather than a <b> tag. The converter spots that and turns it into proper <strong> and <em> tags.
Frequently asked questions
Is my document uploaded?
No. Everything happens in your browser, and pasted content is cleaned with DOMPurify, so scripts can't run.
Can I upload a .docx file?
Not yet. Open the file in Word or Google Docs, select all, copy and paste it here.
Why are my images missing?
Images pasted from Word are often stored only on your computer, so a website can't use them. Upload them to your site and add them with an <img> tag.
Can I turn it into Markdown instead?
Yes: copy the HTML into the HTML to Markdown converter.
Updated