Mermaid
Generate diagrams and flowcharts from markdown-like text definitions, with a live editor.
- Active
- MIT
- TypeScript
- Diagrams as code
- GitHub stars
- 91.1K#2 in the directory
- npm downloads / week
- 26.8M
- Commits, last 12 months
- 2,832
- Contributors
- 364
- Last commit
- Latest release
- @mermaid-js/e…Nov 13, 2026
Overview
Mermaid is an open-source diagram-as-code tool released under the MIT license. Its GitHub repository has 91,143 stars, 9,510 forks, and 364 contributors. It is actively developed with 2,832 commits in the last 12 months. The latest release, @mermaid-js/examples@2.1.0, was published on Nov 13, 2026. On npm it is downloaded about 26.8M times per week.
Its GitHub description: Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
GitHub topics: documentationflowchartjavascripttypescriptuml-diagramsdiagramsdiagrams-as-codemindmap
Install
Development activity
Commits per month to the default branch over the last 12 complete months.
Show data as a table
| Month | Commits |
|---|---|
| Nov 2025 | 143 |
| Dec 2025 | 61 |
| Jan 2026 | 89 |
| Feb 2026 | 186 |
| Mar 2026 | 230 |
| Apr 2026 | 277 |
| May 2026 | 435 |
| Jun 2026 | 327 |
| Jul 2026 | 75 |
| Aug 2026 | 331 |
| Sep 2026 | 303 |
| Oct 2026 | 375 |
Popularity among Diagrams as code
Show data as a table
| Tool | Stars |
|---|---|
| Mermaid | 91,143 |
| Diagrams | 42,818 |
| D2 | 25,859 |
| PlantUML | 13,425 |
| Markmap | 13,260 |
| flowchart.js | 8,701 |
| Penrose | 8,014 |
Alternatives to Mermaid
-
Diagrams
Diagram as code in Python for prototyping cloud system architectures.
-
D2
Declarative diagram scripting language that turns text into diagrams.
-
PlantUML
Generates UML, Gantt, mind map and other diagrams from plain text.
-
Markmap
Builds interactive mind maps from Markdown.
-
flowchart.js
Draws SVG flowcharts from a textual description.
-
Penrose
Creates diagrams from mathematical notation in plain text, from Carnegie Mellon University.
More comparisons: Diagrams vs Mermaid · D2 vs Mermaid · Mermaid vs PlantUML · Markmap vs Mermaid · Graphviz vs Mermaid
Mermaid FAQ
Is Mermaid open source?
Is Mermaid still maintained?
How do I install Mermaid?
npm install mermaid.What are the best alternatives to Mermaid?
What language is Mermaid written in?
Data: GitHub API, npm. Updated Nov 18, 2026.