Mermaid Diagram Editor
Write Mermaid, see the diagram live, colour it and export PNG or SVG
calendar_today Last updated: November 19, 2026
Runs entirely in your browser: the code is never sent to a server, and a share link carries the diagram itself.
Sahel's Mermaid editor turns code into a diagram as you type — flowcharts, sequence diagrams, ERDs, state machines, Gantt charts, mind maps and more — with colour palettes, click-to-colour nodes, a canvas that zooms and pans freely, and PNG, SVG and share-link export, all inside your browser.
How does this tool work?
Write code or pick a template
Flowchart, sequence, ERD, Gantt and more — drawn as you type.
Colour it and look around
Ready or custom palettes, click any node to colour it, zoom and pan freely.
Export or share
High-resolution PNG, SVG, or a link that carries the diagram itself.
Frequently asked questions
What is Mermaid? expand_more
Which diagrams are supported? expand_more
How do I colour a single node? expand_more
Does Arabic text survive export? expand_more
Is my code uploaded? expand_more
Related tools
JSON Formatter & Validator
Format and validate JSON, with the error pinned to a line and column
Base64 Encoder & Decoder
Convert text to Base64 and back, with full Arabic support
Hash Generator
Compute MD5, SHA-1, SHA-256 and SHA-512 for any text or file
JWT Decoder
Read a token’s header, claims and expiry