Word ⇄ HTML
Loading tool…
About Word ⇄ HTML
Word to HTML: upload a .docx (15MB). Full HTML document is on by default after the file is in; turn it off for a body fragment only. Download HTML and Copy. Headings, bold, italic, underline, and alignment come through. Embedded JPEG or PNG become data-URI images. GIF, WebP, and other drawing types are dropped. Hyperlinks become plain text, not <a href>.
HTML to Word: paste HTML or upload .html/.htm. Download Word. script, style, noscript, iframe, and head are discarded. Only data:image/png or data:image/jpeg pictures are kept. http(s) image URLs are ignored. h1 maps to Heading 1; h2 through h6 map to Heading 2. Table rows become paragraphs, not Word tables. Empty HTML with no text or pictures is rejected.
How to use Word ⇄ HTML
- 1Pick a tab. Word to HTML or HTML to Word.
- 2Drop a .docx or paste HTML. Word to HTML: toggle Full HTML document after the file is in.
- 3Preview. HTML markup, or a ready .docx.
- 4Download HTML or Download Word. Copy is on Word to HTML.
Word to HTML
The full document includes doctype, lang=en, charset utf-8, and a title from the filename. Legacy .doc is not supported. Headers, footnotes, and complex tables are simplified.
HTML to Word
Lists (ul/ol/li) become Word lists. onclick attributes are not copied; visible text still flows. Picture size in Word uses the HTML extent when present, otherwise a default width.
Limits and privacy
Word to HTML and HTML to Word both run in your browser. Each upload is 15MB. Pasted HTML is not size-capped. Files are not uploaded. No account.
FAQs
- Can Word to HTML open a .doc file?
- No. Save as .docx in Word first.
- Which pictures survive?
- Word to HTML: JPEG and PNG already in the file become data URIs. HTML to Word: only those same data URIs, not http(s) URLs.
- Are scripts kept?
- No. script, style, noscript, iframe, and head are discarded.
- Is this a perfect round trip?
- No. Headers, footnotes, and Word tables are simplified. HTML tables become paragraphs.
- How large can a Word or HTML upload be?
- 15MB for an uploaded .docx or HTML file. Pasted HTML is not capped the same way.