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
How to convert a Word document to Markdown
One file at a time, on a computer or a phone.
-
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.
-
Check the Markdown
It appears in a moment. Preview shows it rendered.
-
Copy or download
Click Copy Markdown or Download .md.
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 Word | In 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 styles | Nested Markdown lists, numbered from 1 |
| Tables | Markdown tables, with the first row as the header |
| Links | [text](address) |
| Text in Consolas, Courier New or a code style | Inline 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 changes | Insertions 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.
More markdown converters tools
- Convert Markdown to DOCX Converter Save a .md file as a .docx that Word, Google Docs and LibreOffice open. Open tool
- Convert PDF to Markdown Converter Convert a PDF to Markdown with headings, lists and tables found from its layout. Open tool
- Convert Rich Text to Markdown Converter Paste formatted text from Word, email or the web and get Markdown. Open tool
- Convert Google Docs to Markdown Converter Paste text from a Google Doc and get Markdown with headings, lists and tables. Open tool