ToolsEdit PDFArticlesPricingContact
TryPDFKit
Documents tool

Convert Markdown to DOCX

Turn a .md file into a Word document that you can share with people who do not use Markdown. Nothing is uploaded, so your notes stay on your device.

  • 3 free uses, no sign-up
  • Tables and code blocks
  • Runs in your browser
  • Batch conversion

Drop your files here

or click to browse your device

  • MD
  • MARKDOWN
  • MDOWN
  • TXT
Files never leave your device
  • Files stay on your device
  • 3 free uses, no account needed
  • Works offline once loaded
How was Markdown to DOCX?
Be the first to rate this tool.
1How it works

Markdown to DOCX in three steps

  1. 01

    Add Markdown files

    Drop one or more .md or .markdown files. A .txt file written in Markdown works too.

  2. 02

    Convert

    The Markdown is read, turned into a document, and written as Word.

  3. 03

    Download your DOCX

    Open it in Word or Google Docs and send it to colleagues, clients or teachers.

2The details

What you get, and what to know

What you get

  • Headings that work in Word# lines become Heading 1, ## lines Heading 2, and so on, so the navigation pane and contents tools work.
  • GitHub-style tables and listsPipe tables, bullet lists, numbered lists and nested lists convert to real Word elements.
  • Code blocksFenced code and inline code use a monospaced font so they stand out.
  • Links and emphasisBold, italic, strikethrough and links are kept.
  • Embedded imagesImages written as data URLs are placed into the file.

Good to know

  • Relative image pathsAn image that points to a file path, such as images/logo.png, cannot be reached from the browser, so that picture is left out. Embed the image or add it in Word.
  • Basic stylingSyntax colors in code blocks and custom themes are not recreated.
  • For a PDFUse Markdown to PDF if you want a fixed-layout file.
3Use cases

When people use Markdown to DOCX

Share a README

Give a non-technical reviewer a Word version of project documentation.

Submit an essay

Write in a Markdown editor, then deliver the .docx that your course expects.

Send notes for comments

Colleagues can add comments and tracked changes in Word.

Make client reports

Export a generated Markdown report to Word for final polish.

Writing Markdown that converts well

The converter follows the common GitHub-flavored syntax. Leave a blank line before lists and tables, and use one # at the start of a line per heading level.

Put images inline as data URLs if you need them inside the Word file.

Going the other way

You may also need these tools:

What carries over, step by step

Headings from # to ###### map to Word heading levels. Bold and italic text is kept, and so is strikethrough. Block quotes become indented paragraphs, and horizontal rules become a line.

Front matter, such as a YAML block at the top of a note, is treated as ordinary text, so remove it first if you do not want it in the document.

Raw HTML snippets inside Markdown are read as HTML, so simple tags like line breaks and links still work.

4FAQ

Questions, answered

How do I convert Markdown to Word for free?+

Add your .md file here and download the .docx. You can try it without an account (3 free uses, 10 with a free account).

Is my Markdown file sent to a server?+

No. The file is converted inside your browser and never leaves your device.

Do tables convert?+

Yes. Pipe tables become real Word tables you can edit.

Will code blocks keep their formatting?+

They keep their line breaks and use a monospaced font. Syntax coloring is not added.

Why is my image missing?+

Images that refer to a file path cannot be loaded in the browser. Embed them or insert them in Word.

Can I do this on a tablet or Mac?+

Yes. Any browser on iPad, Android, macOS or Windows can run the converter.

+Keep going

Related tools