Mermaid flowchart editor. From code to a diagram you can edit.
Choose Import → Mermaid code, paste a Mermaid flowchart, and it becomes ordinary shapes and arrows you can drag, restyle and export. Export → Mermaid code turns it back into text.
Drag a shape here from the left,
or double-click anywhere to add a step.
How to turn Mermaid code into a flowchart
- Copy your Mermaid flowchart.It must start with
flowchartorgraph. Other Mermaid diagram types aren’t supported. - Choose Import → Mermaid code.Paste the code and click Import. Each node becomes a shape and each link an arrow.
- Tidy it up.Drag shapes, change colours, or use Arrange to lay it out again.
- Export.Download PNG, SVG or PDF, or choose Export → Mermaid code to copy it back as text for a README or docs.
What it does
| Account | Not needed. No sign-up, no trial |
|---|---|
| Shapes | Start/end, process, decision, input/output, document, database, connector, sub-process, circles, text |
| Arrows | Stay attached when shapes move, route around shapes, labels, dashed lines |
| Swimlanes | Horizontal and vertical lanes; shapes inside move with their lane |
| Editing | Snap to grid, undo and redo, zoom and pan, multi-select, copy and paste, keyboard shortcuts |
| Export | PNG (1×, 2×, transparent), SVG and PDF, with no watermark |
| Share | View-only link with expiry, and embed code for blogs and docs |
| Mermaid | Import Mermaid flowchart code, and export back to Mermaid |
| Limits | No cap on diagrams or shapes; diagrams save in this browser |
Mermaid flowchart syntax
A small example. Paste it into Import → Mermaid code to try it.
flowchart TD
A([Start]) --> B[Fill in the form]
B --> C{All fields valid?}
C -->|Yes| D[(Save to database)]
C -- No --> B
D --> E([End])
What each part of the syntax does in Mermaid, and what it becomes here. The Mermaid terms come from the official flowchart documentation[1].
| Mermaid code | In Mermaid | In our editor |
|---|---|---|
flowchart TD or graph LR | First line. The direction is TB or TD (top to bottom), BT, LR or RL. | Supported |
A[Text] | Rectangle (process) | Process box |
A([Text]) | Stadium shape | Start/end oval |
A{Text} | Rhombus | Decision diamond |
A[/Text/] | Parallelogram | Input/output |
A[(Text)] | Cylinder | Database |
A[[Text]] | Subroutine | Subprocess |
A((Text)) | Circle | Oval (a circle with a short label becomes a connector) |
A(Text), A{{Text}} | Round edges, hexagon | Process box |
A --> B | Link with an arrow head | Arrow |
A --- B | Open link | Line with no arrow head |
A -.-> B | Dotted link | Dashed arrow |
A ==> B | Thick link | Normal arrow |
A -->|Yes| B or A -- Yes --> B | Text on a link | Arrow label |
A --> B --> C, a --> b & c | Several links on one line | Supported |
subgraph Sales … end | Subgraph | A swimlane |
%% note | Comment, on its own line | Ignored |
Mermaid is open source under the MIT licence[2]. notepadsuite is not affiliated with the Mermaid project.
- Mermaid: Flowcharts – Basic Syntax, checked 3 December 2026
- mermaid-js/mermaid on GitHub, checked 3 December 2026
Questions
What is a Mermaid flowchart?
Mermaid is an open-source tool that draws diagrams from text. A Mermaid flowchart starts with flowchart (or graph) and a direction, then lists nodes and the links between them, such as A[Start] --> B[Next step].
Why does my Mermaid flowchart break on the word “end”?
Mermaid’s documentation says that typing “end” in all lowercase letters in a node breaks a flowchart. Capitalise it (End or END).
Does it keep Mermaid styles?
No. classDef, style, linkStyle and click lines are skipped; colour shapes in the editor instead.
Where are my diagrams saved?
In this browser’s local storage, on this device, a moment after each change. They are not uploaded unless you create a share link. Open My diagrams to switch between them. Clearing your browser data deletes them, so export a .json file to keep a copy.
Can I export without a watermark?
Yes. PNG, transparent PNG, SVG and PDF exports have no watermark or logo. The PDF holds a high-resolution image of the diagram; use SVG when you need vector graphics.