Markdown to Word (DOCX)
Convert markdown to docx with pandoc. Runs entirely on your device.
Runs on your device. The file is never uploaded.
Markdown to Word (DOCX) builds a real .docx from a Markdown file, collected as a written file rather than off pandoc standard output, which binary cannot survive. Headings, lists and tables become Word styles from the reference document pandoc carries. You cannot supply a reference.docx, so every run comes back looking the same.
Questions
Does the Word file keep my headings, lists and tables?
Yes. Pandoc builds a real .docx using its own built-in reference document, so Markdown headings become Word heading styles, lists become Word lists and tables become Word tables. You cannot supply your own reference.docx here: the tool passes pandoc no options at all, so every conversion uses the same default look. Restyle the result in Word once, or use it as a starting point for your own template.
Will images in my Markdown end up inside the Word file?
No. The tool passes pandoc the text of your Markdown and no other file, so an image path in your document cannot be read from disk. Pandoc reports each resource it failed to fetch as a warning in the browser console, prefixed with "pandoc:", and the picture does not get embedded. Add images in Word after the conversion.
What is the output file called?
Your file name with the extension swapped: notes.md becomes notes.docx. DOCX is binary, so it cannot travel through pandoc's standard output the way HTML or LaTeX can; the tool writes it through pandoc's output-file path instead. That is why this tool gives you a download and no on-page text preview.
Can it write .doc or ODT instead?
No. This tool writes .docx only, which is the Office Open XML format Word has used since 2007. Word, LibreOffice, Google Docs and Pages all open it. If you need the old binary .doc, open the .docx and save as .doc from Word itself.
How do I go from Word back to Markdown?
Use Word (DOCX) to Markdown. There is also Word (DOCX) to HTML if a web page is what you want. Neither direction is a perfect round trip: things Markdown cannot express, like Word text boxes or page layout, are lost going one way, and the default reference styling is what you get coming back.
Does anything get uploaded?
No. This is pandoc compiled to WebAssembly, running in a Web Worker in this browser tab. There is no server step, no sign-in and no file size quota beyond your own device memory, since the whole document is held in memory while it converts.