curly{bits}

curlybits / Word to HTML

Word to HTML Converter

Paste text from Microsoft Word, Google Docs, a web page or an email, and get clean, simple HTML: headings, paragraphs, lists, links, tables and bold or italic text, without Word's hidden styles and junk. Perfect for a CMS, a blog or an email template.

Paste your document here
Clean HTML
Paste on the left. Nothing is uploaded.

How to use the Word to HTML Converter

  1. Copy your document in Word or Google Docs and paste it into the left box (Ctrl+V, or ⌘V on a Mac).
  2. Clean HTML appears on the right straight away.
  3. Choose what to strip: inline styles, classes, empty paragraphs and <span> tags. You can also edit the text on the left.
  4. 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

Add this Word to HTML converter to your website

Free for blogs, schools and businesses. Copy the code below and paste it into your page's HTML. The tool works exactly like this one and runs in your visitors' browsers, so nothing is uploaded. Please keep the credit line so others can find it too.

Preview embed ↗