Word to Markdown
Upload a DOCX file and convert it to clean Markdown. Preserves headings, lists, tables, bold, italic, and links.
To convert a Word document to Markdown, drop the .docx file onto the box above. The Markdown appears below, and you can copy it or download it as a .md file. Word's Heading 1 to Heading 6 styles become # headings, bulleted and numbered lists become Markdown lists, and bold, italics, links and footnotes are kept. Layout such as fonts, colours and page margins is dropped.
What does the output look like?
Headings, bold, italics and a nested list
[Heading 1] Project brief
[Normal] The launch is June 3 (bold). Budget is fixed (italic).
[Heading 2] Goals
• Ship the beta
◦ Collect feedback# Project brief
The launch is **June 3**. Budget is _fixed_.
## Goals
* Ship the beta
* Collect feedbackA link, strikethrough, underline, subscript and an image
See the style guide (linked to https://example.com/style).
The old deadline (struck through) is gone.
Underlined (underlined) text and H2O (2 in subscript) stay as plain text.
[1×1 PNG image, alt text "Team logo"]See the [style guide](https://example.com/style). The ~old deadline~ is gone. Underlined text and H2O stay as plain text.
Images become a numbered placeholder with the Word alt text. The image file itself is not extracted.
A table with two lines in one cell
┌──────┬──────────┐
│ Name │ Notes │
├──────┼──────────┤
│ Ada │ line one │
│ │ line two │
└──────┴──────────┘
(no header row marked)| Name | Notes |
| --- | --- |
| Ada | line one<br>line two |The first row is always used as the header, since a Markdown table needs one. Paragraphs inside a cell are joined with <br> so the row stays on one line.
A footnote
Churn fell¹.
───
¹ Source: 2025 survey.Churn fell[\[1\]](#footnote-1).
1. Source: 2025 survey. [↑](#footnote-ref-1)Footnotes become a numbered list at the end, with links back and forth. They are not Markdown [^1] footnotes.
What happens to images in my Word document?
Each image becomes a placeholder with its alt text, numbered in order: , image-2.jpg and so on. The image file is not extracted, so the Markdown stays small and easy to edit. Save the pictures from Word (right-click, Save as Picture) under those names, or change the paths to wherever your images live. The alt text comes from the image's Alt Text in Word.
How are Word tables converted?
Each Word table becomes a Markdown table. The first row is used as the header row whether or not it is marked as one in Word, because a Markdown table must have a header. Word stores every cell's text as paragraphs, so a cell with several paragraphs is joined with <br> to keep the row on one line.
Markdown tables are simpler than Word tables. Merged cells are not merged, and a list or a nested table inside a cell will not survive cleanly. For those, tidy the result in the Table Generator.
Are tracked changes and comments included?
The output reads as if every change was accepted: inserted text is kept and deleted text is left out. Comments are dropped. If you need the deleted text, reject the changes in Word (Review, Reject All) and convert again. If you need the comments, Pandoc can keep them; see the comparison below.
Can I go the other way?
Yes. Markdown to Word builds a .docx with real Word headings and tables from Markdown. A round trip will not give you the original file back byte for byte, but the structure survives.
How are tables, images, styles and other Word features handled?
| Input | What you get |
|---|---|
| Heading 1 to Heading 6 styles | # to ###### |
| Title, Subtitle and custom styles | Plain paragraph |
| Bold, italic | **bold**, _italic_ |
| Strikethrough | ~text~ (single tilde) |
| Underline, superscript, subscript | Formatting dropped, text kept |
| Bulleted and numbered lists | * and 1. lists, nested up to five levels |
| Tables | Markdown table; first row is the header; paragraphs in a cell joined with <br> |
| Images |  placeholder; the file is not extracted |
| Hyperlinks | [text](url) |
| Footnotes and endnotes | Numbered list at the end, linked both ways |
| Tracked changes | Insertions kept, deletions dropped |
| Comments | Dropped |
| Text in a monospace font | Plain text; Word has no code style to map to code blocks |
| Equations (Word equation editor) | Not converted to LaTeX |
| Emoji | Kept |
| Headers, footers, page numbers | Not included |
| .doc (Word 97-2003) | Not supported; save as .docx first |
How does this compare with Pandoc and the Mammoth command line?
| MDConvert (this page) | Pandoc | Mammoth CLI | |
|---|---|---|---|
| Install needed | No, runs in the browser | Yes, command-line program | Yes, npm or pip package |
| Output | GitHub-flavored Markdown | Many Markdown flavours, plus other formats | HTML; its Markdown output is deprecated |
| Images | Placeholder path; files not extracted | Saved as files with --extract-media | Saved as files with --output-dir |
| Tracked changes | Accepted | Accepted by default; --track-changes=all keeps both | Accepted (this page uses Mammoth) |
| Comments | Dropped | Kept with --track-changes=all | Dropped unless you add a style mapping |
| Custom style mapping | No | Yes, with filters | Yes, style maps |
| Many files / scripting | No | Yes | Yes |
For a book, a batch of files or anything with lots of images, Pandoc with --extract-media is the better tool. This page is for converting one document without installing anything.
Maintained by Ankit Aglawe. Last updated .
Related Tools
Need a different format? See every tool on the Markdown converter page, or go back to the MDConvert home page.