A JavaScript library that turns Markdown-like text into flowcharts, sequence diagrams, Gantt charts and more.
Flowcharts, sequence, ER and Gantt diagrams from code that diffs cleanly in version control.
Mermaid renders diagrams from a short text syntax, so documentation diagrams live in Markdown and update with the code. It suits developers and technical writers; it is not a drag-and-drop drawing tool.
You write a definition such as a flowchart or sequence diagram and Mermaid renders it as SVG in the page. The README lists 20+ diagram types including class, state, ER, Gantt, pie, Git graph, mindmap, timeline and Sankey, and GitHub renders Mermaid code blocks natively.
It suits developers, architects and docs teams who keep diagrams next to code and want reviewable diffs. It does not suit people who want to arrange shapes by hand; layout is automatic and fine control takes work.
Flowchart, sequence, class, state, ER, Gantt, pie, Git graph, mindmap, timeline, Sankey and more.
Diagrams are plain text, so they diff and review like code.
Mermaid code blocks render directly in Markdown on GitHub.
Prototype at mermaid.live without installing anything.
A security level renders diagrams in a sandboxed iframe so scripts in user text cannot run.
Themes, colors, fonts and layout direction are configurable.
The library is MIT-licensed and free to embed. Mermaid.ai, the company's hosted product, lists Basic (free, 3 diagrams), Plus at $10 per user per month and Premium at $20 per user per month, billed annually, and Enterprise on custom pricing (https://mermaid.ai/pricing).
870 open remote AI-training roles, updated November 14, 2026; most pay $20–$170 an hour. Zekai lists them free; the application goes to the employer’s platform.
No for GitHub Markdown and the live editor. For your own site you add the mermaid package from npm or a CDN.
The README says text from the public can contain scripts, and describes a sandboxed iframe security level that stops JavaScript in the diagram from running.
Its pricing page shows Basic free, Plus at $10 per user per month and Premium at $20 per user per month billed annually; the open-source library stays MIT.
See Zekai first in Google