Your diagram. Drawn as you type.
Write Mermaid code and see the diagram redraw as you go. Start from a flowchart, sequence diagram, Gantt chart or mind map, then copy it for Obsidian or download it as SVG or PNG.

What it does
Diagrams, without drawing boxes.
Writing the rest of the note? The Markdown cheat sheet has every syntax on one page.
- Live preview
- The diagram redraws a moment after each edit. A mistake shows Mermaid’s message and its line, and the last good drawing stays.
- Nine diagram types
- Start from a flowchart, sequence, class, state, entity relationship, Gantt, pie, mind map or timeline, in four themes.
- Copy or download
- Copy a ```mermaid code block that Obsidian and GitHub draw, or download the diagram as SVG or PNG.
Questions.
How do I add a Mermaid diagram to Obsidian?
Put the code in a fenced code block that starts with ```mermaid on its own line and ends with ```. Obsidian draws it in Reading view and in Live Preview. Copy for Obsidian copies the whole block, ready to paste into a note.
Why does my diagram show an error?
Mermaid stops at the first line it can’t read and the editor shows that line. Common causes are a missing arrow, an unclosed bracket or quote, and a node named end in lowercase, which Mermaid reads as a keyword. Write End or put it in quotes.
Will it look the same in Obsidian?
Mostly. Obsidian ships its own Mermaid version and applies its own theme, so colours and spacing can differ, and a diagram type newer than Obsidian’s Mermaid may not draw there yet.
Can I save the diagram as an image?
Yes. Download SVG keeps it sharp at any size. Download PNG saves it at twice its size on screen, on a white or dark background to match the theme.
Is my diagram uploaded?
No. The diagram is drawn in your browser and isn’t uploaded or stored.
Does it cost anything?
No. It’s free, with no account and no sign-up.
Other free tools: Markdown table generator, Markdown cheat sheet, Markdown viewer, Markdown to PDF, Markdown to Word, Markdown formatter, Markdown to HTML, Markdown to text, Markdown editor, Markdown to Google Docs, LaTeX equation editor, Markdown link generator, Obsidian canvas viewer, PDF to Markdown, Word to Markdown, HTML to Markdown, ChatGPT to Markdown, Evernote to Markdown, Notion to Obsidian.