Word to Markdown
Convert a Word .docx file to Markdown in your browser. Headings, bold and italic, lists, links and tables of basic structure are converted, and you can copy the Markdown or download it. Older .doc files are not supported.
Your file is processed in your browser and is never uploaded.
- 1Choose your .docx file
- 2Click Convert to Markdown
- 3Copy the Markdown or download it as a .md file
- 4Review headings, lists and tables, then use it in your notes or repository
What this tool does
It converts a Word .docx file into Markdown in your browser using the mammoth library. Headings, paragraphs, bold and italic text, links and lists are converted, and you can copy the result or download it as a .md file. The document is not uploaded.
How to use it
- Choose a
.docxfile. - Click Convert to Markdown.
- Copy or download the Markdown and review it before you publish.
What to expect
- A paragraph with a heading style becomes a line starting with
#. Lists become list items. - Bold is written with double underscores, as in
__word__. This is valid Markdown and renders like**word**. Use find and replace if you prefer asterisks. - Characters that Markdown treats as special are escaped with a backslash, which is correct but can look noisy. The tool removes the unnecessary escapes before full stops, except where a number followed by a full stop at the start of a line needs one to avoid starting a numbered list.
Limits
- Basic structure only. Complex tables, merged cells, text boxes and multi-column layouts do not map onto Markdown. Review the output, especially tables.
- Heading detection depends on styles. A "heading" made by enlarging bold text will come out as a normal paragraph.
- Images are embedded inline as data, which can make the file large. Replace them with links to image files if the Markdown is for a repository or a website.
- Only .docx. Save older
.docfiles as.docxfirst. Password-protected files are not supported.
Next steps
Run the output through the Markdown formatter to tidy heading spacing and blank lines. If you need the plain text only, use Word to Text, and for web markup use Word to HTML.
Related Tools
Word to Text
Extract the plain text from a Word .docx file in your browser, then copy it or save it as a .txt file. Formatting is dropped and only the text remains. Older .doc files are not supported.
Word to HTML
Convert a Word .docx file to clean HTML in your browser. Headings, paragraphs, bold and italic, lists, links, tables and images are converted, and you can copy the HTML or download it. Older .doc files are not supported.