Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyData and databases

Word to Markdown

Lets your AI agent convert Word (.docx) documents on your computer into clean Markdown.

270 stars on GitHubby Ben BalterLicense Apache-2.0Updated 20 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add word-to-markdown -- npx -y word-to-markdown mcp

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Convert /Users/me/report.docx to Markdown and summarize it.
Convert this contract to a .md file and extract the images to a folder.

What it is

This server has one tool that reads a .docx file from your disk and returns it as Markdown, locally, without uploading anything. It keeps headings, lists, tables, links, footnotes and equations. It is also a command-line tool and a Node library.

What it can do

  • convert_docx_to_markdown: convert a .docx file to Markdown
  • Write the result to a .md file with output_path
  • Extract images to a folder with image_dir
  • Options for bullet lists and footnotes

When to use

  • β€ΊWhen you want an agent to read a Word report and work with its text
  • β€ΊWhen you need to turn a long contract or paper into Markdown for editing
  • β€ΊWhen you want images from a document pulled out into files

What you need

Nothing besides Node.js 22.13 or later (npx -y word-to-markdown mcp). In Claude Desktop you can instead open the word-to-markdown.mcpb file, which needs no Node or terminal.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free?

Yes. It is an open source package on npm with a license shown in the readme badges.

Are my documents uploaded?

No. The server reads and converts the file locally.

What does it keep?

Paragraphs, headings, bold and italic, lists, tables, links, footnotes, images and equations (as LaTeX).

What is dropped?

Comments, headers and footers are dropped, underline is dropped by default, and text boxes without a Word fallback are dropped. Warnings report some of these.

Does it overwrite files?

Not by default. The overwrite option is off, so the tool refuses to replace an existing file.

Does it handle old .doc files?

No. Only .docx is supported; re-save older files as .docx first.

If it does not work

  • β€ΊUse an absolute path for the .docx file because relative paths use the server's working directory.
  • β€ΊIf it fails, check that the file is a valid .docx and not an older .doc.
  • β€ΊCheck that your Node.js is version 22.13 or newer.

5 new skills a week. 1 minute to read.