HTML to Word converter

Paste HTML code, open an .html file, or paste a copied web page, and download an editable Word document. Headings become Word heading styles, lists stay lists, and tables, links and images come across. It runs in your browser: nothing is uploaded.

Open a file: (or drop it on this box) ·

Need it to look exactly like the page instead? Use HTML to PDF. Starting from Markdown? Markdown to Word.

What carries over to Word

HTMLIn the .docx
<h1> to <h6>Heading 1 to Heading 6 styles
The navigation pane and Insert › Table of Contents work.
<b>, <i>, <s>, <code>Bold, italic, strikethrough, Consolas
<a href>Clickable hyperlink
<ul>, <ol>Real Word bullet and numbered lists, nested
<table>Word table with a bold, shaded header row
Merged cells (colspan/rowspan) become plain cells, with the text in the first one, so no cell shifts out of its column.
<pre>, <blockquote>Code block on light gray; indented quote with a left border
<img src="https://…">Embedded image, scaled to the page width
If the host blocks cross-site reads, a gray [alt] placeholder.

Not converted: CSS (colors, fonts, sizes, layout columns), forms, scripts and iframes. The converter keeps the document's structure and text, which is what you need to keep editing it in Word. If you need the page to look exactly as it does in a browser, a PDF is the right format: HTML to PDF renders it in real Chromium.

Why not open the .html file in Word?

Word can open an .html file, but it treats it as a web page: it opens in Web Layout and saves as .htm unless you pick Save As › Word Document, and images or stylesheets referenced by relative paths go missing. Pasting a page from the browser keeps the source formatting by default, so the page's fonts, colors and backgrounds come along. This converter writes a clean .docx in Word's own styles instead, so changing the Heading 1 style restyles every heading at once.

HTML to Word from code

This page uses three MIT-licensed npm packages that also run in Node: Turndown reads the HTML, marked structures it and docx writes the file. If what you really need from a script is a document that looks exactly like your HTML (an invoice, a report with charts), generate a PDF instead: POST https://shotmint.creasework.com/v1/pdf with {"html": "…"} returns a PDF rendered by Chromium with your CSS (1 credit; €5 buys 2,000, credits never expire). See HTML to PDF invoices.

Get 25 free renders a month API docs

FAQ

Is my HTML uploaded? No. The conversion and the .docx file happen in your browser; this page sends nothing to a server. Only images referenced by your HTML are downloaded, by your browser, from where they are hosted.

Why did an image become [alt text]? Your browser can only embed an image if its host allows cross-site reads, and a relative path like img/logo.png only exists next to the file on your computer. Insert those images in Word afterwards, or use absolute URLs.

Can I convert a live web page by URL? Copy the page in your browser (select all, copy) and paste it into the box: the HTML on the clipboard is converted. To get a page's main article cleanly, use website to Markdown, then Markdown to Word.

Can I go the other way? Yes: Word to HTML converts a .docx to clean HTML.

Related: HTML to DOCX, Markdown to Word, Word to HTML, HTML to Markdown, HTML to PDF, Word to PDF.

Related tools

Word to HTML · Markdown to Word · Word to PDF · PDF to Word · Word to Markdown Converter · Markdown to HTML · Online HTML editor · HTML to Markdown · HTML viewer · HTML formatter · HTML to PDF · HTML to image · PDF to HTML · DOCX to HTML · HTML Beautifier · HTML Decode · HTML Encode · HTML Minifier · all free tools