# Mermaid

> Generate diagrams and charts from Markdown-like text

Source: https://talira.ai/catalog/mermaid-6867qch4
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [design / diagramming](https://talira.ai/categories/design/diagramming)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [Mermaid](https://talira.ai/orgs/mermaid-js.md)
- Creator: Knut Sveidqvist

Mermaid is a JavaScript library that renders diagrams and charts from Markdown-inspired text definitions, so diagrams live as text beside the code and docs, diff cleanly in version control and stay easy to update. It has more than 20 diagram types, among them flowcharts, sequence, class, state and entity relationship diagrams, Gantt charts, pie charts, Git graphs, mindmaps, timelines, Sankey, C4, Kanban and architecture diagrams. GitHub renders Mermaid code blocks in Markdown natively, many other tools integrate it, and the Mermaid Live Editor lets anyone write and preview diagrams in the browser.

## Links

- Website: https://mermaid.js.org/
- GitHub: https://github.com/mermaid-js/mermaid
- Docs: https://mermaid.js.org/intro/

## Problems it solves

- draw flowcharts and sequence diagrams as text in my Markdown docs
- keep architecture diagrams in the repo so they're reviewed in pull requests
- render diagrams in a GitHub README without exporting images
- generate diagrams from code in a JavaScript app
- let an agent draw a diagram I can paste into documentation

## Features

- 20+ diagram types: flowchart, sequence, class, state, ER, Gantt, pie, Git graph, mindmap, timeline, Sankey and more
- Markdown-inspired text syntax
- renders natively in GitHub Markdown
- Mermaid Live Editor in the browser
- embeddable JavaScript API

## Trust

Overall: 0.35 out of 1.
Signals: backing 0.50, extensibility 0.00.

- has a company behind it
- created by Knut Sveidqvist

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Next AI Draw.io](https://talira.ai/catalog/next-ai-draw-io-20xfy40h.md): Draw and edit draw.io diagrams by chatting with an AI.
- [Graphviz](https://talira.ai/catalog/graphviz-vpswh7h8.md): Open source graph visualization software
- [draw.io](https://talira.ai/catalog/draw-io-zqn3m3b0.md): Security-first diagramming for teams
- [MCP Mermaid](https://talira.ai/catalog/mcp-mermaid-rvrfcgzx.md): Generate Mermaid diagrams and charts with AI through MCP
- [Excalidraw](https://talira.ai/catalog/excalidraw-q4cmrz82.md): Virtual whiteboard for sketching hand-drawn like diagrams
- [drawDB](https://talira.ai/catalog/drawdb-cat92qsp.md): Free, simple, and intuitive database schema editor and SQL generator

## Sources

[^1]: https://github.com/mermaid-js/mermaid/blob/develop/LICENSE (checked 24 Nov 2026)
