Skip to content
KazamTools

DOCX to Markdown Converter

Convert DOCX to Markdown and keep the structure of a Word document (headings, bold and italic text, nested lists, tables and links) as clean .md text. Paste it into GitHub, a docs site, Obsidian or an AI chat. The file is read in your browser and never uploaded.

Files are processed in your browser and never uploaded.How it works

DOCX, HTML, PDF or TXT · converted on your device

How to use the DOCX to Markdown Converter

  1. 1Click Choose a document and select your .docx file.
  2. 2Untick Mark where images were if you do not want image placeholders.
  3. 3Read the Markdown preview and fix anything you want to change.
  4. 4Click Copy Markdown or Download .md.

DOCX vs Markdown

DOCX and Markdown compared
PropertyDOCXMarkdown
Full nameMicrosoft Word document (Office Open XML)Markdown
File extensions.docx.md, .markdown
Created byMicrosoft; standardised as ECMA-376 and ISO/IEC 29500John Gruber, with Aaron Swartz
Introduced2007 (Word 2007)2004
CompressionA ZIP archive of XML files and imagesNone: plain text with light formatting marks (#, *, -)
Opens onWord, Google Docs, LibreOffice, Pages and most office appsGitHub, Notion, Obsidian, Reddit, Discord, any text editor and AI chat apps
Best forDocuments people still need to editNotes, documentation, READMEs and text for AI models

Why convert DOCX to Markdown?

Word is where many documents start, but Markdown is where they increasingly need to end up: documentation sites built on Docusaurus or MkDocs, README files, wikis, Obsidian vaults and prompts for AI models. Copying from Word and pasting into a Markdown editor loses headings and turns lists into plain lines; converting the .docx file keeps them.

The converter reads the document's own styles. Paragraphs styled as Heading 1, 2 or 3 become #, ## and ### headings, in any language. Bold, italic and strikethrough are kept, lists keep their nesting and numbering, tables become Markdown tables and hyperlinks stay clickable. Images become [Image: alt text] markers you can replace with real image links.

Comments, tracked deletions, headers and footers are left out, since they are not part of the main text. Old .doc files (Word 97–2003) are a different format: open them in Word, LibreOffice or Google Docs, save as .docx, then convert. If you have the document as a PDF instead, use PDF to Markdown.

Frequently asked questions

Are Word headings kept?

Yes. Paragraphs using Word’s heading styles become Markdown headings at the matching level.

What happens to tables?

They become Markdown pipe tables. Merged cells cannot be represented in Markdown, so check complex tables.

Can I convert a .doc file?

Not directly. Save it as .docx in Word, LibreOffice or Google Docs first.

Is my document uploaded?

No. The .docx is unzipped and converted in your browser, which matters for private or confidential files.

About the formats: What is a Markdown file? · All file formats