โ† All converters

Free Word (DOCX) to Markdown Converter

Convert Microsoft Word .docx files to clean Markdown for ChatGPT, Claude, Gemini. Preserves headings, lists, bold, italic, links. 100% in-browser via Mammoth.js.

Mammoth.jsHeadings 1-6Bold/ItalicListsTablesLinks
๐Ÿ“„

Drop a file here or

.docx (Office 2007+)

Benefits

๐Ÿ“„
Preserves Word structure

Headings 1-6, paragraphs, bullet/numbered lists, bold, italic, links, inline images all map to standard Markdown.

๐Ÿ’ฐ
Save AI tokens

DOCX internally is verbose XML. Markdown is 5-10ร— smaller โ€” feeding a 50-page Word report to Claude saves $0.50+.

๐Ÿ”’
Stays on your machine

Mammoth.js runs entirely in-browser. No server, no logs, no storage.

How to use

  1. 1Drop a .docx file or click to choose from your device.
  2. 2Mammoth.js parses the OOXML and converts to Markdown in seconds.
  3. 3Review the output + token estimates for 4 AI models.
  4. 4Copy or download .md, or click 'Open in ChatGPT' to auto-paste.

What is DOCX to Markdown?

DOCX (Office Open XML) has been Microsoft Word's format since 2007 โ€” a ZIP containing many XML files describing content, styles, and images. A 1 MB DOCX can hold ~50 KB of plain text, with ~95% being XML overhead. Feeding raw Word content into ChatGPT (drag-drop or copy-paste) usually loses structure and wastes tokens on XML.

This tool uses Mammoth.js โ€” a 5k-star DOCX โ†’ HTML/Markdown library that works entirely offline. Mammoth analyses the OOXML, recognises styles (Heading 1-6, Quote, Code), and maps them to HTML/MD equivalents โ€” preserving the original Word structure for AI to read.

Use cases: students feeding theses into Claude for Q&A; office workers converting contracts/reports into AI-friendly format; devs migrating legacy documents into Markdown knowledge bases (Notion, Obsidian, GitBook).

  • โœ“Word style Heading 1-6 โ†’ # ## ### #### ##### ###### Markdown
  • โœ“Bullet and numbered lists (multi-level) โ†’ - and 1.
  • โœ“Bold, italic, underline โ†’ **bold** *italic* (underline becomes italic since Markdown lacks it)
  • โœ“Hyperlinks โ†’ [text](url)
  • โœ“Simple tables โ†’ GFM tables
  • โœ“Inline images โ†’ ![alt](base64-data) โ€” toggle to strip for compactness

When to use it

Feed reports to Claude

Convert monthly/quarterly reports to Markdown then paste into Claude for Q&A โ€” save 80% of tokens.

Convert thesis for AI

Students with 50-100 page thesis convert to MD then ask Claude for chapter summaries.

Migrate to Notion

Notion's paste-as-markdown picks up structure better than direct .docx import (which often loses formatting).

Build a knowledge base

Convert SOPs/policies from Word to Markdown for Confluence, GitBook, or RAG.

AI tutor materials

Convert lesson docs from Word to MD then feed Claude to generate exercises or alternate explanations.

How it works

Mammoth.js reads OOXML node-by-node, using style mapping to recognise 'Heading 1' (Word style) โ†’ '# ' (Markdown), 'Heading 2' โ†’ '## ', etc. The default mapping covers standard Word styles; documents with custom styles may need custom maps (not yet exposed in UI).

Tables are converted to HTML <table> โ†’ then through Turndown to GFM tables. Note: complex tables with merged cells (rowspan/colspan) are degraded to flat tables in Markdown โ€” this is a Markdown format limitation, not a bug.

Images in DOCX are extracted as base64 data URLs embedded inline in the Markdown. With image-heavy documents, Markdown size can exceed the original DOCX โ€” toggle 'Strip images' if you only need text for AI.

DOCX โ†’ Markdown FAQ

Does .doc (legacy Word) work?

Not in the free tier. Legacy .doc (Word 97-2003) needs LibreOffice to parse โ€” coming in Phase 2 (paid). Currently supports only .docx (Office 2007+).

What about comments, track changes, footnotes?

Comments and track changes are dropped (only final text is kept). Footnotes are preserved at the end of the document as a list.

Are images preserved?

Yes โ€” converted to inline base64 data URLs. Can significantly inflate Markdown size for image-heavy documents. Toggle 'Strip images' if needed.

What about Microsoft Equation math?

Currently kept as text representation, not LaTeX. To preserve proper $...$ math, you'd need an engine like Pandoc โ€” coming in Phase 2.

Can I edit Markdown before copying?

Yes. Output appears in a textarea โ€” edit directly before copying or downloading.