Skip to content

Search

Articles, tools, solutions and knowledge base guides

Start typing to search across articles, tools and apps.

Mermaid editor

MEMBERS

Write Mermaid and see it drawn, or draw and see it written. Lines that are not understood are named, and nothing is lost without a word.

Free to use Files need an account Privacy protection

Diagram

Diagram

Full stop and comma move between shapes, arrows move the selected one, Enter writes its text, C starts a connection, Delete removes. Capital R, D, O, B, T, N, F or S adds a shape. K folds, P shows what leads to the shape, Command or Control with F searches.

Source, live both ways

Source, live both ways

What Mermaid can hold

What Mermaid can hold

    What Mermaid cannot hold is kept in the project. Editing the code changes only what the code says.

    Look

    Shapes

    Connections

    Paste code

    Export the diagram

    Every file is made in this browser.

    Icons and pictures

    SVG, PNG, JPEG or WebP up to 120 KB. The picture stays in this browser and in the diagram.

    Presentation in steps

      Each step brings its shapes and the connections between everything that is there by then. The arrow keys go through the steps, Escape ends.

      Saved work and templates

      On this device

      Nothing has been saved yet.

        Templates

        Found a bug or missing something? Write to us

        How it works

        Working with Mermaid

        The first line says what is drawn: flowchart LR, sequenceDiagram, classDiagram, erDiagram, stateDiagram, mindmap or timeline. Select a shape and its line is marked, put the caret in a line and its shape is selected.

        An edit of the code changes only what it says. Shapes keep the places you gave them, a new shape is put beside the one it is connected to, and notes stay.

        Styling by class, links on shapes and subgraphs inside subgraphs have no equivalent here. Such lines are listed, so you know what would be missing before you paste the code back.

        Help

        FAQ

        Can code that starts with graph instead of flowchart be used?

        Yes. graph and flowchart are read with TB, TD, BT, LR or RL. The canvas knows only two directions, so the code is written back as flowchart TD or flowchart LR, and a chart that ran from bottom to top or from right to left is turned round.

        How are thick, dotted and invisible links written?

        --> is an ordinary arrow, ==> a thick one and -.-> a dotted one; --- and -.- have no arrowhead, and --o ends in a circle. The two widest lines of the tool are written as thick. An invisible link, ~~~, is read but not drawn.

        Can Mermaid be pasted straight from a Markdown file?

        Yes. Lines with ``` fences are skipped, so a whole mermaid code block can be pasted, and so are %% comments and the settings block between two --- lines at the top. Paste code then opens it as a new diagram or brings the changes in.

        Opening files needs an account

        Typing and pasting work without an account. To open or drop a file, sign in to your POLPROG account or create one in under a minute. Files are still processed only in this browser.

        • Secure access
        • Account in under a minute