Monaco editor, instant rendering, and a visual mode that keeps code and canvas in sync.
Diagram as code means your diagrams live next to your code: reviewable in pull requests, diffable, and safe in version control. The Mermaid Chart editor gives you a professional coding experience (Monaco, the VS Code engine) with instant preview — plus drag-and-drop editing when you prefer pointing at things.
Syntax highlighting and the same engine as VS Code.
Every keystroke re-renders the diagram.
Drag a node, the code updates — and vice versa.
Text sources are small, mergeable and auditable. Teams keep diagrams in Git, review them like code, and never lose history.
Start coding immediately in the browser — free plan includes the full editor with 3 saved diagrams.
Free plan includes the full editor — no credit card required.
Create Your First Diagram Free