Converter

Markdown to DOCX, in one click.

Paste markdown, download a real Microsoft Word file. Headings, tables, lists, and code blocks map to native Word styles — ready for Track Changes, journal submissions, or a Google Docs template. Runs entirely in your browser.

  • No signup
  • No upload
  • Real .docx file
  • Native Word styles

Need plain HTML instead? Markdown to HTML →

Live preview·
markdown747 chars
previewWord-ready

Field Notes — Spring 2026

A short journal kept between airports. Markdown is portable, readable, and renders the same everywhere — but sometimes you need a Word document instead.

When you need DOCX

  • Submitting to a journal that requires .docx
  • Sharing with collaborators who live in Word
  • Track Changes review cycles
  • Pasting into a Google Docs template

Tip

Paste your own markdown on the left. Click Download .docx to save a Word file.

A small table

Step Action
01 Paste markdown
02 Click Download
03 Open in Word
const greet = (name: string) => `Hello, ${name}!`;
  1. Write the markdown
  2. Review the preview
  3. Export as DOCX

Why this converter

Markdown in, Word out.

Most converters dump your markdown to a single block of text and call it a Word document. This one walks the rendered DOM and maps every block element to a real Word primitive — H1 becomes Heading 1, tables become tables, code blocks become monospace paragraphs. The file opens cleanly in Word, Google Docs, Pages, and LibreOffice.

  • Local-first conversion

    Your markdown is parsed and the .docx is built entirely in your browser. Nothing is uploaded, logged, or analyzed.

  • Native Word styles

    Headings map to Word's Heading 1–6 styles, so the table-of-contents tool recognizes them out of the box.

  • Tables and lists

    GFM tables become real Word tables with rows and cells. Numbered and bulleted lists use Word's native list styles.

  • Lazy-loaded

    The docx library only loads when you click Download. The landing page stays small — under 30KB of script.

  • Bold, italic, links

    Inline emphasis becomes bold and italic runs. Links become real hyperlinks Word can follow.

  • Real Office Open XML

    The output is a standards-compliant .docx file. Opens cleanly in Word, Google Docs, Pages, and LibreOffice.

How it works

Three steps, one Word file.

  1. 01

    Paste your markdown

    Drop in CommonMark or GFM. The sample shows what's handled. Clear it and use your own draft.

  2. 02

    Preview the structure

    Headings, lists, tables, and code blocks render live so you can confirm the document shape before exporting.

  3. 03

    Download .docx

    Click Download. The docx library loads on demand and saves the file to your downloads folder.

FAQ

Common questions

What does this Markdown to DOCX converter do?
It renders your markdown to HTML using the same parser our editor ships with, then walks the rendered DOM and maps every block element to a Microsoft Word primitive — headings become Word heading styles, paragraphs become paragraphs, tables become Word tables, code blocks become monospace paragraphs. The output is a real .docx file you can open in Word, Google Docs, Pages, or LibreOffice.
Is anything uploaded?
No. The markdown is parsed in your browser and the .docx file is built in your browser. Nothing leaves the tab. If you'd rather work in a full editor with autosave and PDF export, open the editor — it's local-first too.
Will the Word document keep my heading styles?
Yes. H1 through H6 map to Word's built-in Heading 1 through Heading 6 styles, so the table-of-contents tool in Word recognizes them. Open the document and you can generate a clickable TOC with two clicks.
Does it handle tables, lists, and code blocks?
Yes. Tables become real Word tables with rows and cells. Ordered lists use Word numbering. Unordered lists use bullets. Fenced code blocks become monospace paragraphs with a subtle background, preserving line breaks but not syntax colors.
What about images, footnotes, math, and Mermaid diagrams?
Not yet. Inline images, footnotes, KaTeX math, and Mermaid diagrams are skipped or rendered as their raw text. If you need those, export from the editor as PDF, or convert to HTML first and paste into Word.
Can I open the .docx in Google Docs or Pages?
Yes. The output is a standards-compliant Office Open XML file, which Google Docs, Apple Pages, and LibreOffice Writer all import cleanly.
How big can my markdown be?
There's no hard limit beyond what your browser can hold. The docx library is fast — a 50,000 word document with tables typically builds in under a second on a modern laptop.
Can I get the markdown back from the .docx?
Not from this tool — DOCX is a richer format than markdown, so the round-trip would lose information. If you have HTML you'd like to convert back to markdown, use /html-to-markdown.

Drafting in markdown? Use the editor.

Markdown Writer is the same parser, with synced scrolling, an outline, PDF export, and local autosave.

Open the editor