Free Markdown to Word Converter

Paste Markdown or upload a .md file and download an editable Word document with real heading styles, lists and tables. Free, with no account needed.

Max file size : 3 MB
Upto 10 MB Sign up free
.md, .markdown or .txt
Need PDF instead? Convert Markdown to PDF

What Is a Markdown to Word Converter?

Quick answer: This free markdown to word converter turns Markdown into an editable .docx file. Paste your text or upload a .md file in the form above, press Convert to Word (DOCX), and download a document with real heading styles, lists and tables.

You wrote the documentation or thesis chapter in Markdown, and the reviewer wants a Word file to comment on. READMEs, meeting notes and pasted AI answers all go through the same md to docx conversion.

Three edges to know: there is no live preview, no template or font choice, and raw HTML inside your Markdown is dropped.

How to Convert Markdown to Word

The form sends your text to our server, Pandoc runs once, and the page that comes back carries the file.

  1. Add your Markdown. Use the 'Upload a Markdown file' field for one .md, .markdown or .txt file (3 MB without an account, 10 MB with a free one), or type into the 'Or paste your Markdown' box (400,000 characters). Fill in both and the upload wins.
  2. Press Convert to Word (DOCX). In our tests a 1,000 word file took 0.7 seconds and a 20,000 word one 1.8, so small documents land in about a second.
  3. Check the result row. A Result card shows File Name, Size in KB and a Download button. The name is a lowercase, hyphenated version of your file name, so Q3 Report.md becomes q3-report.docx, and pasted text becomes document.docx.
  4. Download. Press Download before you reload, because the result card lives only on that page load. The reload icon, tooltip Convert More Files, starts the next document.

Paste this starter sample into the box to see the mapping:

# Release notes

* Faster export
* Fewer crashes

| Item | Owner | Status |
|---|---|---|
| Export | Dana | Done |
| Import | Lee | Open |

It comes back as one Heading 1, a two-item bulleted list and a three-column table with a repeating header row.

Convert a chapter first: Run one short section of your real document, so you see how your own headings, tables and code come out.

Markdown to DOCX: What Each Element Becomes in Word

Pandoc reads GitHub Flavored Markdown (GFM) and writes most elements as native Word features inside a DOCX (Office Open XML) file, a zip of XML parts. The GitHub Flavored Markdown spec defines it as a superset of CommonMark. Strikethrough, hard line breaks and emoji shortcodes such as :tada: convert too.

Markdown elementWhat you get in WordGood to know
Headings, # to ######Word heading styles, Heading 1 to Heading 6They fill the Navigation Pane. Levels stay as written, so # then ### gives Heading 1, then Heading 3.
Lists, including nested listsReal Word lists with levels, in the Compact style when tightStar, plus and dash markers and 1) numbering all convert.
Task list, [x] and [ ]A list that uses checkbox symbols as the bulletSymbols, not clickable boxes.
Pipe tableA real Word table in the Table style, header row set to repeat, alignment keptEqual widths, no gridlines, a rule under the header. Add borders in Word.
Fenced code block with a languageSource Code style plus colored syntax stylesThose syntax styles are the highlighting. We tested Python; unknown names stay plain.
Indented code, or a fence with no languageSource Code style without colorsInline code becomes a monospace run.
BlockquoteBlock Text styleNested quotes flatten to one level.
Footnote, [^1]A real Word footnote with a reference mark in the textKept as a real footnote, not body text.
Math between dollar signsA native, editable equation in Office Math Markup Language (OMML)We only tried inline math.
Links and bare URLsA clickable hyperlinkAn in-page link such as (#the-table) jumps to that heading.
YAML front matterTitle, Author and Date paragraphs, plus the title and author document propertiesWithout front matter both properties stay empty. The date is only a visible line.
Horizontal rule, three dashesA line across the pageNot a page break.

We read the output in LibreOffice Writer and with python-docx, not in Word, so paste your own document and check these rows.

What Does Not Survive the Conversion

Anything the Word writer cannot place is skipped, and this page does not warn you.

  • Raw HTML blocks are dropped, text included. The gfm reader stores HTML as raw nodes and the Word writer ignores them, so a centered heading or an HTML table vanishes with its words. In our README-style test a details summary vanished too, while the Markdown paragraphs around the HTML stayed. Rewrite them as a # heading or a pipe table.
  • Inline tags lose their style, not their words. The kbd, sub, sup and u tags come through as plain text, so H2O arrives with a flat 2. A br tag is dropped wherever it sits, so line1 and line2 became line1line2, and an img tag, the usual README logo, disappears with its alt text. Use the Markdown image syntax with a public link instead.
  • Alerts and diagrams arrive plain. A GitHub alert becomes a plain line with its type (Note, Warning) and your text, with no colored box, and a Mermaid fence becomes a code block of diagram source.
  • Extended syntax appears as typed. ==highlight==, ^superscript^, ~subscript~, ++inserted++, [TOC], [[wiki links]], definition lists and \newpage stay as you wrote them. Strikethrough needs two tildes: ~~text~~ converts, but ~text~ stays as typed, even though the GFM spec allows it.
  • No page breaks, no contents list. Nothing forces a new page, and the converter inserts no table of contents. Microsoft's help page shows how to insert a table of contents in Word.
  • Right-to-left text keeps its letters, not its direction. Arabic kept every character in our tests, but nothing is marked right-to-left, so set the direction in Word.

Images in Your Markdown: What Reaches the Word File

The address you wrote decides the outcome, because our server fetches each image first.

  • Public links to PNG, JPEG, GIF and WebP files are fetched and embedded. They are kept as they are, so a large photo makes a large .docx; shrink it with the image compressor first. Up to 20 images of 5 MB each are fetched.
  • A path on your own computer cannot come along. The tool receives only your text, so Word keeps just the alt text. Host the picture at a public link, or insert it in Word after converting.
  • Inline base64 images skip the fetch. A data: address with the picture inside embeds like any other.
  • Only four picture types are embedded. A WebP goes in as a WebP picture, but we did not open one in Word. An SVG, a BMP or a non-picture file leaves only its alt text. Convert first: SVG to PNG with the SVG to PNG converter, WebP to JPEG with the JPG converter.
  • Slow hosts cost time. An address that never answers is given 10 seconds, then replaced by its alt text, and image downloads stop after about 45 seconds in total; the whole conversion stops at 60.

How to Prepare Markdown for a Clean Word Document

Nothing gets fixed on the way through, so skim your source for these four things.

  • Open with front matter, and quote the title. Put title, author and date lines between two lines of three dashes, and they become the title block and fill the title and author properties. A title containing a colon needs quotes: unquoted, it failed the conversion in our test.
  • Keep heading levels in order. The Navigation Pane and any table of contents follow them, so do not jump from # to ###.
  • Leave a blank line above every table. A table that starts right after a paragraph line does not convert: in our test the pipes arrived as text. Lists, headings and code fences forgive that, tables do not.
  • Save as UTF-8. A Latin-1 file with accents still converted correctly in our test, but UTF-8 removes the doubt. Only the file extension is checked, so a file of random bytes became one junk paragraph; open the result before you send it.

Editing the Word Document After You Convert

Handing over Word means someone will edit it. Start with styles, not with selected text.

  • Restyle once. Right-click Heading 1, Body Text or Source Code in the Styles gallery on the Home tab, choose Modify, and every paragraph of that kind updates. First Paragraph, Block Text and tight lists inherit from Body Text, so one change there reaches all three. The defaults are Aptos fonts, Consolas for code and teal-blue headings.
  • Borders and a contents page. Tables arrive without gridlines, so pick a style from Table Design. Because the headings are real styles, a table of contents takes a few clicks.
  • Review with comments and track changes. Comments and Track Changes are why reviewers ask for Word. We did not try Google Docs or Apple Pages; for Google Docs, upload the .docx to Drive, open it there and check one table and one code block.
  • Send a PDF when editing ends. Make a fixed copy with the Word to PDF converter.

Limits to Know Before You Convert

Size caps first, then the one that surprises people: time.

  • Size. One document at a time: 3 MB per file without an account, 10 MB with a free account, or 400,000 characters of pasted text.
  • Time. Structure matters more than size. Two test files show it: 2.0 MB of ordinary paragraphs took between 8 and 13 seconds, while 1.3 MB of 30,000 tiny sections took between 29 and 33 seconds, depending on server load. Pandoc is stopped after 60 seconds, so the size limit is a ceiling, not a promise. Split big documents into chapters.
  • Scans are another job. Text locked inside a picture of a page needs the JPG to Word converter, which accepts a JPEG scan.
  • Formats. To convert an md file to Word, upload it as .md, .markdown or .txt, and a .docx comes out. The older .doc format is not offered.

If a Conversion Stalls, Fails or Comes Back Empty

Find your symptom, then the fix.

  • Nothing seems to happen. The conversion runs inside that page load and can take up to 60 seconds before it fails, so wait the full minute, then try less.
  • The page says it could not convert. "We could not convert this document. Please check the file and try again." covers every failure. In our test an unquoted colon in a front matter title caused it, and quoting it fixed it. Otherwise convert half the document to find the failing block. Pasted text stays in the box, a chosen file does not.
  • The tab sat open for hours. Press Convert to Word (DOCX) again; a stale tab still converted in Chromium, the one browser we tried. A script gets "Your session expired for security reasons. Please try again." with pasted text restored, but a chosen file must be picked again.
  • The result or your text is gone. A reload after the result asks to resubmit or shows an empty form, so download first. More than 400,000 pasted characters brings back the length message and an empty box, so keep your own copy.
  • A blank or error page right after you convert. That can happen if the site restarts or updates at that moment. Nothing is queued behind the request, so convert again, and keep your .md until the Word file opens.

Pandoc Markdown to DOCX on Your Own Computer

This page runs Pandoc 3 with the gfm reader and the docx writer, the same pandoc command you can run yourself. The Pandoc User's Guide documents every option.

pandoc -f gfm -t docx -o report.docx report.md
pandoc -f gfm -t docx --toc --reference-doc=custom.docx -o report.docx report.md

A local run adds what a web form cannot: the reference-doc option for your own Word reference document, the toc option for a table of contents, and batch conversion in a shell loop. We ran both options with Pandoc 3.10.2. Check your version: Pandoc 2.9 writes an empty table grid, which can make Word show only the first column.

Related Free Tools

Need a different output, or a different starting file?

Frequently Asked Questions

Frequently Asked Questions (FAQs) is a list of common questions and answers provided to quickly address common concerns or inquiries.

How do I convert Markdown to Word?

Paste your Markdown into the box labeled 'Or paste your Markdown', or choose an md file under 'Upload a Markdown file'. Press Convert to Word (DOCX), then press Download. No account is needed, and small documents took about a second in our tests.

Does the converter keep headings, tables and code blocks?

Yes, as real Word features: Heading 1 to Heading 6 styles, true tables with aligned columns but no gridlines, and code in the Source Code style, colored when Pandoc recognizes the language, such as Python or Bash. Raw HTML is the main exception, because it is dropped.

Why did the HTML in my Markdown file disappear?

The converter reads Markdown, not raw HTML. Block-level HTML, such as a centered heading or an HTML table, is dropped with its text, because the Word output ignores raw HTML blocks. Inline tags such as kbd keep their words but lose their style. Rewrite those parts in plain Markdown.

Can I convert Markdown with images to Word?

Yes, when the image has a public address: our server fetches it first and embeds it, and PNG, JPEG, GIF and WebP files work. Inline base64 images embed too. A path on your own computer cannot come along, so Word shows only the alt text, and it does the same for an SVG.

Is there a file size limit when converting Markdown to Word?

Yes. Without an account the limit is 3 MB per file, with a free account 10 MB, and pasted text stops at 400,000 characters, one document at a time. Pandoc is also stopped after 60 seconds, so split very large documents into chapters.

How do I add a table of contents to the Word file?

The converter does not insert one, but your headings arrive as real Heading styles, so Word can build a table of contents from them in a few clicks. On your own machine, Pandoc with the toc option inserts one during conversion.

Can I convert ChatGPT or other AI Markdown output to Word?

Yes. Copy the Markdown source rather than the rendered chat answer, paste it into the box, and delete markers the tool does not read, such as [TOC] and ==highlight==. Headings, lists and tables then arrive as native Word elements. Open the result once to check it.

Is the converter free, and do I need an account?

Yes, this free online markdown to word converter needs no account. A free account raises the file size limit from 3 MB to 10 MB, which is the only difference. There is no sign-up step between your Markdown and the Download button.

How do I convert Markdown to DOCX with Pandoc?

Install Pandoc, then run pandoc -f gfm -t docx -o out.docx in.md, the command this page uses. Add the reference-doc option for your own Word reference document or the toc option for a table of contents. This page is the no-install route for a single file.
Share on Social Media: