How do you use this tool?
- Paste markdown or load a .md file — up to 25 MB.
- Pick a profile (Clean, Business, Academic, Web article) and page size (A4 or Letter).
- Optional: add local images — they get embedded into the DOCX, not linked externally.
- Click the Generate-DOCX button and download the .docx file.
Why markdown to DOCX?
Markdown is the writing language notes, specs, AI chats and pull requests are born in. DOCX is the format editors, customers, government offices and school offices work in. Both worlds need to meet — that is exactly what this tool does.
This is not save markdown as HTML with a Word extension. This is real Word file structure: headings as style refs, tables with repeating headers across pages, images as embedded bytes, lists with Word own numbering definitions. The resulting file is editable, searchable and tracked-changes compatible.
How does the conversion work?
Markdown is tokenised via a well-established open-source library. The token stream is walked and mapped onto Open XML DOCX structures — headings to Heading 1 through Heading 6 style refs, paragraphs to Paragraph with TextRun children, tables to Table with TableRow/TableCell and a tableHeader mark, ordered and unordered lists to named numbering definitions with three nesting levels.
Images go into the DOCX ZIP container as binary streams
(word/media folder). Hyperlinks serialise as ExternalHyperlink
references. The finished document is packed into a .docx blob via
Packer.toBlob() and delivered through the browser standard
download API.
What are common use cases?
- Editorial workflow. Writers work in markdown, editors get the DOCX for tracked-changes review.
- Reports for the office. Markdown becomes a Word file with correct heading outline for the official review.
- Polish AI-chat output. A long AI-chat answer becomes an editable DOCX that travels through the Word workflow.
- Term papers. Academic profile plus Times typography plus real heading outline for automatic TOC generation in Word.
- Template migration. Existing markdown templates become Word templates that colleagues without markdown experience can fill in.
What stays intact?
Preserved: heading hierarchy as real style refs, paragraphs with profile-specific typography, ordered and unordered lists with three nesting levels, GFM tables with header repetition across page breaks, inline formatting (bold, italic, inline code as monospace), hyperlinks as ExternalHyperlink refs, block quotes with indent, code blocks as monospace paragraphs with shading, horizontal rules, local images as embedded binaries.
Intentionally not mapped: footnotes (phase two — the DOCX footnote API is Word-version dependent), math, diagrams, custom containers, definition lists, external image URLs (CORS and privacy). Strikethrough is not rendered visually — the text is preserved but the strike effect is Word-version fragile.
How does the tool keep my markdown private?
If your markdown is a draft contract, an employee briefing or a confidential spec, the last thing you want is for it to be uploaded somewhere. None of that happens here.
Markdown is parsed in your browser tab. A browser-capable open-source library assembles the Open XML document in the tab, packs it as a ZIP and returns a download blob. Embedded images are written as binary streams directly into the DOCX container — they do not travel through an external server. Open the Network panel of the developer tools and check.
Which related document tools exist?
More tools from the converter ecosystem worth knowing:
- Markdown to HTML — same markdown input, finished HTML as standalone or body fragment.
- Markdown to PDF — vector PDF via the browser print path with live internal links.
- DOCX to Markdown — the reverse direction if your source is already Word.
Last updated: