Convert & edit Word documents with an AI agent
Step-by-step tutorials for working with existing .docx files through safe-docx — the
open-source MCP server for Claude Code, Gemini CLI, Cursor, and Codex. Each guide uses real tool
calls on real templates, with no capability we can't back.
Conversion & export
safe-docx can render an open .docx into a portable format with its export tool.
Export is intentionally lossy and one-way (no round-trip).
Convert DOCX to Markdown
Turn an existing Word .docx into clean Markdown with an AI agent, using the safe-docx export tool — headings, lists, links, tables, and footnotes preserved.
Read the guide →Convert DOCX to HTML
Render a Word .docx to semantic HTML (paragraphs, headings, lists, tables, images) with the safe-docx export tool — ready for previews, web rendering, and content extraction.
Read the guide →Comparing safe-docx to other tools?
Guides are task tutorials. For feature-by-feature breakdowns, see the comparisons.