Mermaid to Word Converter
Word cannot run Mermaid. Paste Markdown with ```mermaid fences here — diagrams
render in your browser and embed as images in an editable .docx, alongside
headings, tables, and math.
Free for single files. $4.99 once.
Paste Markdown to preview here.
Paste Markdown to preview here.
Your Word doc is ready
Free for single files.
Card, Apple Pay or Google Pay · No subscription
Why Mermaid → Word is a real job
ChatGPT and Claude often answer with Mermaid flowcharts. Pasting that into Word leaves a code fence. Stakeholders need a picture they can scroll past in a review doc — not a fenced language they cannot render. ChatGPT2Word is built for that handoff: private, browser-side, free for core conversion.
What you get
- Fenced Mermaid → diagram image in the .docx (when render succeeds)
- Failed fences kept as code with an explicit note — never a silent drop
- Surrounding Markdown still converts: headings, GFM tables, code, LaTeX math
- Live preview before you download · Ctrl/⌘+Enter for .docx
Which diagrams are worth embedding
ChatGPT and Claude reach for Mermaid when a sentence would do, and also when a picture is the only way a reviewer will see a branch. Convert the fences that carry a decision, a sequence, or a flow someone will trace in a meeting. Delete decorative graphs that repeat the bullet list above them — a Word file full of tiny images is harder to comment on than the list.
| Fence | In the .docx | If it fails |
|---|---|---|
| flowchart / graph | PNG image of the rendered diagram | The source fence stays, with an explicit note — the section is not dropped |
| sequenceDiagram | Image, same path | Same fallback. Long participant names are the usual reason a layout looks cramped, not a missing file. |
| Other Mermaid types the renderer accepts | Image when that type renders in your browser | Fallback fence. Try a simpler diagram type if the picture is required. |
| A code block that merely mentions Mermaid | Ordinary monospace code | No image, by design. The fence language must be mermaid. |
Worked example: a branch that should become a picture
ChatGPT answers often explain a choice and then draw it. This sample is that pair: two sentences, one flowchart, one sentence after the picture so a reviewer knows which branch they are on. Paste it into the converter. The preview should show a left-to-right chart, not a fence.
## Which download
One answer stays a single Word file. A folder is a different branch.
```mermaid
flowchart LR
A[Paste one answer] --> B{More than one file?}
B -->|No| C["Free .docx (one file)"]
B -->|Yes| D["Batch ZIP"]
```
Read the picture, then the sentence under it. The image is not a shape you can recolor in Word. - The fence language is
mermaid. A fence labeledtextormarkdownstays monospace on purpose. - The “Free .docx (one file)” label is in quotes. The parentheses are text. Without the quotes, Mermaid treats
(as a shape and the fence fails. - The paragraphs before and after the fence stay paragraphs. The picture sits between them.
- After download, the chart is an image. Word cannot turn it back into nodes. Keep this Markdown if you will edit the branch.
The same chart, broken by parentheses
This is the version models emit when a node mentions a parenthetical, here “one file.” The label
is in square brackets and the parentheses are not quoted. Mermaid reads ( as the start
of a stadium shape, then fails the line. The preview should keep the fence and show an explicit
note. The .docx does the same: the diagram is not dropped, and the heading above it
still converts.
```mermaid
flowchart LR
A[Paste one answer] --> B{More than one file?}
B -->|No| C[Free .docx (one file)]
B -->|Yes| D[Batch ZIP]
```
The fix is the quoted label from the first sample, C["Free .docx (one file)"]. Check
the preview again before you download. Paying for Pro does not add the quotes for you.
Failure modes
| What you see | Why | What to do |
|---|---|---|
| A code fence in Word, with a note that rendering failed | The diagram did not compile. Unquoted parentheses inside [], a unicode arrow instead of -->, or a node id named end are typical | Quote the label (C["Free .docx (one file)"]) or simplify the node. Download again after the preview shows a picture |
| Ordinary monospace, and no note about a diagram | The fence was not labeled mermaid | Change the language tag. A paragraph that merely mentions Mermaid is not a diagram |
| A wide image you have to scroll sideways | Too many nodes, or a sequence diagram with long participant names | Split into two fences — for example request path and error path — and shorten aliases |
| The chat was dark and the Word page is a dark rectangle | You pasted a screenshot, or you expected the chat theme to travel | Use the fence. The embedded picture is rendered for a white page, not a screenshot of the chat |
| The diagram sits inside a table cell and the table breaks | A fence does not belong in a GFM cell | Put the image between paragraphs, with a sentence that points at it. Tables are a separate job: ChatGPT table to Word |
| You wanted to recolor a node in Word | The file contains an image, not drawing shapes | Edit the Markdown and convert again. Word’s picture tools can crop; they cannot edit the graph |
Pro does not render a fence the free converter rejected. One diagram stays on the free download. A folder of Markdown files that already contain valid fences is the batch job on pricing.
Theme, size, and phones
The chat UI’s dark theme does not travel. The embedded picture is the render your browser just produced for the document, so it stays readable on a white Word page. Very large diagrams can fail or become a wide image you must scroll. Split those into two fences — “request path” and “error path” — rather than one unreadable plate. On an iPhone, small diagrams usually make it; retry a heavy one on a laptop. That limit is described with the rest of the phone path on ChatGPT to Word on iPhone.
Surrounding prose still converts in the same pass: headings, GFM tables, other code fences, and LaTeX. Do not put a diagram inside a table cell to “keep it with the row”; the image belongs between paragraphs, with a sentence that tells the reader what to look at. If the model also pasted the same graph as ASCII, delete the ASCII once the image preview looks right.
Quick workflow
- Copy the answer that includes
```mermaidblocks (or click Try sample). - Confirm each diagram in the live preview. Fix a broken fence before download; do not hope Word will render it later.
- Download
.docxand open in Word, Word Online, or LibreOffice. The picture is an image, not an editable shape.
Word cannot turn that image back into Mermaid. Keep the Markdown if you will revise the diagram. Sequence diagrams with many participants become wide images; if a name is cut off in the preview, shorten the participant aliases in the fence and render again before download. Flowcharts that encode a whole service in one node tree should be split. Also see ChatGPT to Word, LaTeX to Word, ChatGPT tables to Word, and the export guide. A thread that contains the diagram: export a conversation. Hash marks around it: paste ChatGPT into Word. Code next to the diagram: code blocks to Word.
Mermaid → Word FAQ
Diagrams in .docx, failures, and privacy.
Does Word support Mermaid natively?
No. Word cannot run Mermaid. ChatGPT2Word renders fenced ```mermaid blocks in your browser and embeds the diagram as an image in the .docx so stakeholders can open the file without a Mermaid plugin.
Which Mermaid diagram types work?
Common flowchart, sequence, class, state, ER, and similar diagrams supported by Mermaid in the browser. Always check the live preview — if a diagram fails, the source fence stays with an explicit note instead of disappearing.
Can I keep the surrounding ChatGPT explanation?
Yes. Paste the full Markdown answer. Headings, lists, tables, code, math, and Mermaid convert together — then Download .docx.
Are diagrams uploaded to a server?
No. Mermaid renders locally in your browser; the PNG/SVG raster used in the .docx is built on your device. See the Privacy Policy.
What if rendering fails?
That fence stays as code with a clear note. The rest of the document still downloads. An unquoted parenthesis inside square brackets is a common cause — Mermaid treats "(" as a shape. Quote the label, check the preview, and convert again.
Does Pro render Mermaid that the free converter failed?
No. Diagram rendering is part of the free conversion. Pro adds batch ZIP and a header/footer. If the preview shows code instead of a picture, fix the fence — do not pay to retry the same syntax.