MD Export Desk

Markdown to Word (.docx) converter

Paste Markdown or open a .md file, check the pages on the right, then download an editable Word document. Headings become Word heading styles, tables keep a repeating header row, and footnotes become real footnotes.

What ends up in the Word file

The .docx is built from the same Markdown and settings as the PDF, using Word's own structures rather than pasted HTML, so it stays editable.

In your MarkdownIn Word
# Heading … ###### HeadingHeading 1 … Heading 6 styles, with a bookmark each
**bold**, *italic*, ~~strike~~, `code`Character formatting; inline code in Consolas on a gray background
Lists, nested listsWord bullets and numbering, up to 9 levels; each list restarts at 1
- [ ] task / - [x] done☐ and ☒ at the start of the line
TablesWord tables; the header row repeats on every page and rows don't split across pages
Tables too wide for the pagePlaced in their own landscape section, same rule as the PDF
Fenced codeOne monospace paragraph per line on a shaded background, with syntax colors
[^1] footnotesReal Word footnotes at the bottom of the page
![images](…)Embedded pictures, scaled to the page width; SVG and WebP are converted to PNG
```mermaidThe diagram as a PNG image at 2× resolution
Front matterTitle block, memo header or client cover page, depending on the style
Header and footer settingsWord headers and footers with PAGE and NUMPAGES fields
<!-- pagebreak -->A page break

Fonts in the Word file

The PDF uses web fonts that travel inside the file. A .docx can't carry them reliably, so each style maps to fonts Word has everywhere: Calibri for Report and Client report, Georgia for Memo, Arial for Plain, and Consolas for code. Chinese text is set to Microsoft YaHei (SimSun in Memo); on a Mac, Word substitutes PingFang or Songti automatically.

When to use Word and when to use PDF

Send the PDF when the layout must not change: a deliverable, a signed-off report, anything printed. Send the .docx when someone needs to edit or track changes. Both come from the same file, so you can keep the Markdown as the source and export again after each round of comments. For the PDF, go back to the Markdown to PDF editor.

Questions

Will the Word file keep my headings?
Yes. # to ###### become Word's Heading 1 to Heading 6 styles, so the Navigation pane, the built-in table of contents and style changes all work on them.
Does the table of contents have page numbers in Word?
Not in the .docx. It is a list of links to each heading, because Word only knows page numbers after it lays the document out. If you need numbers, insert Word's own table of contents (References → Table of Contents); it will pick up the Heading styles. The PDF export does have page numbers.
What happens to images that are on another website?
The converter downloads them in your browser and embeds them. Some sites block that; the image is then replaced by a line with its address, and a note after the download tells you which one. Attach the image from your computer instead and it will be embedded.
Is the Markdown sent to a server?
No. The .docx is assembled in your browser tab and saved straight to your downloads.