Markdown to DOCX API

Turn Markdown into a Word document people can edit and comment on. pandoc maps the Markdown structure onto Word’s own styles.

How it converts

pandoc converts Markdown to DOCX.

  • Headings become Word’s Heading 1 to Heading 6 styles, so the navigation pane and table of contents work.
  • Lists, tables, code blocks, links and footnotes are kept. Markdown is read as GitHub-flavored Markdown.
  • Images and stylesheets the file points to by URL or path are not fetched: the converter has no network access and reads only the file you send.

Questions

Can I edit the result in Word or Google Docs?
Yes. It is a normal DOCX that uses Word’s built-in styles, so it opens in Word, Google Docs and LibreOffice.
Are images in the Markdown included?
Images and stylesheets the file points to by URL or path are not fetched: the converter has no network access and reads only the file you send.

Plans and limits

Price
5 free conversions every month. Pro is $9 a month for 1,500, Scale $39 for 10,000. Markdown to DOCX costs the same as any other pair.
Largest file
25 MB on Free, 100 MB on Pro, 250 MB on Scale.
Failed conversions
Never billed, and they don’t count toward your plan.
Your files
Deleted within 24 hours, along with the converted result.
How to call it
The REST API, described by an OpenAPI spec, or the MCP server from Claude or any other MCP client. Both use the same API key and quota.