What is Mermaid?

Most diagramming tools make you place and connect things by hand. That works until something changes — a process gets a new step, a team restructures, a system gets more complex. At that point you’re not updating a diagram, you’re redrawing one.

Mermaid works differently. You write a plain text description of what you want to show, and Mermaid renders it as a diagram. Change a line of text, the diagram updates. No repositioning, no realigning, no starting over.

How it works

You write plain text syntax in the editor. Mermaid renders it as a diagram in real time. If you’d rather not write syntax yourself, describe what you want to Mermaid AI and it’ll generate the code for you.

The Mermaid editor with a CO2 cycle flowchart in the code panel and the rendered diagram alongside it

A simple flowchart syntax looks like this:

flowchart LR
    A[Start] --> B[Review request] --> C{Approved?}
    C -->|Yes| D[Move forward]
    C -->|No| E[Send feedback]

What you can build

Mermaid supports over a dozen diagram types. A few of the most common:

Diagram typeBest for
FlowchartProcesses, workflows, decision trees
Sequence diagramHow systems or people interact over time
Entity relationship diagramData models, database structure
Gantt chartProject timelines and scheduling
MindmapIdeas, hierarchies, brainstorming
State diagramSystem states and transitions
Org chartTeam structure and reporting lines

Full syntax reference for every diagram type lives in the Mermaid OSS docs →

Where your diagrams live

Mermaid connects to the tools your team already uses — in both directions. Create and edit diagrams from inside VS Code, Confluence, or Jira and sync them back to Mermaid.

Or build in Mermaid and push directly into a Google Doc, a Confluence page, or a Jira ticket. When the diagram updates, it updates everywhere. No re-exporting, no stale screenshots, no broken attachments.

Explore all plugins →

Want to give it a try?

Start on the Basic plan for free: create up to 3 diagrams, try limited AI, and get a feel for the editor. When you’re ready to do more, Plus gives you unlimited diagrams and 300 AI credits per year. See all our plans.

Start your free trial →

Ready to build?