DOCX to Markdown Converter

This DOCX to Markdown converter turns a Word document into Markdown in your browser. It reads Word’s heading styles, list numbering, tables, links and code fonts from the .docx file itself, so headings, nested lists and tables come out as they are in the document. Nothing is uploaded.

  • Word heading styles kept
  • File stays on your device
Word document

How to convert a Word document to Markdown

One file at a time, on a computer or a phone.

  1. Choose your .docx file

    Click the box and pick the file, or drop it on the box. Files saved by Google Docs (File › Download › Microsoft Word), LibreOffice and Pages work too.

  2. Check the Markdown

    It appears in a moment. Preview shows it rendered.

  3. Copy or download

    Click Copy Markdown or Download .md.

Example

The sample project update has 5 headings in Word’s heading styles, a bulleted list whose second item uses the List Bullet 2 style, a numbered list, a table, a picture, a line of code in Consolas and a quote. All come through; the picture is marked with its alt text, “Visits per week, March”, where it was.

How Word formatting becomes Markdown

A .docx file says what each paragraph is, so the result follows the document closely.

In WordIn Markdown
Title, Heading 1 to Heading 6# to ######. With a Title, the headings move down one level.
Bold, italic, strikethrough**bold**, *italic*, ~~struck~~
Bulleted and numbered lists, List Bullet 2 and similar stylesNested Markdown lists, numbered from 1
TablesMarkdown tables, with the first row as the header
Links[text](address)
Text in Consolas, Courier New or a code styleInline code, or a code block for whole paragraphs
The Quote and Intense Quote styles> quote
Pictures*[Image: alt text]*, a marker where the picture was
Tracked changesInsertions are kept and deletions left out, as if all changes were accepted

What a .docx keeps that Markdown can’t

Fonts, colours, page layout, headers and footers, comments, footnotes and text boxes have no Markdown form, so they’re left out. Merged table cells are listed as separate cells.

Pictures inside the .docx aren’t extracted. If you need them, save the document as a web page in Word, which puts the pictures in a folder, and link them in the Markdown.

Old .doc files (Word 97–2003) aren’t .docx files: open them in Word and save as .docx first.

DOCX to Markdown Converter FAQ

How do I convert a Word document to Markdown?

Choose the .docx file above or drop it on the box. The Markdown appears straight away, ready to copy or download.

Is my file uploaded?

No. The file is read by your browser, on this page, and never sent to a server. Closing the page clears it.

Can I convert a .doc file?

Not directly. Open it in Word, LibreOffice or Google Docs and save it as .docx, then convert that.

Are images kept?

Each picture is marked with its alt text where it was, such as [Image: Visits per week, March]. The pictures themselves aren’t in the Markdown.

Why are my headings plain text?

The document used bold or large text instead of Word’s heading styles. Apply Heading 1, Heading 2 and so on in Word, or use the PDF converter, which guesses headings from the text size.

Does it work with Google Docs?

Yes. Download the Doc with File › Download › Microsoft Word (.docx), or copy its text into the Google Docs to Markdown converter.