About Markdown to DOCX
If you write in Markdown, sooner or later someone wants the document in Word, usually to add comments. The difference between a good and a bad conversion shows up as soon as they try to edit. In a poor one, headings are just big bold text and bullets are typed characters, so the navigation pane stays empty and the numbering falls apart when a step is added.
This converter produces the real thing. Headings use Word's Heading 1 to 6 styles, so the table of contents feature and the navigation pane work. Lists use Word's numbering, so inserting a step renumbers the rest. Tables are Word tables with a repeating header row, and links are clickable. A preview, read back from the finished file, lets you check it before downloading.
How it works
Your Markdown goes through a parser that understands headings (both # and underlined forms), bold, italic, strikethrough, inline code, fenced and indented code blocks, block quotes, nested and task lists, horizontal rules, links and GitHub-style tables, including column alignment. Each piece then maps to a Word structure: bold becomes a bold run, not a character style hack, and each new numbered list gets its own numbering definition starting at the number you wrote.
Front matter, the block between --- lines that static site generators use, is removed so it does not print at the top of your document. If it contains a title: line and you left the title option blank, that becomes the file's Title property. Only http, https and mailto links become hyperlinks, so anything else stays as plain text.
How to use Markdown to DOCX
- Paste into Your Markdown, press Open a .md file, or use Try an example.
- Open Options if you want to set the title, author, font size, line spacing, page size or margins.
- Press Create Word document. The result lists the headings, list items and tables it found, with a preview.
- Press Download .docx.
Markdown in, Word structure out
## Before launch
1. Final QA
2. Publish `CHANGELOG.md`
- Check the links
| Team | Owner |
| --- | --- |
| Docs | Mina |Heading 2: Before launch
List Paragraph, numbered 1: Final QA
List Paragraph, numbered 2: Publish CHANGELOG.md (code style)
List Paragraph, bullet, level 2: Check the links
Table Grid, 2 columns: Team | Owner / Docs | MinaThe style names come from reading the generated file with a separate Word file parser, not this tool's own preview. The heading is a true Heading 2, so it appears in Word's navigation pane.
When it helps
- Sending a README or technical spec to reviewers who comment in Word
- Submitting an article written in Markdown to a publisher that requires
.docx - Turning meeting notes from a notes app into a document that can go in a shared drive
- Producing a first draft of a report with a table of contents you can insert in one click
Tips for a better result
- Add a table of contents in Word with References, Table of Contents. It works immediately because the headings are real styles.
- Restyle the whole document in one step by changing the Heading 1 or Normal style in Word, rather than editing each paragraph.
- Leave a blank line before and after a table or a code block. Markdown parsers vary, and blank lines remove the doubt.
- To check your Markdown renders as you expect first, try it in the Markdown Previewer.
Good to know
- Images are not embedded. Fetching them would mean contacting other servers, and this tool never does that, so an image becomes the text
[Image: alt text], linked to its address if it has one. - Raw HTML in the Markdown is kept as literal text, apart from
<br>, which becomes a line break. - Reference-style links, footnotes and math are not parsed and appear as written.
- Code keeps a monospaced font and a shaded background but has no syntax coloring.
- Block quotes hold plain paragraphs. A list or code block nested in a quote flattens into text.
Questions people ask
Will Word's navigation pane and table of contents work?
Yes. Headings use Word's built-in Heading styles with outline levels, which is what both features look for.
If I add a step to a numbered list, will the rest renumber?
Yes, because the numbers are Word list numbering and not typed digits. A list that starts at 3 in your Markdown also starts at 3 in Word.
Does it support GitHub-flavored tables and task lists?
Tables are supported, including left, center and right alignment set by the colons in the divider row. Task list items become a checkbox character followed by the text, not interactive checkboxes.
Can I choose a custom Word template?
Not here. The file uses a simple built-in set of styles. To apply your house style, open the result in Word and copy styles in with the Organizer, or paste the content into your template.
What to use next
- DOCX to Markdown: for going back the other way after review
- Markdown to PDF: if the reader does not need to edit the document
- Markdown to HTML: to publish the same text on the web
Last reviewed . Read our editorial policy.