Mermaid to Excalidraw converter

Paste Mermaid code and turn it into an Excalidraw drawing. Flowcharts arrive as hand-drawn shapes and bound arrows you can drag around and restyle. Free, no sign-up, and it runs in your browser.

flowchart LR
    A[Idea] --> B{Worth it?}
    B -->|Yes| C[Sketch it]
    B -.->|Later| D[(Backlog)]
    C ==> E((Ship))
Loading the tool…

How to do it

  1. Step 1

    Paste your code

    Paste your Mermaid code into the box above.

  2. Step 2

    Check the preview

    Check the preview.

  3. Step 3

    Copy or download

    Click Copy for Excalidraw, or download the .excalidraw file.

  4. Step 4

    Open in Excalidraw

    Paste onto an Excalidraw canvas, or open the file from the menu.

Why Excalidraw

A hand-drawn look tells people the diagram is a sketch, open to discussion, rather than a finished design. That makes Excalidraw a natural place to take a Mermaid flowchart into a whiteboard session or a design review.

Everything stays connected

Labels are bound to their shapes and arrows are bound to the shapes they connect. Move a box and its label and arrows follow, just as if you had drawn it in Excalidraw yourself.

What this does not do

  • Only flowcharts become editable shapes; other diagram types come across as one image.
  • Excalidraw has three basic shapes, so cylinders, hexagons and other Mermaid shapes become rectangles or ellipses.
  • Arrows are straight lines between shapes; add bends in Excalidraw if you need them.

Frequently asked questions

How do I get the diagram into Excalidraw?

Click Copy for Excalidraw, then click on an Excalidraw canvas and paste. Or download the .excalidraw file and open it from Excalidraw's menu with Open.

Excalidraw can import Mermaid. Why use this?

Excalidraw's own Mermaid import (the "Mermaid to Excalidraw" dialog) works for flowcharts too. This converter gives you a file you can keep, share or open in tools that read .excalidraw, such as the Excalidraw plugins for VS Code and Obsidian.

Which diagrams become editable?

Flowcharts become native rectangles, diamonds, ellipses and arrows, with labels bound to their shapes and arrows bound to the shapes they connect, so everything moves together. Other diagram types are added as an image.

Is my diagram sent to a server?

No. The conversion runs in your browser and the file is created on your machine.

More Mermaid tools

All tools