# Diagrams vs Mermaid

## Key differences

- Mermaid has 2.1× as many GitHub stars as Diagrams (90.5K vs 42.7K).
- Mermaid had more development activity over the last 12 months: 2,472 commits vs 48.
- Both are released under the MIT license.
- Diagrams is written primarily in Python, Mermaid in TypeScript.
- Mermaid is the older project: its repository was created in 2014, Diagrams's in 2020.

| | Diagrams | Mermaid |
|---|---|---|
| Description | Diagram as code in Python for prototyping cloud system architectures. | Generate diagrams and flowcharts from markdown-like text definitions, with a live editor. |
| GitHub stars | 42,673 | 90,531 |
| Commits (12 months) | 48 | 2,472 |
| Contributors | 178 | 365 |
| License | MIT | MIT |
| Language | Python | TypeScript |
| Status | Active | Active |
| Install | `pip install diagrams` | `npm install mermaid` |

Source: https://awesomedataviz.com/compare/diagrams-vs-mermaid/ · Data updated 2026-10-04 · Content: CC BY 4.0, Awesome Dataviz (https://awesomedataviz.com).
