Is this Mermaid editor free?
Yes. It is free with no signup, no watermark and no limit on the number of diagrams. Diagrams you make are yours to use anywhere, including commercial work.
FREE MERMAID LIVE EDITOR
Write Mermaid code and see the diagram update as you type. Export it as a PNG or SVG, or copy it as a Markdown code block. Free, no signup, and nothing leaves your browser.
Write Mermaid code on the left or choose an example.
Rendered in your browser with the open-source Mermaid library (v12). Diagrams are not uploaded or stored; download or copy your work before leaving the page. Maximum length: 50,000 characters.
Mermaid is an open-source language for drawing diagrams from text. You describe the diagram in a few lines of code, and a renderer draws it. Because it is plain text, a Mermaid diagram can live in a Markdown file, be reviewed in a pull request and be edited by anyone, without a design tool.
GitHub, GitLab, VS Code and Markdown readers such as Aero Markdown render Mermaid inside fenced code blocks labelled mermaid. The full syntax is in the official Mermaid documentation.
| Diagram | First line | Use it for |
|---|---|---|
| Flowchart | flowchart TD | Processes, decisions and system flows |
| Sequence diagram | sequenceDiagram | Messages between people, services or APIs |
| Class diagram | classDiagram | Classes, fields and relationships in code |
| State diagram | stateDiagram-v2 | States and the events that change them |
| Entity relationship | erDiagram | Database tables and how they relate |
| Gantt chart | gantt | Project schedules and milestones |
| Pie chart | pie | Simple proportions |
| Mind map | mindmap | Ideas organised around one topic |
WHEN DIAGRAMS LIVE IN YOUR DOCS
This page draws one diagram at a time. Aero Markdown for Mac renders every Mermaid block in your Markdown files, next to the text, tables and math around it. It works offline and updates when an AI agent or your editor changes the file.
7-day free trial · no payment details · macOS 14+
Yes. It is free with no signup, no watermark and no limit on the number of diagrams. Diagrams you make are yours to use anywhere, including commercial work.
No. The diagram is rendered in your browser tab with the open-source Mermaid library. Nothing is sent to a server or stored, so download or copy your work before closing the page.
Paste your Mermaid code, check the preview, then choose Download PNG. The image is exported at twice the on-screen size, so it stays sharp in slides and documents.
Use SVG for websites and design tools: it is a vector file that scales to any size. Use PNG for slides, chat apps and anywhere that doesn't accept SVG.
All the types in Mermaid 12.3: flowcharts, sequence, class, state and entity relationship diagrams, Gantt and pie charts, mind maps, timelines, user journeys and more.
Choose Copy as Markdown and paste the result into your .md file. It wraps the code in a fenced code block labelled mermaid, which GitHub, GitLab and Markdown readers such as Aero Markdown draw as a diagram.
Usually the first line doesn't name a diagram type, an arrow or bracket is incomplete, or a label with special characters needs quotes. The error message shows the line to check.