Convert Word (.docx) to Markdown

Pure-TS OOXML

Convert Word (.docx) documents into clean Markdown locally—extracting headings, bold/italic spans, links, lists, and GFM tables from OOXML.

100% Client-Side — Verify 0 bytes uploaded in Network tabVerify 0 bytes sent in Network tab

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
Before (Input)project-proposal.docx
[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
After (Output).md
# 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

PropertySource: Word (DOCX)Target: Markdown
Structure typeDocumentMarkup
Human readabilityLowHigh
Nesting supportYesYes
LLM token efficiencyLowHigh
File extension.docx.md
MIME typeapplication/vnd.openxmlformats-officedocument.wordprocessingml.documenttext/markdown
Best forBusiness 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.

  1. Select .docx filesDrop single or multiple Word .docx documents from your computer.
  2. Pick heading & table optionsChoose ATX (#) or Setext headings, enable GFM pipe tables, and omit heavy embedded images.
  3. 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.