iLoveMD
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

← 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 dropped by default. mammoth can extract them as base64 data URIs but that bloats output sizes; we leave them out.
  • Footnotes / endnotes appear as inline text without the reference linkage.
  • 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 to 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.