Online Mermaid Diagram Editor - Flowchart, Sequence, ER & Gantt
Online Mermaid editor: draw flowcharts, sequence diagrams, class diagrams, ER diagrams, Gantt charts and mind maps with plain text, preview in real time and export SVG or PNG — rendered locally in your browser.
Supports flowchart, sequenceDiagram, classDiagram, stateDiagram, erDiagram, gantt, pie, gitGraph, mindmap and timeline. Rendering runs locally.
Enter Mermaid syntax on the left to preview the diagram here
Diagrams are rendered in your browser. Your code never leaves this device.
About This Tool
This online diagram tool is built on Mermaid syntax: a few lines of text produce flowcharts, sequence diagrams, class diagrams, ER diagrams, state diagrams, Gantt charts and mind maps — no canvas dragging and no design software required.
Product teams can map user flows, engineers can sketch architecture and data models, and marketers can plan campaign timelines. Because diagrams are text, they can live in version control alongside your docs. Rendering happens in your browser and your code is never uploaded.
Key Features
Ten diagram types
Flowchart, sequence, class, state, ER, Gantt, pie, Git graph, mind map and timeline in one place.
Live preview
Edit on the left and the diagram refreshes on the right; syntax errors point to the failing line.
Theme switching
Light, dark, forest and neutral themes so exported images match your documents.
SVG and high-res PNG
Export editable SVG source or a 2x PNG ready for slides and articles.
Starter templates
Ten ready-made examples — replace node labels to fit your own business.
When to Use It
Product flow mapping
Chart order, approval and refund branches and present them directly in reviews.
API integration sequences
Align call order and error paths between frontend and backend before coding.
Technical design and planning
Explain data models with ER diagrams and release rhythm with Gantt charts.
How to Use It
- 1Pick the diagram type you need from the template dropdown.
- 2Edit the Mermaid syntax on the left with your own nodes and edges.
- 3Check the live preview on the right and fix any line reported in the error message.
- 4Choose a theme and export SVG or PNG, or copy the SVG source into your page.
Frequently Asked Questions
Do I need to install anything or sign in?
No. Open the page and start editing; the render engine loads on demand.
Is my code uploaded?
No. Rendering runs entirely in your browser and your code never leaves the device.
Which diagram types are supported?
flowchart, sequenceDiagram, classDiagram, stateDiagram, erDiagram, gantt, pie, gitGraph, mindmap and timeline.
Can I keep editing the exported image?
SVG files can be edited in design tools; PNG is best for documents and slides.
