Mermaid to Excalidraw converter
Paste Mermaid syntax and get a hand-drawn diagram you can keep editing: every node becomes a real Excalidraw shape, every edge a bound arrow.
Loading the renderer…
Runs in your browser. Nothing you type or drop here is uploaded.
How to use it
Paste your Mermaid definition into the editor, or start from one of the examples.
Check the hand-drawn preview. It re-renders as you type and shows Mermaid's own error message if the syntax is off.
Open the result in the whiteboard to restyle it, or download it as .excalidraw, SVG or PNG.
What converts to editable shapes
Flowcharts, sequence diagrams, class diagrams, ER diagrams and state diagrams are rebuilt from Excalidraw rectangles, diamonds, ellipses, text and arrows. Arrows stay attached to their shapes, so dragging a node keeps the diagram connected. Other Mermaid diagram types, such as Gantt charts and pie charts, are placed on the canvas as an image: they look right but are not editable shape by shape.
Why convert at all
Mermaid is good for diagrams that live next to code and are generated from text. Excalidraw is good for diagrams people need to rearrange, annotate and present. Converting lets you draft the structure in text, then finish it by hand: move a box, add a note, highlight the path you are talking about.
Your diagram stays on your device
Conversion runs in your browser using the open-source mermaid-to-excalidraw library. Nothing you paste is uploaded.
Questions
- Is the output a real Excalidraw file?
- Yes. The download is a standard .excalidraw file that opens in excalidraw.com, the Excalidraw VS Code and Obsidian plugins, and in the whiteboard on this site.
- Which Mermaid diagram types are supported?
- Flowchart, sequence, class, ER and state diagrams convert to editable shapes. Any other type that Mermaid can render is inserted as an image.
- Can I convert Excalidraw back to Mermaid?
- Not with this tool. A free-form drawing does not map cleanly back to Mermaid's grammar. If you want both, keep the Mermaid source as the original and treat the Excalidraw version as the presentation copy.
- Why does my diagram show an error?
- The message comes from Mermaid's parser. The most common causes are a missing diagram keyword on the first line, unbalanced brackets in a node label, and special characters in labels that need double quotes.