Write Mermaid syntax and see a live flowchart, sequence, or class diagram preview, then export it as SVG.
Mermaid turns plain-text syntax into flowcharts, sequence diagrams, class diagrams, state diagrams, Gantt charts, and more — the same rendering engine behind diagram support in GitHub, GitLab, and Notion, running here as a live, side-by-side editor so you can write and export a diagram without checking it into a markdown file first.
Flowcharts, sequence diagrams, class diagrams, state diagrams, entity-relationship diagrams, Gantt charts, pie charts, and several others — start any diagram with its keyword (e.g. flowchart, sequenceDiagram, classDiagram, gantt) and the renderer picks the right layout automatically.
No — the Mermaid rendering library runs entirely in your browser and turns your syntax straight into an SVG locally; nothing you type is transmitted anywhere.
Mermaid could not parse the syntax as written — the preview keeps showing the last diagram that did render successfully until the error is fixed, so you never lose your place.
The tool exports SVG, which is the format Mermaid renders natively and scales cleanly at any size; most image editors and browsers can open an SVG directly or convert it to PNG if you specifically need a raster file.
← All tools · Blog · FAQ