AnyTool
Your files never leave your device. All processing happens locally in your browser.

HTML to Word

Convert an HTML file or content pasted from a web page to Word (.docx): headings, lists, tables, links and pictures, scripts never run

All Converters →

How do I convert HTML to Word?

Drop an .html file on HTML to Word, or copy part of a web page and paste it into the box, then click Convert to Word. Headings, lists, tables, links and pictures become real Word formatting, and you download a .docx. The HTML is read in your browser without running its scripts; nothing is uploaded.

  • h1–h6 become Word headings
  • Lists, tables (merged cells too), links, bold and italic
  • Paste from a web page or e-mail
  • Scripts never run; web images are not downloaded

What is

HTML to Word conversion

Reading the tags of a web page (headings, paragraphs, lists, tables, links, images) and writing the same structure as a Word document that can be edited offline.

Converters

Related terms

HTMLDOCXWeb pageRich text

How to convert HTML to Word

Turn an HTML file or pasted web content into a Word document in your browser.

20 secWeb browser
  1. 1

    Add the HTML

    Drop an .html file (with its picture files, if you want them), or paste content copied from a web page.

  2. 2

    Choose the options

    Pick the page size and font, and whether to include pictures.

  3. 3

    Convert

    Click Convert to Word and check the counts of headings, tables and pictures.

  4. 4

    Download

    Save the .docx and open it in Word, Google Docs or LibreOffice.

Result: A Word (.docx) document

Frequently Asked Questions

Pictures inside the page are; web pictures are not downloaded.

Images embedded in the HTML (data: URIs) and image files you select together with the .html are placed in the document. Pictures that live on other websites are never downloaded, so nothing leaves your browser; the tool tells you how many were left out.

Yes.

h1 to h6 become Word's Heading 1 to 6 styles, so the navigation pane and an automatic table of contents pick them up.

It keeps the structure, not the CSS.

Formatting comes from the tags and style="" attributes: bold, italic, underline, colours, sizes and alignment. Styles set in CSS classes or stylesheets, and page layout such as columns and menus, are not applied.

Yes.

Copy the part you want, click the paste box and press Ctrl+V (⌘V on a Mac). The formatted content is taken from your clipboard without being shown in the page, so its web images do not load.

Yes.

The HTML is parsed as data: scripts, forms, iframes and videos are left out and never run.

No.

Everything happens in your browser.

Detailed Explanation

Technical Details

What each tag becomes

h1–h6 → Heading 1–6; p and div → paragraphs; b/strong, i/em, u, s, sup, sub, code and mark → run formatting; a → clickable links (http, https, mailto, tel); ul/ol → bulleted or numbered lists with their levels; table → Word table with colspan and rowspan; blockquote → indented paragraph with a bar; pre → monospace block; img → picture; hr → line.

  • Real Word structure
Limitations

Styles

Inline style="" values for bold, italic, underline, colour, font size and text alignment are applied. CSS classes and stylesheets are not, and nearly invisible colours (white text) are dropped so text stays readable on a white page.

  • Inline styles only
Privacy & Security

Safety and privacy

The HTML is parsed with the browser's DOMParser, which never runs scripts; script, iframe, form, video and audio elements are skipped. Remote images are never fetched, so converting a page makes no network requests.

  • No scripts
  • No network requests
What comes through
In the HTMLIn Word
Headings h1–h6Heading 1–6 styles
Lists and nested listsWord lists with levels
Tables with merged cellsWord tables, merges kept
LinksClickable hyperlinks
Embedded or added picturesPictures, sized to the page
Pictures on other websitesLeft out (never downloaded)
CSS classes, layout, scriptsNot applied

Paste from a web page to convert just the part you copied.