Markdown to Word converter
Turn Markdown into a Word .docx file with real heading styles, tables and lists, made in your browser so nothing you paste is uploaded.
Converter
Press Convert to Word and the .docx file is made here, in your browser. Headings become Word's Heading styles, so the navigation pane and a table of contents work straight away.
Jotura, a free notes app, keeps your notes as plain Markdown files, and it converts the PDFs and Word files you add to a vault into Markdown beside them. Download Jotura
How to convert Markdown to Word
- Add your Markdown. Paste or type it into the box, open a
.mdfile, or drop one on the box. A file converts as soon as it opens. - Convert. Press Convert to Word. Notes beside the result list anything the converter left out, such as images.
- Download. Download .docx saves the file with your Markdown file's name, so
notes.mdbecomesnotes.docx.
What comes through
| In the Markdown | In Word |
|---|---|
# to ###### | Heading 1 to Heading 6 styles |
**bold**, *italic*, ~~struck~~ | Bold, italic, strikethrough |
| Lists and task lists | Nested lists, ☐ and ☒ for tasks |
| Pipe tables | Word tables with a header row |
| Code blocks and inline code | Monospace text, shaded for blocks |
[^1] footnotes | Word footnotes |
| Images | Left out, with a count |
Markdown to Word questions
How do I convert Markdown to Word?
Paste your Markdown into the box at the top of this page, or press Open a .md file. Press Convert to Word, then Download .docx. The file opens in Microsoft Word, LibreOffice, Pages and Google Docs.
How do Markdown headings map to Word styles?
Each heading uses Word's built-in heading style: # becomes Heading 1, ## becomes Heading 2, and so on to ###### and Heading 6. Because they are real styles, the Navigation pane lists them and References > Table of Contents builds a contents page from them. To change how every heading looks, right-click the style in the Home tab's Styles gallery and choose Modify.
How are Markdown tables converted to Word?
Each pipe table becomes a Word table, with the first row as its header row and inline formatting such as bold, code and links kept inside the cells. Once it is in Word, the Table Design tab restyles it in one click.
| Site | pH |
| ----- | --- |
| North | 6.4 |
| Ridge | 5.9 |What happens to code blocks?
A fenced code block becomes monospace text on a shaded background, with its line breaks and indentation kept. Inline code becomes a monospace run inside the paragraph.
Are lists, task lists and footnotes kept?
Bulleted and numbered lists keep their nesting. Task list items get ballot boxes, ☐ for open and ☒ for done. Footnotes written as [^1] become Word footnotes. Block quotes, links and horizontal rules come through too.
What happens to images?
They are left out, and the converter tells you how many. The page cannot read image files from your disk by their path, so add the pictures in Word with Insert > Pictures, or convert with pandoc on your own machine, which embeds them.
How do I convert Markdown to Word with pandoc?
Pandoc converts on your own machine and embeds local images. Give it a reference document to use your own fonts and heading styles: print pandoc's default, restyle it in Word and pass it with --reference-doc.
pandoc notes.md -o notes.docx
pandoc -o reference.docx --print-default-data-file reference.docx
pandoc notes.md --reference-doc=reference.docx -o notes.docxHow do I get Markdown into Google Docs?
Convert it here, upload the .docx to Google Drive and open it with Google Docs. The headings arrive as Google Docs headings and show in the document outline.
Is my Markdown uploaded?
No. The converter is a WebAssembly program that runs in a background thread of your browser. It writes the Word file on your device, and nothing you type, paste or open is sent to a server or saved.
Two more converters run in your browser the same way: PDF to Markdown and Word to Markdown. For tables, use the Markdown table generator.