Markdown to Word
Convert Markdown to a downloadable Word (.docx) document. Preview your content before downloading.
To convert Markdown to Word, paste it into the editor above and click Download DOCX. You get an editable .docx where headings use Word's Heading styles, tables are real Word tables, code keeps its line breaks in a monospace block, links stay clickable, footnotes are real Word footnotes and Mermaid diagrams are inserted as pictures.
What does the output look like?
A table with alignment
| Item | Qty | Price |
|:--------|:---:|------:|
| Laptop | 2 | 1,800 |
| Monitor | 4 | 960 |A real Word table (Insert > Table style), not tab-separated
text. Header row shaded and repeated on every page the
table spans. Item is left-aligned, Qty centred, Price
right-aligned, as in the Markdown.Nested and task lists
1. Prepare
- Book room
- [x] Send invite
2. Run the workshop1. Prepare
• Book room
• ☒ Send invite
2. Run the workshop
Word numbering and bullets, indented by level.
Ticked tasks get ☒, open ones ☐.A footnote and some math
Latency fell 40%.[^1]
$$
T = \frac{n}{r}
$$
[^1]: Measured on 12 Oct."Latency fell 40%.¹" with ¹ a real Word footnote at
the bottom of the page.
The formula stays as its LaTeX source ($$T = \frac{n}{r}$$),
not a typeset equation. Use Markdown to PDF if you need
the maths typeset.Why do tables break when I paste Markdown into Word or Google Docs?
Word does not read Markdown, and a normal paste into Google Docs does not either. A pasted table arrives as lines of text with pipes in them, and code blocks lose their monospace font. Converting to .docx first builds the table, list and heading objects Word expects, so the document behaves like one written in Word. For Google Docs, see Markdown to Google Docs, which also covers its own Paste from Markdown.
Should I send Word or PDF?
Send Word when the other person needs to edit, comment or track changes. Send a PDF when the layout must stay fixed, when it contains maths, or when it will be printed. The PDF route also typesets LaTeX and embeds images, which the Word export does not do yet.
Can I convert ChatGPT or Claude answers to Word?
Yes. Copy the reply with the assistant's copy button, which gives you Markdown, and paste it here. Tables and code from AI answers are the usual things that break in a plain paste, and both convert properly. If the answer has citation markers or odd spacing, clean it with the AI output cleaner first.
How do I go back from Word to Markdown?
Use DOCX to Markdown. Headings, lists, bold, italic, links and tables come back as Markdown syntax.
How are tables, code, front matter and other edge cases handled?
| Input | What you get |
|---|---|
| GFM tables | Real Word tables with column alignment; shaded header row repeats across pages; rows do not split |
| Code blocks | Consolas, shaded block, line breaks and indentation kept. No syntax colours |
| Headings | Word Heading 1–6 styles |
| Links | Clickable hyperlinks |
| Images | Not embedded yet: alt text as a link to the image URL |
| ```mermaid blocks | Rendered to a PNG picture. An invalid diagram stays as its code |
| LaTeX math | Kept as $...$ source text, not a Word equation |
| Footnotes | Real Word footnotes at the bottom of the page |
| Task lists | ☒ and ☐ characters |
| YAML front matter | Left out of the document |
| Emoji | Kept as text; how they look depends on Word's emoji font |
| Raw HTML | Tags removed; the text inside is kept |
MDConvert vs Pandoc vs pasting into Word
| MDConvert | Pandoc | Paste into Word / Docs | |
|---|---|---|---|
| Install needed | No | Yes (command line) | No |
| Tables | Real Word tables | Real Word tables | Lines of text with pipes |
| Heading styles | Yes | Yes | No, plain paragraphs |
| Footnotes | Real footnotes | Real footnotes | Literal [^1] text |
| Math | LaTeX source text | Native Word equations | Source text |
| Images | Linked, not embedded | Embedded | Not from Markdown |
| Mermaid | Picture | With a filter | Code text |
| Custom styles | Edit in Word afterwards | --reference-doc template | Manual |
Pandoc is ahead on maths and images and lets you supply a reference .docx for house styles. MDConvert needs no install and shows a preview first.
Maintained by Ankit Aglawe. Last updated .
Related Tools
Need a different format? See every tool on the Markdown converter page, or go back to the MDConvert home page.