1xA2ZOne Data. Any Format.
Live syncLocal-first · no data upload

Convert HTML to Word

Paste HTML into the left editor, open the Word tab on the right and press the download button. You get a .docx that uses Word's own heading and list styles.

Runs entirely in your browser. Your data is never uploaded. Tiếng Việt

01

Editor

DocsWordGmailNotionMarkdown
0 words
Ready · LocalPaste here from Google Docs, Word, Gmail, Notion
02

Live Output

Markdown
SyncedEdit the code here; the editor on the left updates itself
0 characters
Every change is processed right in your browserUTF-8 · by xuanhieu.org

When you need to convert HTML to Word

You need HTML as Word when you send a web page, an email or a system report to someone who only uses Word. The usual trick is saving the page and renaming the extension, but Word then opens a messy layout. Here the HTML is read into a structure and rebuilt as a proper .docx, so headings use the Heading styles, lists are genuinely numbered and tables repeat their header row on every page.

How to do it

  1. Paste the HTML into the Editor editor on the left. Check it, because this is exactly what goes into the file.
  2. Open the Word tab on the right (selected on this page). The box below is a Markdown preview; the Word file itself does not show here.
  3. Open ⚙ Options to choose paper size, orientation, font, font size, line spacing, table borders and page numbers.
  4. Press Download file to get 1xA2Z-document.docx, then open it in Word.

A real example

The preview shows the structure that goes into the file: two headings, a bulleted list, a two-column table, a quote and a mail link. In the Word file those are Heading styles, a real list and a bordered table.

Input · HTML · HTML on the clipboard

<h1>Service agreement</h1><p>An agreement between <strong>Party A</strong> and <strong>Party B</strong>, effective on the date of signing.</p><h2>Article 1. Scope</h2><ol><li>Interface design</li><li>Development and testing</li><li>12 months of maintenance</li></ol><h2>Article 2. Payment</h2><table><thead><tr><th>Stage</th><th>Share</th></tr></thead><tbody><tr><td>Deposit</td><td>30%</td></tr><tr><td>Acceptance</td><td>70%</td></tr></tbody></table><p>See the <a href="https://example.com/annex">annex</a> for details.</p>

Result · Word (Markdown)

# Service agreement

An agreement between **Party A** and **Party B**, effective on the date of signing.

## Article 1. Scope

1. Interface design
2. Development and testing
3. 12 months of maintenance

## Article 2. Payment

| Stage      | Share |
| ---------- | ----- |
| Deposit    | 30%   |
| Acceptance | 70%   |

See the [annex](https://example.com/annex) for details.

Word is a binary file: press Tải file to get the .docx. Above is a Markdown preview of the same content; the Word file has real heading styles, lists and tables.

Options worth changing

Paper size
A4 is the default. Choose Letter if the recipient prints on Letter paper.
Page numbers in the footer
Turn it on for multi-page documents; the page number sits in the centre of the footer.
Table borders
Turn it off for borderless tables. The header row still gets a light fill.
Font
Pick a font the recipient has installed. If it is missing, Word substitutes a similar one.

Common problems

Limits

Frequently asked questions

Is this a real docx?

Yes. It is an Office Open XML package with real Heading styles, numbered lists, links and tables, created in your own browser.

Why do I not see the Word file in the right box?

Word is a binary file and cannot be shown as text. The result box is only a Markdown preview; press Download file to get the .docx.

Do links still work?

Yes for external links. Internal links only work when they match an id made from the heading text, like a contents list inserted by the tool.

Can I open that file in this tool again?

Yes. Press Import file and choose the .docx; headings, lists, tables and links are read back.

Related conversions

1xA2Z · Guide

Document statistics

Most frequent words