Markdown to DOCX Converter

This Markdown to DOCX converter saves Markdown as a .docx file, the Word format that Google Docs, LibreOffice and Pages open too. Paste Markdown or open a .md file and download the DOCX: headings, lists, tables, links and code come through as editable formatting.

  • Opens in Word and Google Docs
  • Stays on your device
Paste Markdown, or open a .md file. Front matter at the top is left out.

Options
Text size
Page size

How to convert MD to DOCX

The .docx file is built on this page, so it works offline once the page has loaded.

  1. Open the .md file

    Choose Open .md file, drop the file onto the box, or paste the Markdown.

  2. Set the font and page

    Pick a font, 11 or 12 pt, and A4 or US Letter.

  3. Download the DOCX

    Click Download .docx. The file is named after your first heading, such as Quick start.docx.

Example

This README section has a bash code block, a checklist with 2 ticked items and 1 open one, inline code and a link. In the DOCX the checklist shows ☒ and ☐, and the code block keeps its 2 lines in a shaded Consolas box.

Convert a README to DOCX

What’s inside the DOCX file

A .docx is a .zip of XML files. The converter writes these 7:

File in the .docxWhat it holds
word/document.xmlYour text, its paragraphs, lists and tables
word/styles.xmlThe styles: Normal, Heading 1 to 6, Quote, List Paragraph, Code Block, Hyperlink, Code Char and Table Grid
word/numbering.xmlBullets and numbering for 9 list levels
word/_rels/document.xml.relsThe address of every link
docProps/core.xmlThe title (your first heading) and the date it was made
[Content_Types].xml and _rels/.relsWhat each part is, so apps know how to open the file

Open the DOCX in other apps

  • Microsoft Word: double-click the file. Edit it like any document.
  • Google Docs: upload it to Drive, then right-click › Open with › Google Docs, or use File › Open › Upload in Docs.
  • LibreOffice Writer and Apple Pages open .docx files directly.

Headings come through as each app’s own heading styles, so outlines and tables of contents work everywhere.

Markdown to DOCX Converter FAQ

What is a DOCX file?

DOCX is the file format Microsoft Word has used since 2007. It’s a zipped package of XML files, an open standard called Office Open XML, which most word processors can read and save.

Is the DOCX file editable?

Yes. Headings, lists and tables are real Word formatting, not pictures or text boxes, so you can edit and restyle everything.

Why aren’t my images in the DOCX?

The page can’t download pictures from other websites into the file, so each image becomes a link labelled with its alt text. Insert the pictures in Word afterwards.

Can I convert DOCX back to Markdown?

Google Docs can: open the .docx with Google Docs and choose File › Download › Markdown (.md).

Does it work with long documents?

Yes. There’s no length limit; a long file only takes a moment longer to build.

Is my Markdown uploaded?

No. The conversion runs in your browser, on this page, so your text is never sent to a server or saved. Closing the page clears it.