MERMAID WORKBENCH

Mermaid Code

Write code on the left and see your diagram update in real time on the right.

M diagram.mmd ×
Preview
COLOR THEME
MERMAID

diagram.mmd

1 line UTF-8   Mermaid
PREVIEW

Diagram preview

Rendering diagram…

Ready to render

QUICK START

Build a Mermaid diagram
in three steps.

  1. 1

    Declare the diagram type

    Start with a type such as sequenceDiagram or flowchart.

  2. 2

    Describe the relationships

    Write participants, nodes, and connections as text to update the live preview.

  3. 3

    Export an image

    Use SVG for vector editing and PNG for documents or sharing.

ONE EDITOR, MANY FLOWS

Turn ideas into clear
diagrams.

Map service architecture, system communication, workflows, and data structures with Mermaid in one focused editor.

01

Sequence

API communication and user journeys

02

Flowchart

Processes and decisions

03

Class

Objects and data relationships

04

State

State changes and transitions

FAQ

Frequently asked questions

Is my code stored on a server?+

No. Your code is processed in the browser, and autosaved data stays on this device.

What diagrams can I create?+

You can use Mermaid syntax for sequence, flowchart, class, state, ER, Gantt, pie, and more.

Can I edit downloaded SVG files?+

Yes. Open SVG files in Figma, Illustrator, Inkscape, or another vector editor.

CUSTOM PALETTE

Custom diagram colors

Choose colors for nodes, lines, accents, and text.