Write steps and arrows as plain lines and get a Mermaid flowchart with labels escaped, shapes named in words and reserved words quoted.
Describe your flowchart
A few lines of text. Nothing is uploaded and no diagram library is loaded.
-> solid, -.-> dotted, ==> thick, and text after : labels the arrow. A shape goes in brackets after the label — (decision), (database). Options are title:, direction: and group:, which puts the lines after it in a subgraph.Write a few lines on the left to get Mermaid that renders.
Labels are escaped, duplicate names are made distinct and Mermaid’s reserved words — end above all — are quoted, because each of those produces a diagram that fails to render rather than one that looks wrong. Layout is Mermaid’s own: the direction is a request and the renderer decides where boxes actually land, so a diagram with many crossing arrows is usually telling you the process has more branches than one picture can hold.
Nothing is drawn on this page and no diagram library is loaded — the output is text, which is what survives being pasted anywhere. GitHub, GitLab, Notion and most documentation site generators render Mermaid from a fenced ```mermaid block directly, so the diagram appears where it is committed rather than here.
Mermaid Flowchart Generator runs entirely on your device — the diagram is generated in your browser and nothing you describe is uploaded.
You’re on the Free plan. Compare plans
The reason to generate a flowchart rather than write one is escaping. Mermaid reads a node's shape from the brackets around its label, so a label containing a bracket, a quote or a parenthesis either changes the shape or breaks the parse — and the error points at a line some distance away, because the parser carried on looking for the close.
Shapes are named in words — decision, database, terminal — rather than with Mermaid's bracket syntax, because the whole point of a generator is not having to remember whether a rhombus is braces or double braces. The output uses the correct syntax and the input stays readable.
Every generated diagram is put back through the same inspector the standalone tool uses. That is not decoration: it is the only way to know the escaping worked for the input in front of you, and if anything would stop it rendering the page says so rather than handing over broken text.
You can, and for a three-node diagram it is quicker. The generator earns its place once labels contain punctuation: brackets, quotes and parentheses all have meaning in Mermaid's node syntax and all have to be escaped or quoted.
It is quoted, so it does not close a subgraph. Written by hand, a lower-case end destroys the rest of the diagram — which is the single most common way a Mermaid flowchart breaks.
Because escaping has to be verified against the actual input rather than assumed. If the generated diagram would not render, you should know here rather than after pasting it into a pull request.
Only the direction, and that is a request. Mermaid's renderer decides where boxes land, so a diagram with many crossing arrows is usually telling you the process has more branches than one picture can hold.
No. The output is text, which is what survives being pasted anywhere, and GitHub, GitLab, Notion and most documentation generators render it themselves.
If a tool here saved you some time, you can put something towards the hosting.Buy me a coffee, on Ko-fi, opens in a new tab