HTML to Word
Paste or open HTML and get an editable Word document with real Word structure: headings that appear in the navigation pane, paragraphs, bold, italic and underlined text, working links, bulleted and numbered lists with nesting, tables with header rows and merged cells, block quotes, code blocks and embedded images. Scripts, forms and frames are removed first, and a live preview shows the result.
- Runs in your browser
- No sign-up
- Free to use
How to use HTML to Word
- Paste HTML or open an .html file.
- Check the sanitised preview.
- Choose the font, page size and margins.
- Download the Word document.
HTML to Word features
Word structure
Headings 1–6 map to Word heading styles.
Rich text
Bold, italic, underline, strikethrough, code, superscript and links.
Lists
Bulleted and numbered lists, nested, each restarting correctly.
Tables
Header rows, column and row spans, shaded header cells.
Safe input
Scripts, event handlers, forms and frames are stripped before conversion.
Images
Embedded (data URL) PNG, JPEG, GIF and BMP images, scaled to the page.
When to use HTML to Word
- Turning an HTML e-mail or newsletter into an editable document.
- Converting CMS content into Word for review.
- Producing a Word version of generated HTML reports.
- Moving formatted text from a web app into Word without copy-paste problems.
HTML to Word FAQ
What HTML is supported?
Headings, paragraphs, line breaks, bold, italic, underline, strikethrough, code, links, lists, tables, block quotes, preformatted text, horizontal rules and images embedded as data URLs.
Is CSS kept?
Layout CSS such as columns, colours and fonts from style sheets is not translated. The document uses Word styles instead, which is usually what you want for editing.
Why were my images skipped?
Only images embedded in the HTML as data URLs are included, because the tool never downloads anything from other websites. Save images into the HTML first, or insert them in Word afterwards.
Is it safe to paste HTML from unknown sources?
Yes. The HTML is sanitised with DOMPurify, scripts never run, and the preview is shown in a sandboxed frame.
Will tables keep merged cells?
Yes. colspan and rowspan become merged Word table cells.
Is my HTML uploaded?
No. Everything runs in your browser.
Converting HTML into Word’s structure
Copying a web page into Word usually brings along stray formatting, odd spacing and pieces of layout that do not belong in a document. Converting the HTML itself gives a cleaner result, because each HTML element can be mapped to its Word equivalent: an h2 becomes a Heading 2 paragraph, a ul becomes a bulleted list, a table becomes a Word table.
Using real Word structures matters for what happens next. Headings appear in Word’s navigation pane and can generate a table of contents, lists renumber themselves when items are added, tables can be resized and sorted, and links stay clickable. Inline formatting such as bold, italic, underline, strikethrough, superscript and code is carried over run by run.
Before anything is converted, the HTML is sanitised. Scripts, event handlers, javascript: links, forms, frames and embedded objects are removed with DOMPurify, so HTML from e-mails, web pages or user submissions cannot run code in your browser or end up in the document. The preview shows the sanitised version in a sandboxed frame.
Images are included when they are embedded in the HTML as data URLs, the format used by many editors and e-mail clients, and they are scaled to fit the page width. Images referenced by web addresses are skipped and counted in a note, because the converter deliberately makes no network requests. Style sheet details such as colours and multi-column layouts are not translated; the document uses Word’s own styles instead.
The resulting .docx file opens in Microsoft Word, LibreOffice, Google Docs and Pages. Choose the base font, size, page format and margins before downloading, or adjust styles in Word afterwards; headings and body text use Word’s style system, so changing a style updates the whole document.