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

The Markdown to convert.
Title placed at the top of the document and stored in its properties. Leave empty for none.
Add a table of contents at the start, built from the headings.

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

  1. Paste your Markdown into the input box.
  2. Adjust the settings if you want to. The defaults suit most documents.
  3. Press Run and watch the progress bar.
  4. 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

FormatWhat it isBest forWatch 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

NameTypeRequiredWhat 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