How do I get a flowchart from ChatGPT into a Word document?
About 3 min · Updated 2026-09-13
ChatGPT hands you Mermaid code, not a file. Paste the whole reply here, then choose Download to Word. The .docx has the diagram embedded at 3x resolution and the original Mermaid code on a final page.
Short answer
ChatGPT gives you a block of Mermaid code, and a screenshot of the rendered preview turns to mush the moment Word scales it. Paste the whole reply into the editor, then open the ▾ next to "Download PNG" and pick Word. You get a .docx with the diagram embedded at 3x resolution and the original Mermaid code on a final page, so the next edit starts from text rather than from a picture.
Three steps
- Copy the whole reply. You don't need to find where the code block starts and ends — the prose around it is fine.
- Paste into the editor. The Mermaid code inside gets picked out and rendered; the status line tells you what it found.
- Download → Word. The file is generated in your browser and downloaded directly. Nothing is uploaded.
Why not just screenshot it
A screenshot is screen pixels. Word scales it to the page and the edges break up; print makes it worse. The export re-renders the diagram at 3x and embeds a clean bitmap, so text edges hold up at A4.
Try it
A typical flowchart reply — open it in the editor and run through the download:
flowchart TD
A([Ticket created]) --> B{Requirements clear?}
B -- Yes --> C[Schedule work]
B -- No --> D[Ask for detail]
D --> B
C --> E[QA]
E --> F{Passed?}
F -- Yes --> G([Ship])
F -- No --> CRelated
- Want slides instead: How do I put a Mermaid diagram into PowerPoint?
- It won't render: The Mermaid code my AI gave me won't render
- Full walkthrough: Export to Word, PowerPoint and PDF
More guides
- Do I have to strip the code block out of the AI reply?
- How do I put a Mermaid diagram into PowerPoint?
- What does "Parse error" mean in Mermaid, and how do I fix it?
- The Mermaid code my AI gave me won't render. Now what?
All guidesLooking for a specific answer? Try the Help Center