Getting Started with Mermaid Diagrams

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

Mermaid Visualizer
Mermaid Code
Loading Monaco Editor...
Preview