Convert Word (.docx) to Markdown
Pure-TS OOXMLConvert Word (.docx) documents into clean Markdown locally—extracting headings, bold/italic spans, links, lists, and GFM tables from OOXML.
or drop files here · Ctrl V to paste · or drop .docx Word files
- 0 bytes uploaded
- Pure-TS OOXML parser
- Converts Word tables to GFM
Instant Before & After Preview
Clean GFM tables & headings[Word Document (.docx)]
Project Proposal: Local Indexing
Overview
Extract headings, bullet lists, hyperlinks, and structured tables directly from OOXML XML.
Milestone | Target Date | Owner
Phase 1 | Q2 2026 | Core Team# Project Proposal: Local Indexing
## Overview
Extract headings, bullet lists, hyperlinks, and structured tables directly from OOXML XML.
| Milestone | Target Date | Owner |
| --- | --- | --- |
| Phase 1 | Q2 2026 | Core Team |Source vs. target format specification comparison: Word (DOCX) → Markdown
| Property | Source: Word (DOCX) | Target: Markdown |
|---|---|---|
| Structure type | Document | Markup |
| Human readability | Low | High |
| Nesting support | Yes | Yes |
| LLM token efficiency | Low | High |
| File extension | .docx | .md |
| MIME type | application/vnd.openxmlformats-officedocument.wordprocessingml.document | text/markdown |
| Best for | Business proposals, policy drafts, editorial manuscripts, and rich office word processing. | AI/RAG knowledge bases, developer documentation, READMEs, Obsidian vaults, and portable note-taking. |
How it works
How to convert Word DOCX to Markdown locally
Read word/document.xml, relationships, and numbering schemas in browser RAM with zero server conversion.
- Select .docx filesDrop single or multiple Word .docx documents from your computer.
- Pick heading & table optionsChoose ATX (#) or Setext headings, enable GFM pipe tables, and omit heavy embedded images.
- Export Markdown or check tokensDownload .md files or continue directly to LLM Token Counter or Markdown to HTML.
FAQ
Frequently asked questions
Does Word to Markdown support older binary .doc files?
No. TxtTo parses modern Office Open XML (.docx) archives directly in pure TypeScript; legacy .doc binaries should be saved as .docx first.
Are Word tables converted cleanly?
Yes. Enabling GFM Tables turns OOXML <w:tbl> grids into readable GitHub Flavored Markdown pipe tables.
Are hyperlinks preserved in the Markdown output?
Yes. TxtTo reads word/_rels/document.xml.rels to turn Word hyperlinks into standard [text](url) Markdown links.