iLoveMD About
100% in your browser

Convert Word to Markdown

Turn a Microsoft Word (DOCX) document into clean Markdown, entirely in your browser. Your file never leaves your device.

  • Always free
  • No uploads
  • No sign-up
  • No tracking

Converting Word to Markdown turns a Microsoft Word (.docx) document into clean Markdown you can paste into a README, wiki, static site, or LLM prompt. iLoveMD reads the document entirely in your browser: drop a .docx file and it extracts the headings, paragraphs, lists, tables, and links as structured Markdown, leaving Word's styling and layout behind. Because the file is parsed locally in JavaScript, your document is never uploaded to a server, it works offline once the page has loaded, and there is no sign-up or tracking. The result is portable Markdown you can copy to your clipboard or download as a .md file, ready for version control or a documentation site. For the reverse direction, use the Markdown to Word tool.

← All conversion tools

Drop a Word document here or click to upload .docx
No files selected

Markdown Output

Markdown Preview

Export Your Results

Word (DOCX) to Markdown Docs

iLoveMD reads .docx files locally using mammoth.js, the cleanest browser-side DOCX-to-Markdown converter available. The document is parsed inside your browser; nothing is uploaded.

What converts

mammoth.js targets the high-fidelity subset of Word that maps cleanly to Markdown:

  • Headings (Heading 1–6 styles) → #######
  • Paragraphs with bold / italic / strikethrough / underline (mapped to bold) / inline code
  • Ordered and unordered lists with arbitrary nesting
  • Tables (headers + body rows + alignment)
  • Hyperlinks
  • Blockquotes (Word's "Quote" / "Intense Quote" styles)

What does NOT carry

Honest about the lossy bits:

  • Embedded images are replaced with their alt text (or the word "image"). Inlining them as base64 bloats output and can carry active content; we leave the bytes out.
  • Footnotes / endnotes convert as numbered references with the note text in a list at the end. The reference anchors do not jump inside a plain .md file.
  • Comments and tracked changes are stripped (the accepted text remains).
  • Custom styles not mapped to Markdown equivalents (e.g., a custom "Sidebar" style) render as plain paragraphs.
  • Old .doc binary format is NOT supported, save as .docx in Word first.
  • Embedded objects (Excel sheets, PowerPoint slides inserted via OLE), ignored.
Tip: for the cleanest round-trip, write in plain headings + lists + emphasis + tables on the Word side. Skip the custom-style work.

Privacy

The Word document is read by mammoth.js as an ArrayBuffer in your browser. No network call, no server-side processing, no telemetry. Once the page has loaded, the converter works offline.

How do I convert Word to Markdown?

1

Drop your Word document

Drop a .docx file onto the upload strip, or click Choose Files to pick one.

2

We extract the Markdown in your browser

iLoveMD reads the document locally with mammoth.js and maps its structure to Markdown. Nothing is uploaded.

3

Copy or download the Markdown

Edit the result if you like, then copy it or download it as a .md file.

Frequently asked questions

Does my Word document get uploaded anywhere?

No. The conversion runs entirely in your browser. Your document never leaves your device.

Which Word elements are converted?

Headings, paragraphs, bold and italic, lists, tables, and links map to their Markdown equivalents. Complex layout and embedded objects may be simplified.

Does it support .doc as well as .docx?

The converter targets the modern .docx format. Older binary .doc files should be saved as .docx in Word first.

Does it work offline?

Once the page has loaded, yes. Conversions run locally without an internet connection.

Can I convert Markdown back into a Word document?

Yes. Use the Markdown to DOCX tool to export Markdown as a Word document.

Last updated: July 11, 2026