Getting Started with Mermaid
New to Mermaid? Start here. Learn the fundamentals and create your first diagram in minutes.
Mermaid is a text-based diagramming tool. Write simple text syntax, and it renders as professional diagrams. It's perfect for documentation because diagrams live in your codebase as text.
flowchart LR
Text[Write Text] --> Render[Mermaid Renders]
Render --> Diagram[Beautiful Diagram]Live Editor
More Tutorials
All tutorialsFlowchart Syntax Guide — Nodes, Arrows & Subgraphs
Master Mermaid flowchart syntax with this interactive guide. Learn node shapes, connections, and advanced features.
Mermaid Sequence Diagram with Examples
Copy a Mermaid sequenceDiagram and edit it in the browser. The examples below cover participants, solid and dashed messages, activation, loops, and alt fragments.
Mermaid Gantt Chart Examples to Copy
Copy a Mermaid Gantt chart and change the dates. These examples cover task ids, after dependencies, done and critical states, milestones, and excludes weekends.
ER Diagram Tutorial — Entities, Keys & Relationships
Design database schemas visually with Mermaid ER diagrams. Learn entity declarations, attribute types, relationships, and cardinality notation.