Going Stellar

Home/Free tools

Free tool

Mermaid editor online

Type Mermaid on the left and the diagram appears on the right as you type. Export it as SVG or PNG, on a light or dark background. It runs in your browser: the diagram text is not uploaded anywhere.

Use Mermaid diagrams inside Confluence → Mermaid StudioFree for up to 10 users.Mermaid Studio for Jira: in Marketplace review
Theme
Mermaid code
Preview 100%
Runs in your browser. No upload, no account.

What it is and how to use it

Mermaid is a text syntax for diagrams: you describe boxes and arrows in a few lines, and the diagram is drawn from them. Pick an example to start, edit the code, then download the result.

  • The preview redraws a quarter of a second after you stop typing. Ctrl/⌘ + Enter redraws at once.
  • When the code has a mistake, the line number turns red and the error says what Mermaid expected. The last diagram that worked stays visible, faded.
  • The theme switch changes the diagram colours. The export is what you see in the preview.
  • The share link carries the whole diagram, compressed, after the #. Browsers do not send that part of a link to the server.
  • Your draft is kept in this browser, so a reload does not lose it.
  • The example list also has Gantt and timeline templates: a two-week sprint, a quarterly roadmap, a release plan with dependencies, a plan that skips weekends and public holidays (excludes) and a timeline of Jira epics. Change the dates and names, the layout follows.

Questions and answers

Is my diagram sent to a server?

No. The diagram is drawn in your browser. The page does not send the diagram text anywhere; the draft is saved only in this browser, and the share link keeps the diagram after the #, which browsers do not send to servers.

Which diagram types does it support?

Everything Mermaid 12.3.0 supports. The examples cover flowcharts, sequence, class, state and entity relationship diagrams, Gantt and pie charts, mind maps, timelines and Git graphs.

Can I use the exported images in my own work?

Yes. The diagrams are yours. Mermaid, the open-source library that draws them, is MIT-licensed.

SVG or PNG?

SVG stays sharp at any size and suits documents and wikis. PNG is exported at twice the on-screen size and suits slides and chat.

Does it work on a phone?

Yes. On a narrow screen the code and the preview stack one under the other.

Guides that use this tool