Skip to content

Markdown to Word

Turn a Markdown file into a Word document with real headings, tables and footnotes.

Needs our servers

Drop Markdown files here

Needs our servers. You confirm before anything is uploaded.

Deleted 60 minutes after you download it.

Share a README, meeting notes or a draft written in Markdown with people who work in Word. FormatJet converts the file on our servers with Pandoc, the open-source document converter, into a DOCX with real headings, tables and footnotes that Word, Google Docs and LibreOffice open.

About the formats

MarkdownMarkdown document

Markdown is plain text with light marks for formatting: # for headings, * for lists, | for tables. People read it as it is, and AI assistants, wikis and code hosts take it directly.

DOCXWord document

DOCX is the document format of Microsoft Word since 2007. It keeps text, styles, tables and images, but how a page looks depends on the app and fonts that open it.

Converted with Ebook engine (Calibre, Pandoc).

Questions

What does the Word document keep?

Headings in Word's Heading styles, so the navigation pane lists them, plus lists, tables, links and code in a monospaced font. Footnotes become Word footnotes, and maths written between dollar signs becomes Word equations you can edit.

Which kind of Markdown works?

GitHub-flavoured Markdown, as GitHub, GitLab and most Markdown editors write it, task lists and footnotes included. A YAML block at the top can give the document a title, which opens its first page.

What happens to pictures?

The Markdown file arrives on its own, so pictures it links to can't be fetched, and each is replaced by its alt text. Pictures embedded in the file as data addresses come through.

What happens to my file on your servers?

Pandoc, the open-source document converter, writes the DOCX on our servers and reads nothing but your file, which is deleted when the DOCX is ready. The time the DOCX is deleted is in the notice before you upload, and “Delete now” deletes it at once.

Markdown to Word with the API

Convert from your code with one request. See the Markdown to Word API

curl "https://api.formatjet.com/v1/convert?conversion=markdown-to-word" \
  -H "Authorization: Bearer $FORMATJET_API_KEY" \
  -F file=@input.md \
  -o output.docx