Convert Markdown to DOCX
Paste Markdown and download it as a DOCX file. Free, no signup, no watermark. You see live progress while it is made, and the same conversion is available as an API call and to AI agents over MCP.
Input
Result
Choose a file and press Run.
Files you upload and the results are stored for one hour, then deleted. Anyone who has the link can open them, so don't upload anything private.
How to convert Markdown to DOCX
- Paste your Markdown into the input box.
- Adjust the settings if you want to. The defaults suit most documents.
- Press Run and watch the progress bar.
- Download the DOCX file, or copy its link to share it.
This page runs the markdown to word (docx) tool. Open the tool itself for every option.
What happens in this conversion
- Styles
- Headings become real Word heading styles, so Word can build a table of contents and the navigation pane works. Lists, tables, links and code blocks are kept.
- Table of contents
- Turn toc on to put a table of contents at the top.
- Pictures
- Pictures are not included. Their description is written in their place.
- Limits
- Up to 400,000 characters.
Markdown and DOCX compared
| Format | What it is | Best for | Watch out for |
|---|---|---|---|
| Markdown Markdown text | Markdown is plain text with light marks for headings, lists, links and tables. GitHub, documentation sites, note apps and chat tools show it formatted, and it is the form AI models read most reliably. | Readmes, notes, documentation and text handed to an ai model. | It has no page layout: fonts, colours, columns and exact positions cannot be expressed. |
| DOCX Word document | DOCX is the Microsoft Word format, also opened and saved by Google Docs, LibreOffice and Pages. | Letters, reports and documents several people edit. | How it looks depends on the program and fonts that open it. |
Use it from code or an agent
curl -s https://setget.net/v1/tools/markdown-to-docx \
-H 'Content-Type: application/json' \
-d '{"input":{"markdown":"# Report\n\nSales rose **12%** this quarter.\n\n- North: 420\n- South: 380"},"wait":30}'
import json, urllib.request
body = {'input': {'markdown': '# Report\n\nSales rose **12%** this quarter.\n\n- North: 420\n- South: 380'}, 'wait': 30}
request = urllib.request.Request("https://setget.net/v1/tools/markdown-to-docx", json.dumps(body).encode(),
{"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/markdown-to-docx", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"input":{"markdown":"# Report\n\nSales rose **12%** this quarter.\n\n- North: 420\n- South: 380"},"wait":30}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
"slug": "markdown-to-docx",
"input": {
"markdown": "# Report\n\nSales rose **12%** this quarter.\n\n- North: 420\n- South: 380"
},
"wait": 30
}
{
"input": {
"markdown": "# Report\n\nSales rose **12%** this quarter.\n\n- North: 420\n- South: 380"
},
"wait": 30
}
This is a file tool, so a call takes three steps: upload the file to get a reference, run the tool with that reference, then read the result and download its files. Uploads and results are public by link and expire after one hour.
Endpoint: POST /v1/tools/markdown-to-docx. Over MCP: run_tool with slug: "markdown-to-docx".
Machine-readable: input schema, Markdown. Connect an agent.
Inputs
| Name | Type | Required | What it does |
|---|---|---|---|
markdown |
string | yes | The Markdown to convert. |
title |
string | no | Title placed at the top of the document and stored in its properties. Leave empty for none. Default: "". |
toc |
boolean | no | Add a table of contents at the start, built from the headings. Default: false. |
Questions
- Is it free to convert Markdown to DOCX?
- Yes. There is no signup, no watermark and no paid tier. A fair-use limit per day applies to keep the service available to everyone.
- How much Markdown can I convert at once?
- Up to 400,000 characters.
- What happens to the DOCX file?
- It is stored for one hour so you can download it, then deleted. Anyone who has the link can open it during that hour, so do not convert anything private.
- Can a script or an AI agent convert Markdown to DOCX?
- Yes. Call POST https://setget.net/v1/tools/markdown-to-docx with JSON, or use the run_tool tool of the SetGet MCP server with slug "markdown-to-docx". The code samples on this page are ready to copy.
More conversions
Related tools
- Markdown to PDFTurn Markdown into a tidy PDF with headings, tables and coloured code, in a choice of page sizes and styles.
markdown-to-pdf - Markdown to HTMLConvert Markdown to clean HTML, with tables, task lists and code blocks, as a fragment or a full page.
markdown-to-html - Word to MarkdownTurn a Word document (.docx) into Markdown with its headings, lists, tables, links, bold and footnotes.
docx-to-markdown - HTML to MarkdownTurn a saved web page into Markdown: the main content, without menus, scripts and styling.
html-to-markdown - Anything to MarkdownTurn almost any document into Markdown: PDF, Word, PowerPoint, Excel, HTML, EPUB, e-mail, notebooks, CSV.
any-to-markdown - Compress a PDFMake a PDF file smaller by packing its contents tighter and, if you allow it, re-saving its pictures at a lower resolution.
pdf-compress