How to convert MD to DOCX
- Add your .MD file - drop it in the box above or click to browse.
- Convert it to .DOCX in a few seconds.
- Download your new .DOCX file.
What to expect
- Inline HTML in
.mdfiles is stripped - any content expressed as raw HTML will be missing from the.docx. - Code blocks become plain-text boxes; Word has no native syntax highlighting.
- Without a
--reference-doc, headings use Pandoc's minimal built-in style - functional but plain.
Frequently asked questions
Does Pandoc work offline?
Yes, entirely - the only exception is
.md files that reference images by URL, which require a network request to fetch and embed.Will GFM pipe tables become real Word tables?
Yes. Pandoc converts pipe-table syntax to native Word table objects, not plain text.
How do I fix heading fonts and spacing in the output?
Create a
.docx in Word with your preferred styles, then pass it to Pandoc with --reference-doc=yourstyle.docx.Can I merge multiple Markdown files into one DOCX?
Yes - list them all in one command:
pandoc ch1.md ch2.md -o book.docx. Files are joined in the order given.