Turn Mermaid into a diagram you can actually edit
Large language models love Mermaid. Ask ChatGPT or Claude for a flowchart, a process, or an architecture sketch and you almost always get a block of graph TD text back. That text is precise and version-controllable — but it is not a diagram you can point at in a meeting, drag around, or hand to a teammate to extend. This free tool closes that last gap: paste the Mermaid, and in one step it becomes a real, editable graph on a canvas.
Everything happens in your browser. The Mermaid you paste is parsed and drawn entirely on your own device — nothing is uploaded, nothing is stored on our servers, and there is no account to create just to convert. That matters when the diagram describes something you would rather not send to a third party: an internal workflow, a system you are designing, a decision tree with real names in it.
How to convert Mermaid to a flowchart
- Copy your Mermaid. Grab it from ChatGPT, Claude, a README, a docs site, or write it by hand. The tool reads flowchart syntax —
graph TD,graph LR, andflowchart— which is what assistants emit by default. - Paste it into the box. Open the converter and drop the text in, or open a
.mmd/.txtfile directly. - Convert. One click lays out the nodes into a clean left-to-right graph, draws the edges, and carries across every label — including the ones in the
|pipe|form on decision branches. - Edit it like any graph. Rename cards, re-wire edges, assign owners, add detail, and connect it to the rest of your work. The diagram is no longer a snippet of text — it is a living graph.
What the converter understands
The parser is built for the Mermaid that real assistants produce, so it is forgiving. It reads the common node shapes — rectangles A[Label], rounded A(Label), stadium A([Label]), subroutine A[[Label]], cylinder A[(Label)], diamond A{Label}, and hexagon A{{Label}} — and the directed edge operators, including dotted and thick arrows. Edge labels written as -->|yes| come across as labels on the link. A node that is first mentioned bare and later given a label keeps the label, so the order of your statements does not trip it up.
Anything the tool does not need — subgraph blocks, style and classDef lines, click handlers, and %% comments — is skipped gracefully rather than throwing an error. The goal is that you paste whatever an assistant handed you and get a usable graph, not a syntax lecture.
Multi-hop chains on a single line — A --> B --> C — are expanded into the individual steps, and a node you mention bare before you define its label picks up that label wherever it appears. In practice that means you rarely have to clean up an assistant's output before pasting it: the parser meets Mermaid where LLMs actually write it.
Why a living graph beats a picture
Most "diagram from Mermaid" tools render an image. An image is a dead end: to change one box you go back to the text, edit it, and re-render — and your teammates cannot touch it at all. A FlowGraph graph is the opposite. Every node is a real card. You can:
- rename and recolour cards, and drag them into the arrangement that reads best;
- add or remove edges and relabel the relationships between steps;
- attach owners, inputs, outputs, and notes to a step so the diagram carries the real detail of the work;
- link the diagram to your other canvases, so a process connects to the things it depends on;
- keep extending it with AI once you sign in, turning a first sketch into a maintained map.
That is the difference between documenting a process once and actually running on it. Mermaid is a great way to get a first draft out of an assistant; this tool is how that draft becomes something your team keeps using.
Free, private, and honest about the gate
Converting and editing are free forever, with no account, because the conversion is pure and runs on your device. The only thing that asks for a quick free sign-up is saving the graph to a vault or continuing to edit it with AI — the same gentle gate the best free tools use. You always get the full result first; you only sign in when you want to keep it or take it further. And because the whole conversion is client-side, the honest promise on the tool — that your text never leaves your device — is literally true, and you can verify it in your browser's network tab.
Related free tools
If you would rather start from a description than from Mermaid, the AI diagram generator turns plain English into an editable graph. If you work in construction or BIM, the free online IFC viewer opens models in your browser with no upload. And if you want a proven starting point, browse the FlowGraph templates — flowcharts, org charts, decision trees, and construction workflows that open as real graphs. When you are ready, open the converter and paste your first diagram.