
Data & diagrams
mermaid
Draw flowcharts and diagrams by writing text instead of dragging shapes
★ 90k
August 2026
MIT
Data & diagrams
What it does
Describe a flowchart, sequence diagram, Gantt chart or pie chart in a short markdown-like syntax and Mermaid renders it. There is a live editor on the project site, so you can paste text in and see the result without installing anything, and many platforms - GitHub among them - render the syntax natively. You write the structure yourself; it is a drawing tool, not a generator, and very complex layouts get awkward to control from text alone.
Summary based on the project's own description. The Japanese page has a fuller beginner guide: setup difficulty, what to prepare, and a step-by-step start.
Screenshots & visuals

Before you start
- Setup difficultyEasy to start
- Command lineNot required
- API keyNot required
- Sends data onlineNo
Judged automatically from the project's own metadata. Always confirm on the official page.
mermaid FAQ
- Is mermaid free?
- Yes. It runs on your own machine, so there is no usage-based cost either.
- Do I need to install anything or write code to use mermaid?
- You install it like a normal desktop app. No command line involved.
- Does mermaid work on a phone?
- No. It needs a computer.
- Can I use mermaid commercially?
- The licence is MIT, which permits commercial use. Conditions such as keeping the copyright notice still apply, so read the licence text before shipping it inside something.
How it compares
The conditions that decide whether you can actually use it, side by side.
| Tool | Command line | API key | Sends data out | Phone | Commercial use |
|---|---|---|---|---|---|
| mermaid (this page) | Not needed | Not needed | No | No | Yes |
| ml-visuals | Not needed | Not needed | Yes | No | Yes |
| Napkin AI | Not needed | Not needed | Yes | Yes | With conditions |
| next-ai-draw-io | Not needed | Required | Yes | No | Yes |
"Sends data out" means your input is uploaded to someone's server. Pick "No" when the material cannot leave your organisation.