DOCX to Markdown
Convert .docx to Markdown in your browser with mammoth.js — clean output, nothing uploaded.
The same converter as our Word page, addressed by file extension. MarkPrep reads .docx with mammoth.js and produces clean Markdown locally, then hands you the token count, chunk preview and JSONL export that hosted converters skip.
How to convert docx to markdown
- 1Drop your DOCX file onto the box above, or click to browse. Nothing uploads — the file is read in your browser.
- 2MarkPrep converts it to Markdown locally and shows a live token count for your chosen model.
- 3Check the Preview, adjust the chunk size, and review the Verify tab for anything worth a second look.
- 4Copy the Markdown, download the .md/.zip, or export JSONL chunks for your RAG pipeline.
Format notes & gotchas
- Use .docx, not legacy .doc.
- Merged table cells may flatten — check the Verify tab.
- Images inside the document are referenced, not embedded as base64.
Related converters
Frequently asked questions
Is my file uploaded anywhere?+
No. Conversion runs entirely in your browser tab using WebAssembly. There is no upload endpoint — open your browser's Network tab and watch: nothing leaves the page. The only labelled exceptions are fetching a public URL and optional bring-your-own-key OCR.
How much does it cost?+
Conversion and the entire AI-Ready Pack — token counts, chunking, JSONL export — are free and unlimited, because they run on your hardware. Pro ($4/mo) adds workflow features like the local MCP server, watch folders and saved profiles.
Are the token counts accurate?+
Exact for OpenAI models (GPT-4o, o-series) via their published tokenizer. For Claude and Gemini we show a labelled approximation, because those tokenizers aren't public.
Want it inside your workflow?
Conversion is free forever. Pro ($4/mo) adds the local MCP server so Claude Code converts files on your machine, plus watch folders, saved profiles and encrypted sync.
See pricing