§Tool · Mermaid to Word

A diagram your reader can look at.

A fenced mermaid block is a diagram on GitHub and a wall of monospace in Word. The fix is not to screenshot it — it is to draw it from the source at export time, and keep the source so the diagram can be redrawn when the text changes.

Drawn from sourceWord, PDF, PNG, SVGSource kept

Worked specimen

Mermaid source → Word picture

What you start from

```mermaid
flowchart LR
  A[Draft] --> B[Review]
  B --> C[Send]
```

In JotDoc, ready to export

Draft Review Send

Arrives in Word and PDF as a picture.

Drawn at export time from the code still in the document

01Short answer

What you actually get.

JotDoc draws Mermaid flowcharts, mind maps, Gantt and data charts from their source at export time and places them in your .docx as images — the code stays in the document.

Who this is for. The searcher has written a diagram as code — usually because an AI gave it to them that way, or because the repository already keeps diagrams in Markdown — and now a document needs to show it to someone who will never read the code.

02How it works

Three moves. One document.

No upload step, no signup wall. The editor opens with a document already in it.

  1. 01

    Paste the fenced block

    flowchart, mindmap, gantt, pie or xychart.

  2. 02

    Export

    The diagram is drawn from source and placed in the Word file.

  3. 03

    Change the text

    Edit the code and export again — no stale screenshot.

§ 03

Why the code block is the wrong end state

Mermaid is a text format with a renderer attached. Anything without that renderer shows the text: Word shows the text, a PDF printed from Word shows the text, and a reviewer who does not know the syntax sees punctuation instead of a process.

Screenshotting the rendered version works once. Then someone renames a step, and the picture is stale with no way to tell — the source and the image have drifted apart and nothing points it out.

§ 04

What gets drawn

The four shapes it reads from Mermaid source are the ones that carry most documents:

  • flowchart / graph — processes, decisions, loops.
  • mindmap — a topic and its branches, indentation as hierarchy.
  • gantt — phases against dates.
  • pie and xychart — a small set of numbers that reads better as a shape.
§ 05

In the document, and after it

On export the diagram is laid out and placed as an image in the .docx, sized to the text width, with a caption you write in Markdown. Export to PNG or SVG if the diagram is going somewhere else — a slide, a ticket, a README.

The code block stays in the Markdown. That is the difference between a document and a printout: the next revision redraws the diagram instead of hunting for the original file.

§ 06

Questions this page gets

Is the diagram editable in Word?

No — it arrives as an image, because Word has no Mermaid renderer. Edit the source in JotDoc and export again; that is the loop that keeps the diagram and the text in step.

Which Mermaid diagram types work?

Flowcharts, mind maps, Gantt charts, and pie or xychart data charts. Sequence, class and state diagrams are not drawn and stay as code blocks.

Can the AI write the Mermaid for me?

Yes. Describe the process and let the AI draw it as a diagram, then export — the output is the same block, so you can edit the source by hand afterwards if you prefer.

§ 07

Where to go next

  • Delivery, in full — four formats, what stays editable, and why the source document outlives the file.
  • The editor itself — every block type, the Markdown each one saves, and what survives export.
  • Working on a Mac? The MindMax desktop app opens the same documents from Finder.

Paste it. Fix it. Send it.

The editor opens with a document in it — no account, no tour.

Open JotDoc — Free

Export Word, PDF, image or Markdown