notepadsuite

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.

Loading…Double-click to add · drag the blue dots to connect · scroll to pan, Ctrl+scroll to zoom

Import Mermaid code

Paste a Mermaid flowchart: code that starts with flowchart or graph. It opens as a new diagram you can edit. Subgraphs become lanes; styles and classes are ignored.

Text to diagram

Steps: one step per line. Lines that start with Start or End become start/end shapes, and a line ending in ? becomes a decision; indent its branches as Yes: … and No: …. Write Go to … to loop back. Hierarchy: indent each line under its parent, for org charts and trees.

Make a

Mermaid code

Paste this into any tool that renders Mermaid, such as a Markdown file on GitHub. Colours and exact positions aren’t part of Mermaid, so they aren’t included.

How to turn Mermaid code into a flowchart

  1. Copy your Mermaid flowchart.It must start with flowchart or graph. Other Mermaid diagram types aren’t supported.
  2. Choose Import → Mermaid code.Paste the code and click Import. Each node becomes a shape and each link an arrow.
  3. Tidy it up.Drag shapes, change colours, or use Arrange to lay it out again.
  4. 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

AccountNot needed. No sign-up, no trial
ShapesStart/end, process, decision, input/output, document, database, connector, sub-process, circles, text
ArrowsStay attached when shapes move, route around shapes, labels, dashed lines
SwimlanesHorizontal and vertical lanes; shapes inside move with their lane
EditingSnap to grid, undo and redo, zoom and pan, multi-select, copy and paste, keyboard shortcuts
ExportPNG (1×, 2×, transparent), SVG and PDF, with no watermark
ShareView-only link with expiry, and embed code for blogs and docs
MermaidImport Mermaid flowchart code, and export back to Mermaid
LimitsNo 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 codeIn MermaidIn our editor
flowchart TD or graph LRFirst line. The direction is TB or TD (top to bottom), BT, LR or RL.Supported
A[Text]Rectangle (process)Process box
A([Text])Stadium shapeStart/end oval
A{Text}RhombusDecision diamond
A[/Text/]ParallelogramInput/output
A[(Text)]CylinderDatabase
A[[Text]]SubroutineSubprocess
A((Text))CircleOval (a circle with a short label becomes a connector)
A(Text), A{{Text}}Round edges, hexagonProcess box
A --> BLink with an arrow headArrow
A --- BOpen linkLine with no arrow head
A -.-> BDotted linkDashed arrow
A ==> BThick linkNormal arrow
A -->|Yes| B or A -- Yes --> BText on a linkArrow label
A --> B --> C, a --> b & cSeveral links on one lineSupported
subgraph Sales … endSubgraphA swimlane
%% noteComment, on its own lineIgnored

Mermaid is open source under the MIT licence[2]. notepadsuite is not affiliated with the Mermaid project.

  1. Mermaid: Flowcharts – Basic Syntax, checked 3 December 2026
  2. 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.