Word to Markdown Converter
Word to Markdown is a free tool that converts a Microsoft Word .docx file into GitHub-flavored Markdown, keeping headings, paragraphs, bold and italic text, lists, links and tables. Preview the result, then copy it or download a .md file. It runs in your browser, so your document is never uploaded.
Last updated
Drop a Microsoft Word .docx file and get GitHub-flavored Markdown you can preview, copy, or download as a .md file. Headings, bold, italic, lists, links and tables are kept. Your file never leaves your browser.
Drop a Word file here or click to choose one
One .docx file. Your document stays on your device and is never uploaded.
.docx only. Headings, paragraphs, bold, italic, strikethrough, lists, links and tables are kept. Underline is kept as HTML, which GitHub renders. Embedded images are skipped. Text boxes, SmartArt, columns and complex Word styles are simplified. An older .doc file has to be saved as .docx first. For a PDF, use PDF to Markdown.
This document has no text to convert. It may contain only pictures, which this tool skips, or only objects such as text boxes and SmartArt.
How to Convert a Word Document to Markdown
Step by step
- Drop a .docx file onto the box above, or click it and choose a file. One document at a time.
- Wait while the converter loads. It is downloaded only after you choose a file.
- Optional: add YAML front matter from the document title and author.
- Check the preview, then switch to Markdown to see the raw file.
- Click Copy Markdown or Download .md. The download uses the Word file's name.
Does my Word file leave my browser?
No. The .docx file is read in your browser with mammoth.js, and the Markdown is built on your device. The file, the text and the download are never uploaded. You can confirm that in your browser's developer tools, under the Network tab, after the page has loaded. See our Privacy Policy.
Can it convert an old .doc file or a PDF?
No. This version reads .docx only, the format Word and Google Docs use when you save or download a Word document. A .doc file (Word 97-2003) is rejected with a note to save it as .docx. A PDF belongs on PDF to Markdown. A photo of a page belongs on Image to Text.
What formatting is kept?
Headings, paragraphs, bold, italic, strikethrough, bullet lists, numbered lists, links and tables become GitHub-flavored Markdown. Underline is kept as HTML because Markdown has no underline. The first row of a table is the header when Word did not mark one. Merged cells are flattened. Text boxes, SmartArt, columns, comments and unusual styles may be missing or come out as plain paragraphs. Proofread anything important.
What happens to pictures in the document?
Embedded images are skipped, and the page says how many. They are not turned into data URLs, so the Markdown stays small. If the words you need are inside a picture, save that picture and use Image to Text. To black out sensitive text in a PDF before you share it, use Redact PDF.
Which browsers does Word to Markdown work in?
Current versions of Chrome, Edge, Firefox and Safari on a computer or a phone. The converter is loaded the first time you choose a file, so the page itself stays light. Very large documents need more memory. Password-protected files cannot be opened; remove the password first.