The smartest way to author Mermaid diagrams
Semantic highlighting. Code intelligence. Live editing. MCP tools. Fully offline.
Looking for the full experience? See pricing
Built on deep semantic understanding
Custom parsers for every diagram type power deep code intelligence that text editors can't match.
Drag-and-Drop Visual Editing
Build and edit flowcharts visually with a live editor that writes Mermaid code for you. Add nodes, drag to connect, restyle with a click. The editor treats your file as the source of truth, making targeted edits that preserve comments and formatting.
AI-Powered Generation
MCP tools leverage Mermaid Studio's code intelligence, empowering AI assistants to generate valid diagrams autonomously. Works with Claude, Copilot, Cursor, and more.
Smart Completion
Suggests existing nodes, valid keywords, and structural elements based on context.
Live Preview
See your diagram render in real-time. Click any element to jump to its definition.
Safe Refactoring
Rename any element and all references update automatically.
Real-time Validation
Catch errors as you type. Semantic analysis goes beyond basic syntax checking.
Export & Sync
Generate PNG or SVG. Auto-sync keeps exported files updated when your diagram changes.
Markdown Integration
Full code intelligence inside Markdown code fences. Completions, validation, refactoring, and element styling all work inline.
Semantic highlighting and live preview for every Mermaid diagram
All 26 native diagram types get rich syntax highlighting and live preview. More complex types like Flowchart, Sequence, and Class also get completions, validation, and refactoring.
Flowchart
Sequence
C4 Context
ER Diagram
Gantt
State Works with every JetBrains IDE
JetBrains and the JetBrains IDE logos are trademarks of JetBrains s.r.o.
New to IntelliJ? Get started for free.
Setup guide