HTML to Word — with your diagrams intact!
- Open your HTML in Word or Google Docs — SVG and Mermaid diagrams turn to garbled code? Try our magic here!
- Need diagrams as standalone files to reuse in other documents? Extracting them by hand is tedious
- Drop your HTML here — get a clean .docx with diagrams embedded, or export them as PNG images and source files
Frequently Asked Questions
Why do my SVG and Mermaid diagrams look broken in Word or Google Docs?
Word and Google Docs cannot render SVG graphics or Mermaid diagram syntax natively — they show as garbled code or raw text. HTML to Docx Magic pre-renders all diagrams as embedded images before building the .docx, so they display correctly in any Word processor.
What file types are supported?
The tool accepts .html and .htm files for Word conversion, diagram extraction, and PNG rendering. Standalone .svg (SVG diagrams) and .mmd (Mermaid charts) files are also supported.
Is this tool free?
Yes — completely free. No account, no sign-up, no usage limits.
Are my files stored on your servers?
No. Files are processed in memory and immediately discarded after conversion. Nothing is saved or logged.
What is a Mermaid diagram?
Mermaid is a text-based diagramming tool that creates flowcharts, sequence diagrams, and more from simple code. This tool can extract, render, and embed Mermaid charts directly into the output Word document.
Does the Word output include a Table of Contents?
Yes. The Convert to Word operation auto-generates a clickable Table of Contents from your HTML headings, with optional page numbers in the footer.
What page sizes are supported?
Letter (US, 8.5 × 11 in) and A4 (210 × 297 mm). Choose before converting.