Word Document (.docx)
📄
Drop your .docx file here or click to browse
Only .docx files are supported (Word 2007 and later)
Uses # ## ### prefix syntax
Character used for unordered list items
Delimiter for fenced code blocks
Images removed for cleaner output
Upload a .docx file to begin conversion. Drag and drop is supported.Idle
📝

Upload a .docx file and click Convert to Markdown to see the output here.

How to use the DOCX to Markdown Converter

Click Browse File or drag and drop a .docx Word document onto the upload area to load it. Only .docx format is supported, not older .doc files
The conversion uses a two-step chain. mammoth.js first reads the DOCX and converts it to clean semantic HTML, then Turndown.js converts that HTML into standard Markdown
Both mammoth.js and Turndown.js are loaded from a CDN on first use and cached in the browser for subsequent conversions in the same session
Choose a Heading Style. ATX uses hash prefix syntax which is the most widely supported. Setext uses underline syntax for H1 and H2 only
Choose a Bullet Character for unordered list items. Dash is the most common, but asterisk and plus are also valid Markdown
Choose a Code Fence style. Backticks are the GitHub Flavored Markdown default. Tildes work in environments where backticks cause issues
Enable Strip Images to remove all images from the output for cleaner Markdown. Disable it to embed images as base64 data URIs, which will significantly increase file size
Click Convert to Markdown to run the conversion. The first run loads the libraries which takes a moment, but subsequent conversions are instant
Headings, bold, italic, ordered and unordered lists, hyperlinks, tables, and code blocks from the Word document are all preserved in the Markdown output
Word paragraph styles like Heading 1 through Heading 6, Title, Subtitle, Quote, and Code are automatically mapped to the correct Markdown elements
The HTML Intermediate tab shows the raw HTML that mammoth.js extracted before Turndown.js processed it, which is useful for debugging formatting issues
The Conversion Info tab shows word count, heading count, link count, and any warnings that mammoth.js generated about unsupported Word formatting
Click Copy to Clipboard to copy the complete Markdown output or click Download .md File to save it with the same base name as your original document
Your .docx file is read entirely in the browser using the File API. It is never uploaded to any server at any point during the conversion process