Markdown to Word

Paste Markdown, download an editable .docx — real heading styles, real tables, real lists.

Markdown

Word document

Waiting for Markdown

Paste Markdown or load the sample — the readout below counts what the Word file will contain: headings, paragraphs, tables and code blocks.

How to use it

  1. Paste Markdown into the box, or press “Open .md” to read a UTF-8 file up to 2 MB. There is no Convert button: the readout updates about a tenth of a second after you stop typing.
  2. Check the readout — it counts exactly what the file will contain: headings, paragraphs, tables, code blocks. Links to http(s) / mailto / tel become clickable Word hyperlinks; other protocols keep only the text.
  3. Press “Download .docx”. The file is assembled on your device from Word’s own format (OOXML): headings use real Heading 1–6 styles, so the Word navigation pane and Insert ▸ Table of Contents work on the result.

Example

Input

# Ship checklist

Notes stay **in this tab**. The Word file is built on your machine.

## What you get

- Real Heading 1–6 styles in the navigation pane
- [Clickable links](https://example.com) in Word

| Area | Owner |
| --- | --- |
| Docs | Ada |

> Nothing leaves the browser.

```js
const bytes = await buildDocx(markdown);
```

Output

ship-checklist.docx — 2 headings · 2 paragraphs · 1 table · 1 code block
Navigation pane: Ship checklist ▸ What you get
The table opens as a real Word table; lists keep their bullets and numbers.

Open the file in Word (desktop, web or mobile) to check it: text is selectable and editable because the document is Word’s own XML format, not an image.

Rules, limits and known issues

  • Images are not embedded: ![alt](url) is written as the text [image: alt]. Fetching remote images would send requests to third parties, which this tool never does.
  • Math, Mermaid, footnotes and raw HTML are not converted — they are kept verbatim as text so nothing silently disappears.
  • The style set is fixed (Heading 1–6, Body Text, Quote, Source Code). No reference-document upload; in Word, modifying a style restyles the whole document.
  • No table of contents is generated: the file carries real outline levels, so Insert ▸ Table of Contents in Word works in one click.
  • Table cells hold inline formatting only — lists or code blocks inside cells are not supported (GFM tables do not allow them either).
  • The document declares Calibri and 宋体 (SimSun); devices without these fonts fall back to whatever Word chooses.
  • Limits: 100,000 characters of input (the download is disabled above, never truncated silently); opened .md files up to 2 MB, UTF-8 only.
  • Nothing is saved: reloading loses the draft (your downloaded .docx is of course yours).

Markdown tools that also run entirely inside this tab.