Markdown to Word

Convert Markdown to a downloadable Word (.docx) document. Preview your content before downloading.

Input — Markdown
Preview — Document
Document preview will appear here...

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

Markdown in
| Item    | Qty | Price |
|:--------|:---:|------:|
| Laptop  |  2  | 1,800 |
| Monitor |  4  |   960 |
In Word
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

Markdown in
1. Prepare
   - Book room
   - [x] Send invite
2. Run the workshop
In Word
1. 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

Markdown in
Latency fell 40%.[^1]

$$
T = \frac{n}{r}
$$

[^1]: Measured on 12 Oct.
In Word
"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?

InputWhat you get
GFM tablesReal Word tables with column alignment; shaded header row repeats across pages; rows do not split
Code blocksConsolas, shaded block, line breaks and indentation kept. No syntax colours
HeadingsWord Heading 1–6 styles
LinksClickable hyperlinks
ImagesNot embedded yet: alt text as a link to the image URL
```mermaid blocksRendered to a PNG picture. An invalid diagram stays as its code
LaTeX mathKept as $...$ source text, not a Word equation
FootnotesReal Word footnotes at the bottom of the page
Task lists☒ and ☐ characters
YAML front matterLeft out of the document
EmojiKept as text; how they look depends on Word's emoji font
Raw HTMLTags removed; the text inside is kept

MDConvert vs Pandoc vs pasting into Word

MDConvertPandocPaste into Word / Docs
Install neededNoYes (command line)No
TablesReal Word tablesReal Word tablesLines of text with pipes
Heading stylesYesYesNo, plain paragraphs
FootnotesReal footnotesReal footnotesLiteral [^1] text
MathLaTeX source textNative Word equationsSource text
ImagesLinked, not embeddedEmbeddedNot from Markdown
MermaidPictureWith a filterCode text
Custom stylesEdit in Word afterwards--reference-doc templateManual

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.

Markdown to Word questions

Does the .docx open in Google Docs and LibreOffice?
Yes. It is a standard Office Open XML file. Word, Google Docs (File > Open > Upload), LibreOffice Writer and Pages all open it.
Will the headings show up in Word's navigation pane?
Yes. # to ###### become Word's built-in Heading 1 to Heading 6 styles, so the navigation pane works and Word can build a table of contents from them (References > Table of Contents).
What font does the document use?
Body text is Calibri and code is Consolas, both installed with Microsoft Office. Change them afterwards by editing the Normal and Heading styles in Word.
Can I track changes and add comments?
Yes. It is an ordinary Word document once downloaded, so every Word feature works on it.
Why are my images shown as links?
The converter runs in your browser and most image hosts block other sites from downloading their files, so images cannot be embedded yet. Each image becomes its alt text as a clickable link to the original, so nothing is silently lost. Insert the picture in Word afterwards.
Is my document uploaded?
No. The .docx is built in your browser tab and downloaded straight from it.